public interface I_CmsSitemapServiceAsync
CmsVfsSitemapService
,
I_CmsSitemapService
,
I_CmsSitemapServiceAsync
限定符和类型 | 方法和说明 |
---|---|
void |
createSubSitemap(CmsUUID entryId,
com.google.gwt.user.client.rpc.AsyncCallback<CmsSitemapChange> callback)
Creates a sub-sitemap of the given sitemap starting from the given entry.
|
void |
getAliasImportResult(java.lang.String resultKey,
com.google.gwt.user.client.rpc.AsyncCallback<java.util.List<CmsAliasImportResult>> asyncCallback)
Gets the alias import results from the server.
|
void |
getAliasTable(com.google.gwt.user.client.rpc.AsyncCallback<CmsAliasInitialFetchResult> callback)
Gets the initial data for the bulk alias editor.
|
void |
getChildren(java.lang.String entryPointUri,
CmsUUID entryId,
int levels,
com.google.gwt.user.client.rpc.AsyncCallback<CmsClientSitemapEntry> callback)
Returns the sitemap children for the given path.
|
void |
mergeSubSitemap(java.lang.String entryPoint,
CmsUUID subSitemapId,
com.google.gwt.user.client.rpc.AsyncCallback<CmsSitemapChange> callback)
Merges a sub-sitemap into it's parent sitemap.
|
void |
prefetch(java.lang.String sitemapUri,
com.google.gwt.user.client.rpc.AsyncCallback<CmsSitemapData> callback)
Returns the initialization data for the given sitemap.
|
void |
save(java.lang.String sitemapUri,
CmsSitemapChange change,
com.google.gwt.user.client.rpc.AsyncCallback<CmsSitemapChange> callback)
Saves the change to the given sitemap.
|
void |
saveAliases(CmsAliasSaveValidationRequest saveRequest,
com.google.gwt.user.client.rpc.AsyncCallback<CmsAliasEditValidationReply> callback)
Saves the aliases for the bulk alias editor.
|
void |
saveSync(java.lang.String sitemapUri,
CmsSitemapChange change,
com.google.gwt.user.client.rpc.AsyncCallback<CmsSitemapChange> callback)
Save the change to the given sitemap.
|
void |
updateAliasEditorStatus(boolean editing,
com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> callback)
Updates the alias editor status.
|
void |
validateAliases(CmsAliasEditValidationRequest validationRequest,
com.google.gwt.user.client.rpc.AsyncCallback<CmsAliasEditValidationReply> callback)
Validates the aliases for the bulk alias editor.
|
void |
validateRewriteAliases(CmsRewriteAliasValidationRequest validationRequest,
com.google.gwt.user.client.rpc.AsyncCallback<CmsRewriteAliasValidationReply> callback)
Validates rewrite aliases.
|
void createSubSitemap(CmsUUID entryId, com.google.gwt.user.client.rpc.AsyncCallback<CmsSitemapChange> callback)
entryId
- the structure id of the sitemap entry to create a sub sitemap ofcallback
- the async callbackvoid getAliasImportResult(java.lang.String resultKey, com.google.gwt.user.client.rpc.AsyncCallback<java.util.List<CmsAliasImportResult>> asyncCallback)
resultKey
- the key which identifies the alias import results to getasyncCallback
- the asynchronous callbackvoid getAliasTable(com.google.gwt.user.client.rpc.AsyncCallback<CmsAliasInitialFetchResult> callback)
callback
- the asynchronous callbackvoid getChildren(java.lang.String entryPointUri, CmsUUID entryId, int levels, com.google.gwt.user.client.rpc.AsyncCallback<CmsClientSitemapEntry> callback)
entryPointUri
- the URI of the sitemap entry pointentryId
- the entry idlevels
- the count of child levels to readcallback
- the async callbackvoid mergeSubSitemap(java.lang.String entryPoint, CmsUUID subSitemapId, com.google.gwt.user.client.rpc.AsyncCallback<CmsSitemapChange> callback)
entryPoint
- the sitemap entry pointsubSitemapId
- the structure id of the sub sitemap foldercallback
- the async callbackvoid prefetch(java.lang.String sitemapUri, com.google.gwt.user.client.rpc.AsyncCallback<CmsSitemapData> callback)
sitemapUri
- the site relative pathcallback
- the async callbackvoid save(java.lang.String sitemapUri, CmsSitemapChange change, com.google.gwt.user.client.rpc.AsyncCallback<CmsSitemapChange> callback)
sitemapUri
- the sitemap URIchange
- the change to savecallback
- the async callbackvoid saveAliases(CmsAliasSaveValidationRequest saveRequest, com.google.gwt.user.client.rpc.AsyncCallback<CmsAliasEditValidationReply> callback)
saveRequest
- the object containing the data to savecallback
- the asynchronous callback@SynchronizedRpcRequest void saveSync(java.lang.String sitemapUri, CmsSitemapChange change, com.google.gwt.user.client.rpc.AsyncCallback<CmsSitemapChange> callback)
sitemapUri
- the sitemap URIchange
- the change to savecallback
- the async callbackvoid updateAliasEditorStatus(boolean editing, com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> callback)
This is used to keep two users from editing the alias table for a site root concurrently.
editing
- true to indicate that the table is still being edited, false to indicate that the table isn't being edited anymorecallback
- the asynchronous callbackvoid validateAliases(CmsAliasEditValidationRequest validationRequest, com.google.gwt.user.client.rpc.AsyncCallback<CmsAliasEditValidationReply> callback)
validationRequest
- an object indicating the type of validation to performcallback
- the asynchronous callbackvoid validateRewriteAliases(CmsRewriteAliasValidationRequest validationRequest, com.google.gwt.user.client.rpc.AsyncCallback<CmsRewriteAliasValidationReply> callback)
validationRequest
- the rewrite alias data to validatecallback
- the callback for the result