Class PageLayoutUtil


  • public abstract class PageLayoutUtil
    extends 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 Detail

      • PageLayoutUtil

        public PageLayoutUtil()
    • 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 Collection<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