Package org.opencms.ade.galleries.shared
Class CmsGalleryTreeEntry
java.lang.Object
org.opencms.gwt.shared.CmsIconBean
org.opencms.gwt.shared.CmsListInfoBean
org.opencms.ade.galleries.shared.CmsGalleryFolderBean
org.opencms.ade.galleries.shared.CmsGalleryTreeEntry
- All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable
,I_CmsHasIconClasses
,I_CmsHasPath
,I_CmsHasTitle
,I_CmsHasType
Gallery tree entry class. To organize gallery folders as a tree.
- Since:
- 8.0.1
-
Nested Class Summary
Nested classes/interfaces inherited from class org.opencms.gwt.shared.CmsListInfoBean
CmsListInfoBean.LockIcon, CmsListInfoBean.StateIcon
-
Field Summary
Fields inherited from class org.opencms.gwt.shared.CmsListInfoBean
CSS_CLASS_MULTI_LINE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addChild
(CmsGalleryTreeEntry child) Adds a new child entry.Returns the list of child entries.Returns the parent entry ornull
if there is none.void
setChildren
(List<CmsGalleryTreeEntry> children) Sets the child entry list.protected void
setParent
(CmsGalleryTreeEntry parent) Sets the parent entry.Methods inherited from class org.opencms.ade.galleries.shared.CmsGalleryFolderBean
getContentTypes, getGroup, getGroupLabel, getPath, getSubTitle, getUploadAction, isEditable, matchesFilter, setContentTypes, setEditable, setGroup, setGroupLabel, setPath, setUploadAction
Methods inherited from class org.opencms.gwt.shared.CmsListInfoBean
addAdditionalInfo, addAdditionalInfo, getAdditionalInfo, getIsFolder, getLockIcon, getLockIconTitle, getResourceState, getResourceType, getStateIcon, getTitle, getType, hasAdditionalInfo, isMarkChangedState, setAdditionalInfo, setIsFolder, setLockIcon, setLockIconTitle, setMarkChangedState, setResourceState, setResourceType, setStateIcon, setSubTitle, setTitle
Methods inherited from class org.opencms.gwt.shared.CmsIconBean
getBigIconClasses, getSmallIconClasses, setBigIconClasses, setSmallIconClasses
-
Constructor Details
-
Method Details
-
getChildren
Returns the list of child entries.- Returns:
- the list of child entries
-
getParent
Returns the parent entry ornull
if there is none.- Returns:
- the parent entry
-
setChildren
Sets the child entry list.- Parameters:
children
- the list of child entries