public interface I_CmsGalleryServiceAsync
CmsGalleryService
,
I_CmsGalleryService
,
I_CmsGalleryServiceAsync
限定符和类型 | 方法和说明 |
---|---|
void |
deleteResource(java.lang.String resourcePath,
com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> callback)
Deletes the given resource.
|
void |
getAdeViewModeConfiguration(com.google.gwt.user.client.rpc.AsyncCallback<CmsGalleryConfiguration> callback)
Loads the gallery configuration for the adeView mode.
|
void |
getGalleries(java.util.List<java.lang.String> resourceTypes,
com.google.gwt.user.client.rpc.AsyncCallback<java.util.List<CmsGalleryFolderBean>> callback)
Returns the available galleries depending on the given resource types.
|
void |
getInfoForResource(java.lang.String path,
java.lang.String locale,
com.google.gwt.user.client.rpc.AsyncCallback<CmsResultItemBean> callback)
Returns the resource info for a single resource.
|
void |
getInitialSettings(CmsGalleryConfiguration conf,
com.google.gwt.user.client.rpc.AsyncCallback<CmsGalleryDataBean> callback)
Returns the initial data for the given gallery mode.
|
void |
getSearch(CmsGalleryDataBean data,
com.google.gwt.user.client.rpc.AsyncCallback<CmsGallerySearchBean> callback)
Performs an initial search based on the given data bean and the available parameters of the request.
|
void |
getSearch(CmsGallerySearchBean searchObj,
com.google.gwt.user.client.rpc.AsyncCallback<CmsGallerySearchBean> callback)
Returns the gallery search object containing search results and the currant search parameter.
|
void |
getSubEntries(java.lang.String rootPath,
boolean isRoot,
com.google.gwt.user.client.rpc.AsyncCallback<java.util.List<CmsSitemapEntryBean>> callback)
Returns the sub entries to the given sitemap path.
|
void |
getSubFolders(java.lang.String path,
com.google.gwt.user.client.rpc.AsyncCallback<java.util.List<CmsVfsEntryBean>> callback)
Gets the sub-folders of a folder.
|
void |
loadVfsEntryBean(java.lang.String path,
com.google.gwt.user.client.rpc.AsyncCallback<CmsVfsEntryBean> resultCallback)
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,
com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> callback)
Saves the tree open state.
|
void |
updateIndex(com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> callback)
Updates the offline indices.
|
void deleteResource(java.lang.String resourcePath, com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> callback)
resourcePath
- the resource path of the resource to deletecallback
- the callbackvoid getAdeViewModeConfiguration(com.google.gwt.user.client.rpc.AsyncCallback<CmsGalleryConfiguration> callback)
callback
- the callback for the resultvoid getGalleries(java.util.List<java.lang.String> resourceTypes, com.google.gwt.user.client.rpc.AsyncCallback<java.util.List<CmsGalleryFolderBean>> callback)
resourceTypes
- the resource typescallback
- the callbackvoid getInfoForResource(java.lang.String path, java.lang.String locale, com.google.gwt.user.client.rpc.AsyncCallback<CmsResultItemBean> callback)
path
- the resource pathlocale
- the content localecallback
- the callbackvoid getInitialSettings(CmsGalleryConfiguration conf, com.google.gwt.user.client.rpc.AsyncCallback<CmsGalleryDataBean> callback)
conf
- the gallery configurationcallback
- the callbackvoid getSearch(CmsGalleryDataBean data, com.google.gwt.user.client.rpc.AsyncCallback<CmsGallerySearchBean> callback)
data
- the data beancallback
- the callbackvoid getSearch(CmsGallerySearchBean searchObj, com.google.gwt.user.client.rpc.AsyncCallback<CmsGallerySearchBean> callback)
searchObj
- the current search objectcallback
- the callbackvoid getSubEntries(java.lang.String rootPath, boolean isRoot, com.google.gwt.user.client.rpc.AsyncCallback<java.util.List<CmsSitemapEntryBean>> callback)
rootPath
- the root pathisRoot
- true
if the requested entry is the root entrycallback
- the asynchronous callbackvoid getSubFolders(java.lang.String path, com.google.gwt.user.client.rpc.AsyncCallback<java.util.List<CmsVfsEntryBean>> callback)
path
- the path of a foldercallback
- the asynchronous callbackvoid loadVfsEntryBean(java.lang.String path, com.google.gwt.user.client.rpc.AsyncCallback<CmsVfsEntryBean> resultCallback)
path
- the site rootresultCallback
- the callback for the resultvoid saveTreeOpenState(java.lang.String treeName, java.lang.String treeToken, java.lang.String siteRoot, java.util.Set<CmsUUID> openItems, com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> callback)
treeName
- the tree nametreeToken
- the tree tokensiteRoot
- the site rootopenItems
- the open itemscallback
- the result callbackvoid updateIndex(com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> callback)
callback
- the callback