lumis.util.security.acl.serialization
Class AclDependencyAnalyzer
java.lang.Object
lumis.portal.serialization.operation.ConfigDependencyAnalyzer<AccessControlList>
lumis.util.security.acl.serialization.AclDependencyAnalyzer
public class AclDependencyAnalyzer
- extends ConfigDependencyAnalyzer<AccessControlList>
Responsible for analyze foreign key dependencies of a ACL being deserialized.
- Since:
- 4.0.9
Method Summary |
void |
analyze(IConfigPersister configPersister)
Analyze the original config, generating a persistable config and scheduling the persistence
of original config to be performed after the dependencies were resolved. |
boolean |
foreignKeysExists()
Verify that all foreign key mapped values match persisted objects |
AccessControlList |
getMappedPersistableConfig()
Returns a mapped cloned of the persistable config, which, in turn, represents a clone of original config, with its foreign keys updated to be non-violated. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
entryForeignKeys
protected final List<ConfigForeignKey> entryForeignKeys
AclDependencyAnalyzer
public AclDependencyAnalyzer(DeserializationContext deserializationContext,
List<ConfigForeignKey> aclForeignKeys,
List<ConfigForeignKey> aclEntryForeignKeys,
AccessControlList originalConfig)
analyze
public void analyze(IConfigPersister configPersister)
- Description copied from class:
ConfigDependencyAnalyzer
- Analyze the original config, generating a persistable config and scheduling the persistence
of original config to be performed after the dependencies were resolved. It also determines
if the persistable config can be persisted.
- Overrides:
analyze
in class ConfigDependencyAnalyzer<AccessControlList>
foreignKeysExists
public boolean foreignKeysExists()
- Description copied from class:
ConfigDependencyAnalyzer
- Verify that all foreign key mapped values match persisted objects
- Overrides:
foreignKeysExists
in class ConfigDependencyAnalyzer<AccessControlList>
- Returns:
- true, if all foreign key mapped values match persisted objects.
getMappedPersistableConfig
public AccessControlList getMappedPersistableConfig()
- Description copied from class:
ConfigDependencyAnalyzer
- Returns a mapped cloned of the persistable config, which, in turn, represents a clone of original config, with its foreign keys updated to be non-violated.
- Overrides:
getMappedPersistableConfig
in class ConfigDependencyAnalyzer<AccessControlList>
- Returns:
- mapped cloned of the persistable config
Lumisportal 5.5.0.091130 - Copyright © 2001-2007, Lumis. All Rights Reserved.