lumis.portal.page.serialization
Class PageDependencyAnalyzer
java.lang.Object
lumis.portal.serialization.operation.ConfigDependencyAnalyzer<PageConfig>
lumis.portal.page.serialization.PageDependencyAnalyzer
public class PageDependencyAnalyzer
- extends ConfigDependencyAnalyzer<PageConfig>
Responsible for analyze foreign key dependencies of a page,
in particular layout dependencies to service interface instances.
- Since:
- 4.0.11
Method Summary |
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PageDependencyAnalyzer
public PageDependencyAnalyzer(DeserializationContext deserializationContext,
List<ConfigForeignKey> configForeignKeys,
PageConfig originalConfig)
analyzeForeignKeys
protected void analyzeForeignKeys()
- Description copied from class:
ConfigDependencyAnalyzer
- Analyze the original config, generating a persistable config. It also determines
if the persistable config can be persisted.
- Overrides:
analyzeForeignKeys
in class ConfigDependencyAnalyzer<PageConfig>
foreignKeysExists
public boolean foreignKeysExists()
- Description copied from class:
ConfigDependencyAnalyzer
- Verify that all foreign key mapped values match persisted objects
- Overrides:
foreignKeysExists
in class ConfigDependencyAnalyzer<PageConfig>
- Returns:
- true, if all foreign key mapped values match persisted objects.
getMappedPersistableConfig
public PageConfig 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<PageConfig>
- Returns:
- mapped cloned of the persistable config
Lumisportal 5.5.0.091130 - Copyright © 2001-2007, Lumis. All Rights Reserved.