Package org.opencms.ade.galleries.client
Class CmsGalleryConfigurationJSO
- java.lang.Object
-
- com.google.gwt.core.client.JavaScriptObject
-
- org.opencms.ade.galleries.client.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.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
CmsGalleryConfigurationJSO()
Hiding constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getCurrentElement()
org.opencms.ade.galleries.shared.I_CmsGalleryProviderConstants.GalleryMode
getGalleryMode()
java.lang.String
getGalleryPath()
java.lang.String
getGalleryStoragePrefix()
java.lang.String
getGalleryTypeName()
java.lang.String[]
getGalleryTypes()
java.lang.String
getImageFormatNames()
java.lang.String
getImageFormats()
java.lang.String
getLocale()
java.lang.String
getReferencePath()
java.util.List<java.lang.String>
getResourceTypes()
java.util.List<java.lang.String>
getSearchTypes()
java.lang.String
getStartFolder()
java.lang.String
getStartSite()
org.opencms.ade.galleries.shared.CmsGalleryTabConfiguration
getTabConfiguration()
java.lang.String
getTreeToken()
java.lang.String
getUploadFolder()
boolean
isGalleriesSelectable()
boolean
isIncludeFiles()
boolean
isResultsSelectable()
boolean
isShowSiteSelector()
boolean
isUseFormats()
static CmsGalleryConfigurationJSO
parseConfiguration(java.lang.String conf)
Parses the given JSON configuration string.void
setCurrentElement(java.lang.String currentElement)
void
setStartFolder(java.lang.String startFolder)
-
-
-
Constructor Detail
-
CmsGalleryConfigurationJSO
protected CmsGalleryConfigurationJSO()
Hiding constructor.
-
-
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 interfaceorg.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 interfaceorg.opencms.ade.galleries.shared.I_CmsGalleryConfiguration
- See Also:
I_CmsGalleryConfiguration.getGalleryMode()
-
getGalleryPath
public java.lang.String getGalleryPath()
- Specified by:
getGalleryPath
in interfaceorg.opencms.ade.galleries.shared.I_CmsGalleryConfiguration
- See Also:
I_CmsGalleryConfiguration.getGalleryPath()
-
getGalleryStoragePrefix
public java.lang.String getGalleryStoragePrefix()
- Specified by:
getGalleryStoragePrefix
in interfaceorg.opencms.ade.galleries.shared.I_CmsGalleryConfiguration
- See Also:
I_CmsGalleryConfiguration.getGalleryStoragePrefix()
-
getGalleryTypeName
public java.lang.String getGalleryTypeName()
- Specified by:
getGalleryTypeName
in interfaceorg.opencms.ade.galleries.shared.I_CmsGalleryConfiguration
- See Also:
I_CmsGalleryConfiguration.getGalleryTypeName()
-
getGalleryTypes
public java.lang.String[] getGalleryTypes()
- Specified by:
getGalleryTypes
in interfaceorg.opencms.ade.galleries.shared.I_CmsGalleryConfiguration
- See Also:
I_CmsGalleryConfiguration.getGalleryTypes()
-
getImageFormatNames
public java.lang.String getImageFormatNames()
- Specified by:
getImageFormatNames
in interfaceorg.opencms.ade.galleries.shared.I_CmsGalleryConfiguration
- See Also:
I_CmsGalleryConfiguration.getImageFormatNames()
-
getImageFormats
public java.lang.String getImageFormats()
- Specified by:
getImageFormats
in interfaceorg.opencms.ade.galleries.shared.I_CmsGalleryConfiguration
- See Also:
I_CmsGalleryConfiguration.getImageFormats()
-
getLocale
public java.lang.String getLocale()
- Specified by:
getLocale
in interfaceorg.opencms.ade.galleries.shared.I_CmsGalleryConfiguration
- See Also:
I_CmsGalleryConfiguration.getLocale()
-
getReferencePath
public java.lang.String getReferencePath()
- Specified by:
getReferencePath
in interfaceorg.opencms.ade.galleries.shared.I_CmsGalleryConfiguration
- See Also:
I_CmsGalleryConfiguration.getReferencePath()
-
getResourceTypes
public java.util.List<java.lang.String> getResourceTypes()
- Specified by:
getResourceTypes
in interfaceorg.opencms.ade.galleries.shared.I_CmsGalleryConfiguration
- See Also:
I_CmsGalleryConfiguration.getResourceTypes()
-
getSearchTypes
public java.util.List<java.lang.String> getSearchTypes()
- Specified by:
getSearchTypes
in interfaceorg.opencms.ade.galleries.shared.I_CmsGalleryConfiguration
- See Also:
I_CmsGalleryConfiguration.getSearchTypes()
-
getStartFolder
public java.lang.String getStartFolder()
- Specified by:
getStartFolder
in interfaceorg.opencms.ade.galleries.shared.I_CmsGalleryConfiguration
- See Also:
I_CmsGalleryConfiguration.getStartFolder()
-
getStartSite
public java.lang.String getStartSite()
- Specified by:
getStartSite
in interfaceorg.opencms.ade.galleries.shared.I_CmsGalleryConfiguration
- See Also:
I_CmsGalleryConfiguration.getStartSite()
-
getTabConfiguration
public org.opencms.ade.galleries.shared.CmsGalleryTabConfiguration getTabConfiguration()
- Specified by:
getTabConfiguration
in interfaceorg.opencms.ade.galleries.shared.I_CmsGalleryConfiguration
- See Also:
I_CmsGalleryConfiguration.getTabConfiguration()
-
getTreeToken
public java.lang.String getTreeToken()
- Specified by:
getTreeToken
in interfaceorg.opencms.ade.galleries.shared.I_CmsGalleryConfiguration
- See Also:
I_CmsGalleryConfiguration.getTreeToken()
-
getUploadFolder
public java.lang.String getUploadFolder()
- Specified by:
getUploadFolder
in interfaceorg.opencms.ade.galleries.shared.I_CmsGalleryConfiguration
- See Also:
I_CmsGalleryConfiguration.getUploadFolder()
-
isGalleriesSelectable
public boolean isGalleriesSelectable()
- Specified by:
isGalleriesSelectable
in interfaceorg.opencms.ade.galleries.shared.I_CmsGalleryConfiguration
- See Also:
I_CmsGalleryConfiguration.isGalleriesSelectable()
-
isIncludeFiles
public boolean isIncludeFiles()
- Specified by:
isIncludeFiles
in interfaceorg.opencms.ade.galleries.shared.I_CmsGalleryConfiguration
- See Also:
I_CmsGalleryConfiguration.isIncludeFiles()
-
isResultsSelectable
public boolean isResultsSelectable()
- Specified by:
isResultsSelectable
in interfaceorg.opencms.ade.galleries.shared.I_CmsGalleryConfiguration
- See Also:
I_CmsGalleryConfiguration.isResultsSelectable()
-
isShowSiteSelector
public boolean isShowSiteSelector()
- Specified by:
isShowSiteSelector
in interfaceorg.opencms.ade.galleries.shared.I_CmsGalleryConfiguration
- See Also:
I_CmsGalleryConfiguration.isShowSiteSelector()
-
isUseFormats
public boolean isUseFormats()
- Specified by:
isUseFormats
in interfaceorg.opencms.ade.galleries.shared.I_CmsGalleryConfiguration
- See Also:
I_CmsGalleryConfiguration.isUseFormats()
-
setCurrentElement
public void setCurrentElement(java.lang.String currentElement)
- Specified by:
setCurrentElement
in interfaceorg.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 interfaceorg.opencms.ade.galleries.shared.I_CmsGalleryConfiguration
- See Also:
I_CmsGalleryConfiguration.setStartFolder(java.lang.String)
-
-