public class CmsGalleryConfiguration extends java.lang.Object implements I_CmsGalleryConfiguration, com.google.gwt.user.client.rpc.IsSerializable
| Constructor and Description |
|---|
CmsGalleryConfiguration()
Constructor.
|
CmsGalleryConfiguration(I_CmsGalleryConfiguration configuration)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCurrentElement()
Returns the currently selected element.
|
I_CmsGalleryProviderConstants.GalleryMode |
getGalleryMode()
Returns the gallery mode.
|
java.lang.String |
getGalleryPath()
Returns the start gallery path.
|
java.lang.String |
getGalleryStoragePrefix()
Gets the prefix for the key used to store the last selected gallery.
|
java.lang.String |
getGalleryTypeName()
Returns the gallery type name.
|
java.lang.String[] |
getGalleryTypes()
Returns the available gallery types.
|
java.lang.String |
getImageFormatNames()
Returns the image format names.
|
java.lang.String |
getImageFormats()
Returns the image formats.
|
java.lang.String |
getLocale()
Returns the content locale.
|
java.lang.String |
getReferencePath()
Returns the path of the edited resource.
|
java.util.List<java.lang.String> |
getResourceTypes()
Returns the available resource types.
|
java.util.List<java.lang.String> |
getSearchTypes()
Returns the searchable types.
|
java.lang.String |
getStartFolder()
Returns the start folder.
|
java.lang.String |
getStartSite()
Returns the start site.
|
CmsGalleryTabConfiguration |
getTabConfiguration()
Gets the tab configuration.
|
I_CmsGalleryProviderConstants.GalleryTabId[] |
getTabIds()
Gets the array of tab ids.
|
java.lang.String |
getTreeToken()
Gets the tree token.
|
java.lang.String |
getUploadFolder()
Returns the upload folder.
|
boolean |
isGalleriesSelectable()
Returns true if the galleries should be selectable.
|
boolean |
isIncludeFiles()
Returns if files are selectable.
|
boolean |
isResultsSelectable()
Returns false if the results should not be selectable.
|
boolean |
isShowSiteSelector()
Returns if the site selector should be shown.
|
boolean |
isUseFormats()
Returns if image formats should be used in preview.
|
void |
setCurrentElement(java.lang.String currentElement)
Sets the currentElement.
|
void |
setGalleriesSelectable(boolean galleriesSelectable)
Enables or disables selection of galleries in the gallery tab.
|
void |
setGalleryMode(I_CmsGalleryProviderConstants.GalleryMode galleryMode)
Sets the galleryMode.
|
void |
setGalleryPath(java.lang.String galleryPath)
Sets the galleryPath.
|
void |
setGalleryStoragePrefix(java.lang.String prefix)
Sets the prefix for the key used to store the last selected gallery.
|
void |
setGalleryTypeName(java.lang.String galleryTypeName)
Sets the gallery type name.
|
void |
setGalleryTypes(java.lang.String... galleryTypes)
Sets the galleryTypes.
|
void |
setImageFormatNames(java.lang.String imageFormatNames)
Sets the image format names.
|
void |
setImageFormats(java.lang.String imageFormats)
Sets the image formats.
|
void |
setLocale(java.lang.String locale)
Sets the locale.
|
void |
setReferencePath(java.lang.String referencePath)
Sets the referencePath.
|
void |
setResourceTypes(java.util.List<java.lang.String> resourceTypes)
Sets the resourceTypes.
|
void |
setResultsSelectable(boolean resultsSelectable)
Disables selection of results if the given parameter is 'false'.
|
void |
setSearchTypes(java.util.List<java.lang.String> searchTypes)
Sets the searchTypes.
|
void |
setShowSiteSelector(boolean showSiteSelector)
Sets the showSiteSelector.
|
void |
setStartFolder(java.lang.String startFolder)
Sets the start folder.
|
void |
setStartSite(java.lang.String startSite)
Sets the startSite.
|
void |
setTabConfiguration(CmsGalleryTabConfiguration tabConfig)
Sets the tab configuration.
|
void |
setUploadFolder(java.lang.String uploadFolder)
Sets the upload folder.
|
void |
setUseFormats(boolean useFormats)
Sets the use formats flag.
|
public CmsGalleryConfiguration()
public CmsGalleryConfiguration(I_CmsGalleryConfiguration configuration)
configuration - the initial configurationpublic java.lang.String getCurrentElement()
I_CmsGalleryConfigurationgetCurrentElement in interface I_CmsGalleryConfigurationI_CmsGalleryConfiguration.getCurrentElement()public I_CmsGalleryProviderConstants.GalleryMode getGalleryMode()
I_CmsGalleryConfigurationgetGalleryMode in interface I_CmsGalleryConfigurationI_CmsGalleryConfiguration.getGalleryMode()public java.lang.String getGalleryPath()
I_CmsGalleryConfigurationgetGalleryPath in interface I_CmsGalleryConfigurationI_CmsGalleryConfiguration.getGalleryPath()public java.lang.String getGalleryStoragePrefix()
I_CmsGalleryConfigurationgetGalleryStoragePrefix in interface I_CmsGalleryConfigurationI_CmsGalleryConfiguration.getGalleryStoragePrefix()public java.lang.String getGalleryTypeName()
I_CmsGalleryConfigurationgetGalleryTypeName in interface I_CmsGalleryConfigurationI_CmsGalleryConfiguration.getGalleryTypeName()public java.lang.String[] getGalleryTypes()
I_CmsGalleryConfigurationgetGalleryTypes in interface I_CmsGalleryConfigurationI_CmsGalleryConfiguration.getGalleryTypes()public java.lang.String getImageFormatNames()
I_CmsGalleryConfigurationgetImageFormatNames in interface I_CmsGalleryConfigurationI_CmsGalleryConfiguration.getImageFormatNames()public java.lang.String getImageFormats()
I_CmsGalleryConfigurationgetImageFormats in interface I_CmsGalleryConfigurationI_CmsGalleryConfiguration.getImageFormats()public java.lang.String getLocale()
I_CmsGalleryConfigurationgetLocale in interface I_CmsGalleryConfigurationI_CmsGalleryConfiguration.getLocale()public java.lang.String getReferencePath()
I_CmsGalleryConfigurationgetReferencePath in interface I_CmsGalleryConfigurationI_CmsGalleryConfiguration.getReferencePath()public java.util.List<java.lang.String> getResourceTypes()
I_CmsGalleryConfigurationgetResourceTypes in interface I_CmsGalleryConfigurationI_CmsGalleryConfiguration.getResourceTypes()public java.util.List<java.lang.String> getSearchTypes()
I_CmsGalleryConfigurationgetSearchTypes in interface I_CmsGalleryConfigurationI_CmsGalleryConfiguration.getSearchTypes()public java.lang.String getStartFolder()
I_CmsGalleryConfigurationgetStartFolder in interface I_CmsGalleryConfigurationI_CmsGalleryConfiguration.getStartFolder()public java.lang.String getStartSite()
I_CmsGalleryConfigurationgetStartSite in interface I_CmsGalleryConfigurationI_CmsGalleryConfiguration.getStartSite()public CmsGalleryTabConfiguration getTabConfiguration()
I_CmsGalleryConfigurationgetTabConfiguration in interface I_CmsGalleryConfigurationI_CmsGalleryConfiguration.getTabConfiguration()public I_CmsGalleryProviderConstants.GalleryTabId[] getTabIds()
public java.lang.String getTreeToken()
I_CmsGalleryConfigurationThe tree token is used to save/load tree opening states for tree tabs in the gallery dialog. If two widget instances use different tree tokens, opening or closing tree entries in one will not effect the tree opening state of the other.
getTreeToken in interface I_CmsGalleryConfigurationI_CmsGalleryConfiguration.getTreeToken()public java.lang.String getUploadFolder()
I_CmsGalleryConfigurationgetUploadFolder in interface I_CmsGalleryConfigurationI_CmsGalleryConfiguration.getUploadFolder()public boolean isGalleriesSelectable()
I_CmsGalleryConfigurationisGalleriesSelectable in interface I_CmsGalleryConfigurationI_CmsGalleryConfiguration.isGalleriesSelectable()public boolean isIncludeFiles()
I_CmsGalleryConfigurationisIncludeFiles in interface I_CmsGalleryConfigurationtrue if files are selectableI_CmsGalleryConfiguration.isIncludeFiles()public boolean isResultsSelectable()
I_CmsGalleryConfigurationisResultsSelectable in interface I_CmsGalleryConfigurationI_CmsGalleryConfiguration.isResultsSelectable()public boolean isShowSiteSelector()
I_CmsGalleryConfigurationisShowSiteSelector in interface I_CmsGalleryConfigurationtrue if the site selector should be shownI_CmsGalleryConfiguration.isShowSiteSelector()public boolean isUseFormats()
I_CmsGalleryConfigurationisUseFormats in interface I_CmsGalleryConfigurationtrue if image format should be used in previewI_CmsGalleryConfiguration.isUseFormats()public void setCurrentElement(java.lang.String currentElement)
I_CmsGalleryConfigurationsetCurrentElement in interface I_CmsGalleryConfigurationcurrentElement - the currentElement to setI_CmsGalleryConfiguration.setCurrentElement(java.lang.String)public void setGalleriesSelectable(boolean galleriesSelectable)
galleriesSelectable - true if the galleries should be made selectablepublic void setGalleryMode(I_CmsGalleryProviderConstants.GalleryMode galleryMode)
galleryMode - the galleryMode to setpublic void setGalleryPath(java.lang.String galleryPath)
galleryPath - the galleryPath to setpublic void setGalleryStoragePrefix(java.lang.String prefix)
prefix - the new prefixpublic void setGalleryTypeName(java.lang.String galleryTypeName)
galleryTypeName - the gallery type namepublic void setGalleryTypes(java.lang.String... galleryTypes)
galleryTypes - the galleryTypes to setpublic void setImageFormatNames(java.lang.String imageFormatNames)
imageFormatNames - the imageFormatNames to setpublic void setImageFormats(java.lang.String imageFormats)
imageFormats - the image formats to setpublic void setLocale(java.lang.String locale)
locale - the locale to setpublic void setReferencePath(java.lang.String referencePath)
referencePath - the referencePath to setpublic void setResourceTypes(java.util.List<java.lang.String> resourceTypes)
resourceTypes - the resourceTypes to setpublic void setResultsSelectable(boolean resultsSelectable)
resultsSelectable - false if result selection should be disabledpublic void setSearchTypes(java.util.List<java.lang.String> searchTypes)
searchTypes - the searchTypes to setpublic void setShowSiteSelector(boolean showSiteSelector)
showSiteSelector - the showSiteSelector to setpublic void setStartFolder(java.lang.String startFolder)
setStartFolder in interface I_CmsGalleryConfigurationstartFolder - the start folderpublic void setStartSite(java.lang.String startSite)
startSite - the startSite to setpublic void setTabConfiguration(CmsGalleryTabConfiguration tabConfig)
tabConfig - the gallery tab configurationpublic void setUploadFolder(java.lang.String uploadFolder)
uploadFolder - the upload folderpublic void setUseFormats(boolean useFormats)
useFormats - the use formats flag to set