Class CmsTreeOpenState

java.lang.Object
org.opencms.ade.galleries.CmsTreeOpenState
All Implemented Interfaces:
Serializable

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

See Also:
  • Constructor Details

    • CmsTreeOpenState

      public CmsTreeOpenState(String treeName, String siteRoot, 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 Details

    • getOpenItems

      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 String getSiteRoot()
      Gets the site root.

      Returns:
      the site root
    • getTimestamp

      public long getTimestamp()
      Gets the time stamp.

      Returns:
      the time stamps
    • getTreeName

      public String getTreeName()
      Gets the tree name.

      Returns:
      the tree name