Package org.opencms.ade.galleries
Class CmsTreeOpenState
java.lang.Object
org.opencms.ade.galleries.CmsTreeOpenState
- All Implemented Interfaces:
Serializable
The tree open state of a gallery tree tab.
- See Also:
-
Constructor Summary
ConstructorDescriptionCmsTreeOpenState
(String treeName, String siteRoot, Set<CmsUUID> openItems) Creates a new tree open state instance. -
Method Summary
Modifier and TypeMethodDescriptionGets the set of structure ids of resources corresponding to opened tree entries.Gets the site root.long
Gets the time stamp.Gets the tree name.
-
Constructor Details
-
CmsTreeOpenState
Creates a new tree open state instance.- Parameters:
treeName
- the tree namesiteRoot
- the site rootopenItems
- 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
Gets the site root.- Returns:
- the site root
-
getTimestamp
Gets the time stamp.- Returns:
- the time stamps
-
getTreeName
Gets the tree name.- Returns:
- the tree name
-