Class Page

  • All Implemented Interfaces:
    java.io.Serializable, IFileElement, IFileStructureElement

    public class Page
    extends java.lang.Object
    implements IFileStructureElement, java.io.Serializable
    Page model.

    Documentation in this class focus synchronization behavior. About the use behind the fields in the portal, see PageConfig.

    Since:
    6.2.0
    Version:
    $Revision: 25303 $ $Date: 2022-10-22 22:48:02 -0300 (Sat, 22 Oct 2022) $
    See Also:
    PageConfig, Serialized Form
    • Constructor Detail

      • Page

        public Page()
    • Method Detail

      • getChannelId

        public java.lang.String getChannelId()
      • getInterfaceInstances

        public java.util.SortedSet<InterfaceInstance> getInterfaceInstances()
      • getMetaTags

        public java.util.List<MetaTag> getMetaTags()
      • getCsss

        public java.util.List<PageCss> getCsss()
      • isImplicitForeignKeysSet

        public boolean isImplicitForeignKeysSet()
        Indicates whether the implicit foreign keys, set by setImplicitForeignKeys(String, String, String, String), have been set.
        Returns:
        true if the implicit foreign keys are set, false otherwise.
        Since:
        6.2.0
      • setImplicitForeignKeys

        public void setImplicitForeignKeys​(java.lang.String accessControlListId,
                                           java.lang.String parentAccessControlListId,
                                           java.lang.String propertyBagId,
                                           java.lang.String parentPropertyBagId)
        Sets the implicit foreign keys in this page. Required before it can be properly persisted to the database.
        Parameters:
        accessControlListId - the identifier for this page's ACL. Must be null if the page will be added (will be auto-generated).
        parentAccessControlListId - the identifier of the parent of this page's ACL.
        propertyBagId - the identifier for this page's property bag. Must be null if the page will be added. (will be auto-generated).
        parentPropertyBagId - the identifier for the parent of this page's property bag.
        Since:
        6.2.0
      • getDirectoryChannelId

        public java.lang.String getDirectoryChannelId()
        Description copied from interface: IFileStructureElement
        Returns the identifier of the channel that corresponds to the directory this element's file resides in.
        Specified by:
        getDirectoryChannelId in interface IFileStructureElement
        Returns:
        the identifier of the channel.
      • getStructureFileName

        public java.lang.String getStructureFileName()
        Description copied from interface: IFileStructureElement
        Returns the name of the structure file for this element.
        Specified by:
        getStructureFileName in interface IFileStructureElement
        Returns:
        the structure file name (only the file's name, does not include any path).
      • setFriendlyId

        public void setFriendlyId​(java.lang.String friendlyId)
        Description copied from interface: IFileStructureElement
        Sets the friendly identifier for this structure element.
        Specified by:
        setFriendlyId in interface IFileStructureElement
        Parameters:
        friendlyId - the friendly identifier.
      • getName

        public java.lang.String getName()