public class CmsGalleryDataBean
extends java.lang.Object
implements com.google.gwt.user.client.rpc.IsSerializable
限定符和类型 | 字段和说明 |
---|---|
static java.lang.String |
DICT_NAME
Name of the used JS variable.
|
构造器和说明 |
---|
CmsGalleryDataBean() |
限定符和类型 | 方法和说明 |
---|---|
java.util.List<CmsCategoryTreeEntry> |
getCategories()
Returns the categories.
|
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 |
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.
|
CmsGallerySearchScope |
getScope()
Returns the search scope.
|
java.util.List<CmsSiteSelectorOption> |
getSitemapSiteSelectorOptions()
Returns the site selector options for the sitemap.
|
java.lang.String |
getStartFolder()
Returns the start folder.
|
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.
|
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 |
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 |
setScope(CmsGallerySearchScope scope)
Sets the search scope.
|
void |
setSitemapSiteSelectorOptions(java.util.List<CmsSiteSelectorOption> options)
Sets the site selector options for the sitemap tab.
|
void |
setStartFolder(java.lang.String startFolder)
Sets the start folder.
|
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 |
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 java.util.List<CmsCategoryTreeEntry> getCategories()
public java.lang.String getCurrentElement()
public CmsGallerySearchScope getDefaultScope()
public java.util.List<CmsGalleryFolderBean> getGalleries()
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 CmsGallerySearchScope getScope()
public java.util.List<CmsSiteSelectorOption> getSitemapSiteSelectorOptions()
public java.lang.String getStartFolder()
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 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 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 setScope(CmsGallerySearchScope scope)
scope
- the search scopepublic void setSitemapSiteSelectorOptions(java.util.List<CmsSiteSelectorOption> options)
options
- the site selector options for the sitemap tabpublic void setStartFolder(java.lang.String startFolder)
startFolder
- the start folder 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 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