public interface I_CmsSitemapServiceAsync
CmsVfsSitemapService,
I_CmsSitemapService,
I_CmsSitemapServiceAsync| Modifier and Type | Method and Description |
|---|---|
void |
changeCategory(java.lang.String entryPoint,
CmsUUID id,
java.lang.String title,
java.lang.String name,
com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> callback)
Sets the name and title of the given category.
|
void |
createCategory(java.lang.String entryPoint,
CmsUUID id,
java.lang.String title,
java.lang.String name,
com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> callback)
Creates a new category.
|
void |
createNewGalleryFolder(java.lang.String parentFolder,
java.lang.String title,
int folderTypeId,
com.google.gwt.user.client.rpc.AsyncCallback<CmsGalleryFolderEntry> callback)
Creates a new gallery folder.
|
void |
createNewModelPage(java.lang.String entryPointUri,
java.lang.String title,
java.lang.String description,
CmsUUID copyId,
boolean isModelGroup,
com.google.gwt.user.client.rpc.AsyncCallback<CmsModelPageEntry> resultCallback)
Creates a new model page.
|
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 |
disableModelPage(java.lang.String baseUri,
CmsUUID modelPageId,
boolean disabled,
com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> callback)
Sets the disabled flag of a model page within the current sitemap configuration.
|
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 |
getCategoryData(java.lang.String entryPoint,
com.google.gwt.user.client.rpc.AsyncCallback<CmsSitemapCategoryData> resultCallback)
Gets the category data for the given entry point.
|
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 |
getGalleryData(java.lang.String entryPointUri,
com.google.gwt.user.client.rpc.AsyncCallback<java.util.Map<CmsGalleryType,java.util.List<CmsGalleryFolderEntry>>> callback)
Returns the gallery data to this sub site.
|
void |
getModelInfos(CmsUUID id,
com.google.gwt.user.client.rpc.AsyncCallback<CmsModelInfo> callback)
Gets the model pages for the given structure id of the sitemap root folder.
|
void |
getNewElementInfo(java.lang.String entryPointUri,
com.google.gwt.user.client.rpc.AsyncCallback<java.util.List<CmsNewResourceInfo>> resultCallback)
Loads the model page data for the "add" menu.
|
void |
getResourceLink(CmsUUID baseId,
java.lang.String sitePath,
com.google.gwt.user.client.rpc.AsyncCallback<java.lang.String> callback)
Fetches the link for a resource selected in the sitemap editor.
|
void |
loadPropertyDataForLocaleCompareView(CmsUUID id,
CmsUUID rootId,
com.google.gwt.user.client.rpc.AsyncCallback<CmsLocaleComparePropertyData> resultCallback)
Loads the data needed by the property editor in the locale comparison view.
|
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 |
prepareReloadSitemap(CmsUUID rootId,
CmsSitemapData.EditorMode mode,
com.google.gwt.user.client.rpc.AsyncCallback<java.lang.String> resultUrl)
Prepares sitemap reloading for the given sitemap root.
|
void |
removeModelPage(java.lang.String baseUri,
CmsUUID modelPageId,
com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> callback)
Removes a model page from the current sitemap configuration.
|
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 |
savePropertiesForLocaleCompareMode(CmsUUID id,
java.lang.String newUrlName,
java.util.List<CmsPropertyModification> propertyChanges,
boolean editedName,
com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> callback)
Saves the changed properties in locale comparison mode.
|
void |
setDefaultModel(CmsUUID rootId,
CmsUUID modelId,
com.google.gwt.user.client.rpc.AsyncCallback<CmsModelInfo> callback)
Sets the default model page for the given sub-sitemap, returns the updated model info.
|
void |
setEditorMode(CmsSitemapData.EditorMode editorMode,
com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> callback)
Sets the editor mode in the current user session.
|
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 changeCategory(java.lang.String entryPoint, CmsUUID id, java.lang.String title, java.lang.String name, com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> callback)
entryPoint - the current entry pointid - the category idtitle - the new titlename - the new namecallback - the callback to call when donevoid createCategory(java.lang.String entryPoint, CmsUUID id, java.lang.String title, java.lang.String name, com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> callback)
entryPoint - the entry pointid - the parent category idtitle - the titlename - the category namecallback - the result callbackvoid createNewGalleryFolder(java.lang.String parentFolder, java.lang.String title, int folderTypeId, com.google.gwt.user.client.rpc.AsyncCallback<CmsGalleryFolderEntry> callback)
parentFolder - the parent folder pathtitle - the title propertyfolderTypeId - the resource type idcallback - the async callbackvoid createNewModelPage(java.lang.String entryPointUri, java.lang.String title, java.lang.String description, CmsUUID copyId, boolean isModelGroup, com.google.gwt.user.client.rpc.AsyncCallback<CmsModelPageEntry> resultCallback)
entryPointUri - the uri of the entry pointtitle - the title for the model pagedescription - the description for the model pagecopyId - the structure id of the resource to copy to create a new model page; if null, the model page is created as an empty container pageisModelGroup - true to create a new model group pageresultCallback - the callback for the resultvoid 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 disableModelPage(java.lang.String baseUri, CmsUUID modelPageId, boolean disabled, com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> callback)
baseUri - the base uri for the current sitemapmodelPageId - structure id of the model page to removedisabled - the disabled flagcallback - the 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 getCategoryData(java.lang.String entryPoint, com.google.gwt.user.client.rpc.AsyncCallback<CmsSitemapCategoryData> resultCallback)
entryPoint - the entry pointresultCallback - the callback for the resultvoid 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 getGalleryData(java.lang.String entryPointUri, com.google.gwt.user.client.rpc.AsyncCallback<java.util.Map<CmsGalleryType,java.util.List<CmsGalleryFolderEntry>>> callback)
entryPointUri - the sub site foldercallback - the async callbackvoid getModelInfos(CmsUUID id, com.google.gwt.user.client.rpc.AsyncCallback<CmsModelInfo> callback)
id - structure id of a foldercallback - the callback for the resultvoid getNewElementInfo(java.lang.String entryPointUri, com.google.gwt.user.client.rpc.AsyncCallback<java.util.List<CmsNewResourceInfo>> resultCallback)
entryPointUri - the entry point uriresultCallback - the callback for the resultvoid getResourceLink(CmsUUID baseId, java.lang.String sitePath, com.google.gwt.user.client.rpc.AsyncCallback<java.lang.String> callback)
baseId - the structure id of the current sitemap root entrysitePath - the site path of a resourcecallback - the callback to call with the resultvoid loadPropertyDataForLocaleCompareView(CmsUUID id, CmsUUID rootId, com.google.gwt.user.client.rpc.AsyncCallback<CmsLocaleComparePropertyData> resultCallback)
id - the id of the resource for which the property editor should be openedrootId - the structure id of the resource which corresponds to the tree root in locale compare moderesultCallback - the callback to call with the resultvoid 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 prepareReloadSitemap(CmsUUID rootId, CmsSitemapData.EditorMode mode, com.google.gwt.user.client.rpc.AsyncCallback<java.lang.String> resultUrl)
This method may change the currently set site root.
rootId - the structure id of the new sitemap rootmode - the new editor moderesultUrl - the callback for the URL which should be used to reload the sitemapvoid removeModelPage(java.lang.String baseUri, CmsUUID modelPageId, com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> callback)
baseUri - the base uri for the current sitemapmodelPageId - structure id of the model page to removecallback - the 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 callbackvoid savePropertiesForLocaleCompareMode(CmsUUID id, java.lang.String newUrlName, java.util.List<CmsPropertyModification> propertyChanges, boolean editedName, com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> callback)
id - the structure idnewUrlName - the new URL namepropertyChanges - the property changeseditedName - true if the name was editedcallback - the callback to call when donevoid setDefaultModel(CmsUUID rootId, CmsUUID modelId, com.google.gwt.user.client.rpc.AsyncCallback<CmsModelInfo> callback)
rootId - structure id of the sub-sitemap root foldermodelId - the id of the model page to set as defaultcallback - the callback for the resultvoid setEditorMode(CmsSitemapData.EditorMode editorMode, com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> callback)
editorMode - the editor mode to setcallback - the asynchronous 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