public class PageDependencyAnalyzer extends ConfigDependencyAnalyzer<PageConfig>
canPersist, configForeignKeys, dependencyKeys, deserializationContext, hasViolation, originalConfig, persistableConfig
Constructor and Description |
---|
PageDependencyAnalyzer(DeserializationContext deserializationContext,
List<ConfigForeignKey> configForeignKeys,
PageConfig originalConfig) |
Modifier and Type | Method and Description |
---|---|
protected void |
analyzeForeignKeys()
Analyze the original config, generating a persistable config.
|
boolean |
foreignKeysExists()
Verify that all foreign key mapped values match persisted objects
|
PageConfig |
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, analyze, getCanPersist, getConfigPersistence, getDependencyKeys, getHasViolation, getOriginalConfig, getPersistableConfig, persist, setHasViolation
public PageDependencyAnalyzer(DeserializationContext deserializationContext, List<ConfigForeignKey> configForeignKeys, PageConfig originalConfig)
protected void analyzeForeignKeys()
ConfigDependencyAnalyzer
analyzeForeignKeys
in class ConfigDependencyAnalyzer<PageConfig>
public boolean foreignKeysExists()
ConfigDependencyAnalyzer
foreignKeysExists
in class ConfigDependencyAnalyzer<PageConfig>
public PageConfig getMappedPersistableConfig()
ConfigDependencyAnalyzer
getMappedPersistableConfig
in class ConfigDependencyAnalyzer<PageConfig>
LumisXP 12.4.0.200625 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.