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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddChild(CmsGalleryTreeEntry child) Adds a new child entry.Returns the list of child entries.Returns the parent entry ornullif there is none.voidsetChildren(List<CmsGalleryTreeEntry> children) Sets the child entry list.protected voidsetParent(CmsGalleryTreeEntry parent) Sets the parent entry.Methods inherited from class org.opencms.ade.galleries.shared.CmsGalleryFolderBean
getContentTypes, getGroup, getGroupLabel, getId, getPath, getSubTitle, getUploadAction, isEditable, isOptimizable, matchesFilter, setContentTypes, setEditable, setGroup, setGroupLabel, setId, setOptimizable, setPath, setUploadActionMethods inherited from class org.opencms.gwt.shared.CmsListInfoBean
addAdditionalInfo, addAdditionalInfo, getAdditionalInfo, getIsFolder, getLockIcon, getLockIconTitle, getResourceState, getResourceType, getStateIcon, getTitle, getType, hasAdditionalInfo, isMarkChangedState, setAdditionalInfo, setBigIconClasses, setIsFolder, setLockIcon, setLockIconTitle, setMarkChangedState, setResourceState, setResourceType, setStateIcon, setSubTitle, setTitleMethods inherited from class org.opencms.gwt.shared.CmsIconBean
getBigIconClasses, getSmallIconClasses, setSmallIconClasses
-
Constructor Details
-
Method Details
-
getChildren
Returns the list of child entries.- Returns:
- the list of child entries
-
getParent
Returns the parent entry ornullif there is none.- Returns:
- the parent entry
-
setChildren
Sets the child entry list.- Parameters:
children- the list of child entries