Class CmsTreeOpenState

  • All Implemented Interfaces:
    java.io.Serializable

    public class CmsTreeOpenState
    extends java.lang.Object
    implements java.io.Serializable
    The tree open state of a gallery tree tab.

    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      CmsTreeOpenState​(java.lang.String treeName, java.lang.String siteRoot, java.util.Set<CmsUUID> openItems)
      Creates a new tree open state instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Set<CmsUUID> getOpenItems()
      Gets the set of structure ids of resources corresponding to opened tree entries.
      java.lang.String getSiteRoot()
      Gets the site root.
      long getTimestamp()
      Gets the time stamp.
      java.lang.String getTreeName()
      Gets the tree name.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CmsTreeOpenState

        public CmsTreeOpenState​(java.lang.String treeName,
                                java.lang.String siteRoot,
                                java.util.Set<CmsUUID> openItems)
        Creates a new tree open state instance.

        Parameters:
        treeName - the tree name
        siteRoot - the site root
        openItems - the ids of the open tree entries
    • Method Detail

      • getOpenItems

        public java.util.Set<CmsUUIDgetOpenItems()
        Gets the set of structure ids of resources corresponding to opened tree entries.

        Returns:
        the set of structure ids of open tree entries
      • getSiteRoot

        public java.lang.String getSiteRoot()
        Gets the site root.

        Returns:
        the site root
      • getTimestamp

        public long getTimestamp()
        Gets the time stamp.

        Returns:
        the time stamps
      • getTreeName

        public java.lang.String getTreeName()
        Gets the tree name.

        Returns:
        the tree name