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$ $Date$
-
-
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
-
-