public class AclDependencyAnalyzer extends ConfigDependencyAnalyzer<AccessControlList>
Modifier and Type | Field and Description |
---|---|
protected List<ConfigForeignKey> |
entryForeignKeys |
canPersist, configForeignKeys, dependencyKeys, deserializationContext, hasViolation, originalConfig, persistableConfig
Constructor and Description |
---|
AclDependencyAnalyzer(DeserializationContext deserializationContext,
List<ConfigForeignKey> aclForeignKeys,
List<ConfigForeignKey> aclEntryForeignKeys,
AccessControlList originalConfig) |
Modifier and Type | Method and Description |
---|---|
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.
|
addDependentConfigOperation, analyzeForeignKeys, getCanPersist, getConfigPersistence, getDependencyKeys, getHasViolation, getOriginalConfig, getPersistableConfig, persist, setHasViolation
protected final List<ConfigForeignKey> entryForeignKeys
public AclDependencyAnalyzer(DeserializationContext deserializationContext, List<ConfigForeignKey> aclForeignKeys, List<ConfigForeignKey> aclEntryForeignKeys, AccessControlList originalConfig)
public void analyze(IConfigPersister configPersister)
ConfigDependencyAnalyzer
analyze
in class ConfigDependencyAnalyzer<AccessControlList>
public boolean foreignKeysExists()
ConfigDependencyAnalyzer
foreignKeysExists
in class ConfigDependencyAnalyzer<AccessControlList>
public AccessControlList getMappedPersistableConfig()
ConfigDependencyAnalyzer
getMappedPersistableConfig
in class ConfigDependencyAnalyzer<AccessControlList>
LumisXP 12.3.0.200408 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.