Class CmsGalleryFolderBean

    • Method Detail

      • getContentTypes

        public java.util.ArrayList<java.lang.String> getContentTypes()
        Returns the content types which can be used within this gallery type.

        Returns:
        the contentTypes
      • getGroupLabel

        public java.lang.String getGroupLabel()
        Gets the label for the gallery group.
        Returns:
        the label for the gallery group
      • getPath

        public java.lang.String getPath()
        Returns the description.

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

        public java.lang.String 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​(java.lang.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​(java.util.ArrayList<java.lang.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​(java.lang.String groupLabel)
        Sets the gallery group label.
        Parameters:
        groupLabel - the gallery group label
      • setPath

        public void setPath​(java.lang.String path)
        Sets the description.

        Parameters:
        path - the description to set
      • setUploadAction

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

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