public interface I_CmsGalleryService
extends com.google.gwt.user.client.rpc.RemoteService
CmsGalleryService
,
I_CmsGalleryService
,
I_CmsGalleryServiceAsync
限定符和类型 | 方法和说明 |
---|---|
void |
deleteResource(java.lang.String resourcePath)
Deletes the given resource.
|
CmsGalleryConfiguration |
getAdeViewModeConfiguration()
Loads the gallery configuration for the adeView mode.
|
java.util.List<CmsGalleryFolderBean> |
getGalleries(java.util.List<java.lang.String> resourceTypes)
Returns the available galleries depending on the given resource types.
|
CmsResultItemBean |
getInfoForResource(java.lang.String path,
java.lang.String locale)
Returns the resource info for a single resource.
|
CmsGalleryDataBean |
getInitialSettings(CmsGalleryConfiguration conf)
Returns the initial data for the given gallery mode.
|
CmsGallerySearchBean |
getSearch(CmsGalleryDataBean data)
Performs an initial search based on the given data bean and the available parameters of the request.
|
CmsGallerySearchBean |
getSearch(CmsGallerySearchBean searchObj)
Returns the gallery search object containing search results and the currant search parameter.
|
java.util.List<CmsSitemapEntryBean> |
getSubEntries(java.lang.String rootPath,
boolean isRoot)
Returns the sub entries to the given sitemap path.
|
java.util.List<CmsVfsEntryBean> |
getSubFolders(java.lang.String path)
Gets the sub-folders of a folder.
|
CmsVfsEntryBean |
loadVfsEntryBean(java.lang.String path)
Loads the root VFS entry bean for the given site root.
|
void |
saveTreeOpenState(java.lang.String treeName,
java.lang.String treeToken,
java.lang.String siteRoot,
java.util.Set<CmsUUID> openItems)
Saves the tree open state for a tree tab.
|
void |
updateIndex()
Updates the offline indices.
|
void deleteResource(java.lang.String resourcePath) throws CmsRpcException
resourcePath
- the resource path of the resource to deleteCmsRpcException
- if something goes wrongCmsGalleryConfiguration getAdeViewModeConfiguration()
java.util.List<CmsGalleryFolderBean> getGalleries(java.util.List<java.lang.String> resourceTypes) throws CmsRpcException
resourceTypes
- the resource typesCmsRpcException
- if something goes wrongCmsResultItemBean getInfoForResource(java.lang.String path, java.lang.String locale) throws CmsRpcException
path
- the resource pathlocale
- the content localeCmsRpcException
- if something goes wrongCmsGalleryDataBean getInitialSettings(CmsGalleryConfiguration conf) throws CmsRpcException
conf
- the gallery configurationCmsRpcException
- if something goes wrongCmsGallerySearchBean getSearch(CmsGalleryDataBean data) throws CmsRpcException
data
- the data beanCmsRpcException
- if something goes wrongCmsGallerySearchBean getSearch(CmsGallerySearchBean searchObj) throws CmsRpcException
searchObj
- the current search objectCmsRpcException
- is something goes wrongjava.util.List<CmsSitemapEntryBean> getSubEntries(java.lang.String rootPath, boolean isRoot) throws CmsRpcException
rootPath
- the root pathisRoot
- true
if the requested entry is the root entryCmsRpcException
- if something goes wrongjava.util.List<CmsVfsEntryBean> getSubFolders(java.lang.String path) throws CmsRpcException
path
- the path of a folderCmsRpcException
- if something goes wrongCmsVfsEntryBean loadVfsEntryBean(java.lang.String path) throws CmsRpcException
path
- the site rootCmsRpcException
- if something goes wrongvoid saveTreeOpenState(java.lang.String treeName, java.lang.String treeToken, java.lang.String siteRoot, java.util.Set<CmsUUID> openItems) throws CmsRpcException
treeName
- the tree name for which to save the tree statetreeToken
- the tree token for which to save the tree statesiteRoot
- the site rootopenItems
- the set of structure ids of open tree itemsCmsRpcException
- if something goes wrongvoid updateIndex() throws CmsRpcException
CmsRpcException
- if something goes wrong