Class CmsGalleryConfigurationJSO

  • All Implemented Interfaces:
    org.opencms.ade.galleries.shared.I_CmsGalleryConfiguration

    public final class CmsGalleryConfigurationJSO
    extends com.google.gwt.core.client.JavaScriptObject
    implements org.opencms.ade.galleries.shared.I_CmsGalleryConfiguration
    Gallery configuration java-script overlay object.

    • Method Detail

      • parseConfiguration

        public static CmsGalleryConfigurationJSO parseConfiguration​(java.lang.String conf)
        Parses the given JSON configuration string.

        Parameters:
        conf - the JSON configuration string
        Returns:
        the gallery configuration object
      • getCurrentElement

        public java.lang.String getCurrentElement()
        Specified by:
        getCurrentElement in interface org.opencms.ade.galleries.shared.I_CmsGalleryConfiguration
        See Also:
        I_CmsGalleryConfiguration.getCurrentElement()
      • getGalleryMode

        public org.opencms.ade.galleries.shared.I_CmsGalleryProviderConstants.GalleryMode getGalleryMode()
        Specified by:
        getGalleryMode in interface org.opencms.ade.galleries.shared.I_CmsGalleryConfiguration
        See Also:
        I_CmsGalleryConfiguration.getGalleryMode()
      • getGalleryPath

        public java.lang.String getGalleryPath()
        Specified by:
        getGalleryPath in interface org.opencms.ade.galleries.shared.I_CmsGalleryConfiguration
        See Also:
        I_CmsGalleryConfiguration.getGalleryPath()
      • getGalleryStoragePrefix

        public java.lang.String getGalleryStoragePrefix()
        Specified by:
        getGalleryStoragePrefix in interface org.opencms.ade.galleries.shared.I_CmsGalleryConfiguration
        See Also:
        I_CmsGalleryConfiguration.getGalleryStoragePrefix()
      • getGalleryTypeName

        public java.lang.String getGalleryTypeName()
        Specified by:
        getGalleryTypeName in interface org.opencms.ade.galleries.shared.I_CmsGalleryConfiguration
        See Also:
        I_CmsGalleryConfiguration.getGalleryTypeName()
      • getGalleryTypes

        public java.lang.String[] getGalleryTypes()
        Specified by:
        getGalleryTypes in interface org.opencms.ade.galleries.shared.I_CmsGalleryConfiguration
        See Also:
        I_CmsGalleryConfiguration.getGalleryTypes()
      • getImageFormatNames

        public java.lang.String getImageFormatNames()
        Specified by:
        getImageFormatNames in interface org.opencms.ade.galleries.shared.I_CmsGalleryConfiguration
        See Also:
        I_CmsGalleryConfiguration.getImageFormatNames()
      • getImageFormats

        public java.lang.String getImageFormats()
        Specified by:
        getImageFormats in interface org.opencms.ade.galleries.shared.I_CmsGalleryConfiguration
        See Also:
        I_CmsGalleryConfiguration.getImageFormats()
      • getLocale

        public java.lang.String getLocale()
        Specified by:
        getLocale in interface org.opencms.ade.galleries.shared.I_CmsGalleryConfiguration
        See Also:
        I_CmsGalleryConfiguration.getLocale()
      • getPageId

        public java.lang.String getPageId()
        Specified by:
        getPageId in interface org.opencms.ade.galleries.shared.I_CmsGalleryConfiguration
        See Also:
        I_CmsGalleryConfiguration.getPageId()
      • getReferencePath

        public java.lang.String getReferencePath()
        Specified by:
        getReferencePath in interface org.opencms.ade.galleries.shared.I_CmsGalleryConfiguration
        See Also:
        I_CmsGalleryConfiguration.getReferencePath()
      • getResourceTypes

        public java.util.List<java.lang.String> getResourceTypes()
        Specified by:
        getResourceTypes in interface org.opencms.ade.galleries.shared.I_CmsGalleryConfiguration
        See Also:
        I_CmsGalleryConfiguration.getResourceTypes()
      • getSearchTypes

        public java.util.List<java.lang.String> getSearchTypes()
        Specified by:
        getSearchTypes in interface org.opencms.ade.galleries.shared.I_CmsGalleryConfiguration
        See Also:
        I_CmsGalleryConfiguration.getSearchTypes()
      • getStartFolder

        public java.lang.String getStartFolder()
        Specified by:
        getStartFolder in interface org.opencms.ade.galleries.shared.I_CmsGalleryConfiguration
        See Also:
        I_CmsGalleryConfiguration.getStartFolder()
      • getStartSite

        public java.lang.String getStartSite()
        Specified by:
        getStartSite in interface org.opencms.ade.galleries.shared.I_CmsGalleryConfiguration
        See Also:
        I_CmsGalleryConfiguration.getStartSite()
      • getTabConfiguration

        public org.opencms.ade.galleries.shared.CmsGalleryTabConfiguration getTabConfiguration()
        Specified by:
        getTabConfiguration in interface org.opencms.ade.galleries.shared.I_CmsGalleryConfiguration
        See Also:
        I_CmsGalleryConfiguration.getTabConfiguration()
      • getTreeToken

        public java.lang.String getTreeToken()
        Specified by:
        getTreeToken in interface org.opencms.ade.galleries.shared.I_CmsGalleryConfiguration
        See Also:
        I_CmsGalleryConfiguration.getTreeToken()
      • getUploadFolder

        public java.lang.String getUploadFolder()
        Specified by:
        getUploadFolder in interface org.opencms.ade.galleries.shared.I_CmsGalleryConfiguration
        See Also:
        I_CmsGalleryConfiguration.getUploadFolder()
      • isGalleriesSelectable

        public boolean isGalleriesSelectable()
        Specified by:
        isGalleriesSelectable in interface org.opencms.ade.galleries.shared.I_CmsGalleryConfiguration
        See Also:
        I_CmsGalleryConfiguration.isGalleriesSelectable()
      • isIncludeFiles

        public boolean isIncludeFiles()
        Specified by:
        isIncludeFiles in interface org.opencms.ade.galleries.shared.I_CmsGalleryConfiguration
        See Also:
        I_CmsGalleryConfiguration.isIncludeFiles()
      • isResultsSelectable

        public boolean isResultsSelectable()
        Specified by:
        isResultsSelectable in interface org.opencms.ade.galleries.shared.I_CmsGalleryConfiguration
        See Also:
        I_CmsGalleryConfiguration.isResultsSelectable()
      • isShowSiteSelector

        public boolean isShowSiteSelector()
        Specified by:
        isShowSiteSelector in interface org.opencms.ade.galleries.shared.I_CmsGalleryConfiguration
        See Also:
        I_CmsGalleryConfiguration.isShowSiteSelector()
      • isUseFormats

        public boolean isUseFormats()
        Specified by:
        isUseFormats in interface org.opencms.ade.galleries.shared.I_CmsGalleryConfiguration
        See Also:
        I_CmsGalleryConfiguration.isUseFormats()
      • setCurrentElement

        public void setCurrentElement​(java.lang.String currentElement)
        Specified by:
        setCurrentElement in interface org.opencms.ade.galleries.shared.I_CmsGalleryConfiguration
        See Also:
        I_CmsGalleryConfiguration.setCurrentElement(java.lang.String)
      • setStartFolder

        public void setStartFolder​(java.lang.String startFolder)
        Specified by:
        setStartFolder in interface org.opencms.ade.galleries.shared.I_CmsGalleryConfiguration
        See Also:
        I_CmsGalleryConfiguration.setStartFolder(java.lang.String)