Package lumis.portal.page.serialization
Class PageLayoutUtil
- java.lang.Object
-
- lumis.portal.page.serialization.PageLayoutUtil
-
public abstract class PageLayoutUtil extends java.lang.Object
Utility class for serialization operations related to page layouts- Since:
- 4.0.11
- Version:
- $Revision: 12321 $ $Date: 2011-01-05 10:28:18 -0200 (Wed, 05 Jan 2011) $
-
-
Constructor Summary
Constructors Constructor Description PageLayoutUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
applyIdMappings(DeserializationContext deserializationContext, PageConfig pageConfig)
Apply deserialization id mappings to a page layout.static java.util.Collection<java.lang.String>
getViolatedForeignKeys(DeserializationContext deserializationContext, PageConfig pageConfig)
Returns a collection of service interface instances' identifiers, referenced by the page's layout, that represents violated foreign keys.
-
-
-
Method Detail
-
applyIdMappings
public static void applyIdMappings(DeserializationContext deserializationContext, PageConfig pageConfig)
Apply deserialization id mappings to a page layout.- Parameters:
deserializationContext
-pageConfig
- contains the layout to be mapped
-
getViolatedForeignKeys
public static java.util.Collection<java.lang.String> getViolatedForeignKeys(DeserializationContext deserializationContext, PageConfig pageConfig)
Returns a collection of service interface instances' identifiers, referenced by the page's layout, that represents violated foreign keys.- Parameters:
deserializationContext
-pageConfig
- contains the layout that reference the service interface instances to be checked- Returns:
- collection of referenced service interface instances that do not exist
-
-