public class CmsGalleryDataBean extends java.lang.Object implements com.google.gwt.user.client.rpc.IsSerializable
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DICT_NAME
Name of the used JS variable.
|
| Constructor and Description |
|---|
CmsGalleryDataBean()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<CmsCategoryTreeEntry> |
getCategories()
Returns the categories.
|
java.util.Map<java.lang.String,java.lang.String> |
getContextParameters()
Gets the context parameters.
|
java.lang.String |
getCurrentElement()
Returns the current element.
|
CmsGallerySearchScope |
getDefaultScope()
Gets the default search scope.
|
java.util.List<CmsGalleryFolderBean> |
getGalleries()
Returns the galleries map.
|
java.lang.String |
getGalleryStoragePrefix()
Gets the prefix for the key used to store the last selected gallery.
|
boolean |
getIncludeExpiredDefault()
Gets the default value for the "include expired" option.
|
java.lang.String |
getLocale()
Returns the locale.
|
java.util.Map<java.lang.String,java.lang.String> |
getLocales()
Returns the locales map.
|
I_CmsGalleryProviderConstants.GalleryMode |
getMode()
Returns the gallery mode.
|
java.lang.String |
getReferenceSitePath()
Returns the gallery reference site-path.
|
java.lang.String |
getResultViewType()
Returns the result view type.
|
CmsGallerySearchScope |
getScope()
Returns the search scope.
|
java.util.List<CmsSiteSelectorOption> |
getSitemapSiteSelectorOptions()
Returns the site selector options for the sitemap.
|
I_CmsGalleryProviderConstants.SortParams |
getSortOrder()
Gets the result sort order.
|
java.lang.String |
getStartFolder()
Returns the start folder.
|
java.util.Set<java.lang.String> |
getStartFolderFilter()
Returns the start folder filter.
|
java.lang.String |
getStartGallery()
Returns the start gallery folder.
|
I_CmsGalleryProviderConstants.GalleryTabId |
getStartTab()
Returns the start tab.
|
CmsGalleryTabConfiguration |
getTabConfiguration()
Gets the tab configuration.
|
I_CmsGalleryProviderConstants.GalleryTabId[] |
getTabIds()
Returns the configured tabs.
|
java.lang.String |
getTreeToken()
Gets the tree token, which is used to determine which tree state is loaded from the session.
|
java.util.List<CmsResourceTypeBean> |
getTypes()
Returns the types map.
|
CmsVfsEntryBean |
getVfsPreloadData()
Returns the vfsPreloadData.
|
java.util.List<CmsVfsEntryBean> |
getVfsRootFolders()
Returns the list of root folders to display in the VFS tab.
|
java.util.List<CmsSiteSelectorOption> |
getVfsSiteSelectorOptions()
Gets the list of site selector options for the VFS tab.
|
void |
setCategories(java.util.List<CmsCategoryTreeEntry> categories)
Sets the categories.
|
void |
setCurrentElement(java.lang.String currentElement)
Sets the current element.
|
void |
setDefaultScope(CmsGallerySearchScope scope)
Sets the default search scope.
|
void |
setGalleries(java.util.List<CmsGalleryFolderBean> galleries)
Sets the galleries map.
|
void |
setGalleryStoragePrefix(java.lang.String prefix)
Sets the prefix for the key used to store the last selected gallery.
|
void |
setIncludeExpiredDefault(boolean includeExpiredDefault)
Sets the default value for the 'include expired' option.
|
void |
setLocale(java.lang.String locale)
Sets the locale.
|
void |
setLocales(java.util.Map<java.lang.String,java.lang.String> locales)
Sets the locales map.
|
void |
setMode(I_CmsGalleryProviderConstants.GalleryMode mode)
Sets the gallery mode.
|
void |
setReferenceSitePath(java.lang.String referenceSitePath)
Sets the gallery reference site-path.
|
void |
setResultViewType(java.lang.String resultViewType)
Sets the result view type.
|
void |
setScope(CmsGallerySearchScope scope)
Sets the search scope.
|
void |
setSitemapSiteSelectorOptions(java.util.List<CmsSiteSelectorOption> options)
Sets the site selector options for the sitemap tab.
|
void |
setSortOrder(I_CmsGalleryProviderConstants.SortParams sortOrder)
Sets the result sort order.
|
void |
setStartFolder(java.lang.String startFolder)
Sets the start folder.
|
void |
setStartFolderFilter(java.util.Set<java.lang.String> startFolderFilter)
Sets the start folder filter.
|
void |
setStartGallery(java.lang.String startGallery)
Sets the start gallery folder.
|
void |
setStartTab(I_CmsGalleryProviderConstants.GalleryTabId startTab)
Sets the start tab.
|
void |
setTabConfiguration(CmsGalleryTabConfiguration tabConfiguration)
Sets the tab configuration.
|
void |
setTabIds(I_CmsGalleryProviderConstants.GalleryTabId[] tabIds)
Sets the tab id's.
|
void |
setTreeToken(java.lang.String treeToken)
Sets the tree token.
|
void |
setTypes(java.util.List<CmsResourceTypeBean> types)
Sets the types map.
|
void |
setVfsPreloadData(CmsVfsEntryBean vfsPreloadData)
Sets the vfsPreloadData.
|
void |
setVfsRootFolders(java.util.List<CmsVfsEntryBean> rootFolders)
Sets the root folders to be displayed in the VFS folder tab.
|
void |
setVfsSiteSelectorOptions(java.util.List<CmsSiteSelectorOption> siteSelectorOptions)
Sets the available site selector options.
|
public static final java.lang.String DICT_NAME
public CmsGalleryDataBean()
public java.util.List<CmsCategoryTreeEntry> getCategories()
public java.util.Map<java.lang.String,java.lang.String> getContextParameters()
These are additional parameters to store information about the context from which the gallery dialog was opened.
public java.lang.String getCurrentElement()
public CmsGallerySearchScope getDefaultScope()
public java.util.List<CmsGalleryFolderBean> getGalleries()
public java.lang.String getGalleryStoragePrefix()
public boolean getIncludeExpiredDefault()
public java.lang.String getLocale()
public java.util.Map<java.lang.String,java.lang.String> getLocales()
public I_CmsGalleryProviderConstants.GalleryMode getMode()
public java.lang.String getReferenceSitePath()
In widget, editor and containerpage mode this will be the edited resource, otherwise the opened gallery folder.
public java.lang.String getResultViewType()
public CmsGallerySearchScope getScope()
public java.util.List<CmsSiteSelectorOption> getSitemapSiteSelectorOptions()
public I_CmsGalleryProviderConstants.SortParams getSortOrder()
public java.lang.String getStartFolder()
public java.util.Set<java.lang.String> getStartFolderFilter()
public java.lang.String getStartGallery()
public I_CmsGalleryProviderConstants.GalleryTabId getStartTab()
public CmsGalleryTabConfiguration getTabConfiguration()
public I_CmsGalleryProviderConstants.GalleryTabId[] getTabIds()
public java.lang.String getTreeToken()
public java.util.List<CmsResourceTypeBean> getTypes()
public CmsVfsEntryBean getVfsPreloadData()
public java.util.List<CmsVfsEntryBean> getVfsRootFolders()
public java.util.List<CmsSiteSelectorOption> getVfsSiteSelectorOptions()
public void setCategories(java.util.List<CmsCategoryTreeEntry> categories)
categories - the categories to setpublic void setCurrentElement(java.lang.String currentElement)
currentElement - the current element to setpublic void setDefaultScope(CmsGallerySearchScope scope)
scope - the default search scopepublic void setGalleries(java.util.List<CmsGalleryFolderBean> galleries)
galleries - the galleries to setpublic void setGalleryStoragePrefix(java.lang.String prefix)
prefix - the prefix for the gallery keypublic void setIncludeExpiredDefault(boolean includeExpiredDefault)
includeExpiredDefault - the default value to setpublic void setLocale(java.lang.String locale)
locale - the locale to setpublic void setLocales(java.util.Map<java.lang.String,java.lang.String> locales)
locales - the locales to setpublic void setMode(I_CmsGalleryProviderConstants.GalleryMode mode)
mode - the gallery mode to setpublic void setReferenceSitePath(java.lang.String referenceSitePath)
In widget, editor and containerpage mode this will be the edited resource, otherwise the opened gallery folder.
referenceSitePath - the gallery reference site-path to setpublic void setResultViewType(java.lang.String resultViewType)
resultViewType - the result view type to setpublic void setScope(CmsGallerySearchScope scope)
scope - the search scopepublic void setSitemapSiteSelectorOptions(java.util.List<CmsSiteSelectorOption> options)
options - the site selector options for the sitemap tabpublic void setSortOrder(I_CmsGalleryProviderConstants.SortParams sortOrder)
sortOrder - the result sort orderpublic void setStartFolder(java.lang.String startFolder)
startFolder - the start folder to setpublic void setStartFolderFilter(java.util.Set<java.lang.String> startFolderFilter)
startFolderFilter - the start folder filter to setpublic void setStartGallery(java.lang.String startGallery)
startGallery - the start gallery folder to setpublic void setStartTab(I_CmsGalleryProviderConstants.GalleryTabId startTab)
startTab - the start tab to setpublic void setTabConfiguration(CmsGalleryTabConfiguration tabConfiguration)
tabConfiguration - the tab configurationpublic void setTabIds(I_CmsGalleryProviderConstants.GalleryTabId[] tabIds)
tabIds - the tab id's to setpublic void setTreeToken(java.lang.String treeToken)
treeToken - the new tree tokenpublic void setTypes(java.util.List<CmsResourceTypeBean> types)
types - the types to setpublic void setVfsPreloadData(CmsVfsEntryBean vfsPreloadData)
vfsPreloadData - the vfsPreloadData to setpublic void setVfsRootFolders(java.util.List<CmsVfsEntryBean> rootFolders)
rootFolders - beans representing the root folderspublic void setVfsSiteSelectorOptions(java.util.List<CmsSiteSelectorOption> siteSelectorOptions)
siteSelectorOptions - the available site selector options