Class CmsGalleryFolderBean

All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable, I_CmsHasIconClasses, I_CmsHasPath, I_CmsHasTitle, I_CmsHasType
Direct Known Subclasses:
CmsGalleryTreeEntry

public class CmsGalleryFolderBean extends CmsListInfoBean implements I_CmsHasPath
Represents a gallery folder.

Since:
8.0.0
  • Constructor Details

  • 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

      public String getPath()
      Returns the description.

      Specified by:
      getPath in interface I_CmsHasPath
      Returns:
      the description
    • getSubTitle

      public String getSubTitle()
      Description copied from class: CmsListInfoBean
      Returns the sub-title.

      Overrides:
      getSubTitle in class CmsListInfoBean
      Returns:
      the sub-title
      See Also:
    • getUploadAction

      Gets the upload action.
      Returns:
      the upload action
    • isEditable

      public boolean isEditable()
      Returns the editable flag. Indicate if the user has write permissions to the gallery folder.

      Returns:
      the editable flag
    • matchesFilter

      public boolean matchesFilter(String filter)
      Returns if the gallery matches the given filter.

      Parameters:
      filter - the filter to match
      Returns:
      true if the gallery matches the given filter.

    • setContentTypes

      public void setContentTypes(ArrayList<String> contentTypes)
      Sets the content types which can be used within this gallery type.

      Parameters:
      contentTypes - the contentTypes to set
    • setEditable

      public void setEditable(boolean editable)
      Sets if the user has write permissions to the gallery folder.

      Parameters:
      editable - true if the user has write permissions to the gallery folder
    • setGroup

      public void setGroup(CmsGalleryGroup group)
      Sets the gallery group.
      Parameters:
      group - the gallery group
    • setGroupLabel

      public void setGroupLabel(String groupLabel)
      Sets the gallery group label.
      Parameters:
      groupLabel - the gallery group label
    • setPath

      public void setPath(String path)
      Sets the description.

      Parameters:
      path - the description to set
    • setUploadAction

      public void setUploadAction(String jsFunctionName)
      Sets the upload action.

      Parameters:
      jsFunctionName - the name of the JavaScript function to call when the upload button is pressed.