Package org.opencms.ade.galleries.shared
Class CmsGalleryFolderBean
java.lang.Object
org.opencms.gwt.shared.CmsIconBean
org.opencms.gwt.shared.CmsListInfoBean
org.opencms.ade.galleries.shared.CmsGalleryFolderBean
- All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable
,I_CmsHasIconClasses
,I_CmsHasPath
,I_CmsHasTitle
,I_CmsHasType
- Direct Known Subclasses:
CmsGalleryTreeEntry
Represents a gallery folder.
- Since:
- 8.0.0
-
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 TypeMethodDescriptionReturns the content types which can be used within this gallery type.getGroup()
Gets the gallery group.Gets the label for the gallery group.getPath()
Returns the description.Returns the sub-title.Gets the upload action.boolean
Returns the editable flag.boolean
matchesFilter
(String filter) Returns if the gallery matches the given filter.void
setContentTypes
(ArrayList<String> contentTypes) Sets the content types which can be used within this gallery type.void
setEditable
(boolean editable) Sets if the user has write permissions to the gallery folder.void
setGroup
(CmsGalleryGroup group) Sets the gallery group.void
setGroupLabel
(String groupLabel) Sets the gallery group label.void
Sets the description.void
setUploadAction
(String jsFunctionName) Sets the upload action.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
-
CmsGalleryFolderBean
public CmsGalleryFolderBean()
-
-
Method Details
-
getContentTypes
Returns the content types which can be used within this gallery type.- Returns:
- the contentTypes
-
getGroup
Gets the gallery group.- Returns:
- the gallery group
-
getGroupLabel
Gets the label for the gallery group.- Returns:
- the label for the gallery group
-
getPath
Returns the description.- Specified by:
getPath
in interfaceI_CmsHasPath
- Returns:
- the description
-
getSubTitle
Description copied from class:CmsListInfoBean
Returns the sub-title.- Overrides:
getSubTitle
in classCmsListInfoBean
- Returns:
- the sub-title
- See Also:
-
getUploadAction
Gets the upload action.- Returns:
- the upload action
-
isEditable
Returns the editable flag. Indicate if the user has write permissions to the gallery folder.- Returns:
- the editable flag
-
matchesFilter
Returns if the gallery matches the given filter.- Parameters:
filter
- the filter to match- Returns:
true
if the gallery matches the given filter.
-
setContentTypes
Sets the content types which can be used within this gallery type.- Parameters:
contentTypes
- the contentTypes to set
-
setEditable
Sets if the user has write permissions to the gallery folder.- Parameters:
editable
-true
if the user has write permissions to the gallery folder
-
setGroupLabel
Sets the gallery group label.- Parameters:
groupLabel
- the gallery group label
-
setPath
Sets the description.- Parameters:
path
- the description to set
-
setUploadAction
Sets the upload action.- Parameters:
jsFunctionName
- the name of the JavaScript function to call when the upload button is pressed.
-