public interface I_CmsSitemapService extends com.google.gwt.user.client.rpc.RemoteService
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)
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)
Creates a new category.
|
CmsGalleryFolderEntry |
createNewGalleryFolder(java.lang.String parentFolder,
java.lang.String title,
int folderTypeId)
Creates a new gallery folder.
|
CmsModelPageEntry |
createNewModelPage(java.lang.String entryPointUri,
java.lang.String title,
java.lang.String description,
CmsUUID copyId,
boolean isModelGroup)
Creates a new model page.
|
CmsSitemapChange |
createSubSitemap(CmsUUID entryId)
Creates a sub-sitemap of the given sitemap starting from the given entry.
|
void |
disableModelPage(java.lang.String baseUri,
CmsUUID modelPageId,
boolean disabled)
Sets the disabled flag of a model page within the current sitemap configuration.
|
java.util.List<CmsAliasImportResult> |
getAliasImportResult(java.lang.String resultKey)
Gets the alias import results from the server.
|
CmsAliasInitialFetchResult |
getAliasTable()
Gets the initial data for the bulk alias editor.
|
CmsSitemapCategoryData |
getCategoryData(java.lang.String entryPoint)
Gets the category data for the given entry point.
|
CmsClientSitemapEntry |
getChildren(java.lang.String entryPointUri,
CmsUUID entryId,
int levels)
Returns the sitemap children for the given path.
|
java.util.Map<CmsGalleryType,java.util.List<CmsGalleryFolderEntry>> |
getGalleryData(java.lang.String entryPointUri)
Returns the gallery data to this sub site.
|
CmsModelInfo |
getModelInfos(CmsUUID rootId)
Gets the model pages for the given structure id of the sitemap root folder.
|
java.util.List<CmsNewResourceInfo> |
getNewElementInfo(java.lang.String entryPointUri)
Loads the model page data for the "add" menu.
|
java.lang.String |
getResourceLink(CmsUUID baseId,
java.lang.String sitePath)
Fetches the link for a resource selected in the sitemap editor.
|
CmsLocaleComparePropertyData |
loadPropertyDataForLocaleCompareView(CmsUUID id,
CmsUUID rootId)
Loads the data needed by the property editor in the locale comparison view.
|
CmsSitemapChange |
mergeSubSitemap(java.lang.String entryPoint,
CmsUUID subSitemapId)
Merges a sub-sitemap into it's parent sitemap.
|
CmsSitemapData |
prefetch(java.lang.String sitemapUri)
Returns the initialization data for the given sitemap.
|
java.lang.String |
prepareReloadSitemap(CmsUUID rootId,
CmsSitemapData.EditorMode mode)
Prepares sitemap reloading for the given sitemap root.
|
void |
removeModelPage(java.lang.String baseUri,
CmsUUID modelPageId)
Removes a model page from the current sitemap configuration.
|
CmsSitemapChange |
save(java.lang.String sitemapUri,
CmsSitemapChange change)
Saves the change to the given sitemap.
|
CmsAliasEditValidationReply |
saveAliases(CmsAliasSaveValidationRequest saveRequest)
Saves the aliases for the bulk alias editor.
|
void |
savePropertiesForLocaleCompareMode(CmsUUID id,
java.lang.String newUrlName,
java.util.List<CmsPropertyModification> propertyChanges,
boolean editedName)
Saves the changed properties in locale comparison mode.
|
CmsModelInfo |
setDefaultModel(CmsUUID rootId,
CmsUUID modelId)
Sets the default model page for the given sub-sitemap, returns the updated model info.
|
void |
setEditorMode(CmsSitemapData.EditorMode editorMode)
Sets the editor mode in the current user session.
|
void |
updateAliasEditorStatus(boolean editing)
Updates the alias editor status.
|
CmsAliasEditValidationReply |
validateAliases(CmsAliasEditValidationRequest validationRequest)
Validates the aliases for the bulk alias editor.
|
CmsRewriteAliasValidationReply |
validateRewriteAliases(CmsRewriteAliasValidationRequest validationRequest)
Validates rewrite aliases.
|
void changeCategory(java.lang.String entryPoint, CmsUUID id, java.lang.String title, java.lang.String name) throws CmsRpcException
entryPoint - the current entry pointid - the category idtitle - the new titlename - the new nameCmsRpcException - if something goes wrongvoid createCategory(java.lang.String entryPoint, CmsUUID id, java.lang.String title, java.lang.String name) throws CmsRpcException
entryPoint - the entry pointid - the parent category idtitle - the titlename - the category nameCmsRpcException - if something goes wrongCmsGalleryFolderEntry createNewGalleryFolder(java.lang.String parentFolder, java.lang.String title, int folderTypeId) throws CmsRpcException
parentFolder - the parent folder pathtitle - the title propertyfolderTypeId - the resource type idCmsRpcException - if something goes wrongCmsModelPageEntry createNewModelPage(java.lang.String entryPointUri, java.lang.String title, java.lang.String description, CmsUUID copyId, boolean isModelGroup) throws CmsRpcException
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 pageCmsRpcException - if something goes wrongCmsSitemapChange createSubSitemap(CmsUUID entryId) throws CmsRpcException
entryId - the structure id of the sitemap entry to create a sub sitemap ofCmsRpcException - if something goes wrongvoid disableModelPage(java.lang.String baseUri, CmsUUID modelPageId, boolean disabled) throws CmsRpcException
baseUri - the base uri for the current sitemapmodelPageId - structure id of the model page to removedisabled - the disabled flagCmsRpcException - if something goes wrongjava.util.List<CmsAliasImportResult> getAliasImportResult(java.lang.String resultKey) throws CmsRpcException
resultKey - the key which identifies the alias import results to getCmsRpcException - if something goes wrongCmsAliasInitialFetchResult getAliasTable() throws CmsRpcException
CmsRpcException - if something goes wrongCmsSitemapCategoryData getCategoryData(java.lang.String entryPoint) throws CmsRpcException
entryPoint - the entry pointCmsRpcException - if something goes wrongCmsClientSitemapEntry getChildren(java.lang.String entryPointUri, CmsUUID entryId, int levels) throws CmsRpcException
entryPointUri - the URI of the sitemap entry pointentryId - the entry idlevels - the count of child levels to readCmsRpcException - if something goes wrongjava.util.Map<CmsGalleryType,java.util.List<CmsGalleryFolderEntry>> getGalleryData(java.lang.String entryPointUri) throws CmsRpcException
entryPointUri - the sub site folderCmsRpcException - if something goes wrongCmsModelInfo getModelInfos(CmsUUID rootId) throws CmsRpcException
rootId - structure id of a folderCmsRpcException - if something goes wrongjava.util.List<CmsNewResourceInfo> getNewElementInfo(java.lang.String entryPointUri) throws CmsRpcException
entryPointUri - the entry point uriCmsRpcException - if something goes wrongjava.lang.String getResourceLink(CmsUUID baseId, java.lang.String sitePath) throws CmsRpcException
baseId - the structure id of the current sitemap root entrysitePath - the site path of a resourceCmsRpcException - if something goes wrongCmsLocaleComparePropertyData loadPropertyDataForLocaleCompareView(CmsUUID id, CmsUUID rootId) throws CmsRpcException
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 modeCmsRpcException - if something goes wrongCmsSitemapChange mergeSubSitemap(java.lang.String entryPoint, CmsUUID subSitemapId) throws CmsRpcException
entryPoint - the sitemap entry pointsubSitemapId - the structure id of the sub sitemap folderCmsRpcException - if something goes wrongCmsSitemapData prefetch(java.lang.String sitemapUri) throws CmsRpcException
sitemapUri - the site relative pathCmsRpcException - if something goes wrongjava.lang.String prepareReloadSitemap(CmsUUID rootId, CmsSitemapData.EditorMode mode) throws CmsRpcException
This method may change the currently set site root. If the given root id is not in a valid site, null will be returned, otherwise the URL which the client should use to reload the sitemap will be returned.
rootId - the structure id of the new sitemap rootmode - the new editor modeCmsRpcException - if something goes wrongvoid removeModelPage(java.lang.String baseUri, CmsUUID modelPageId) throws CmsRpcException
baseUri - the base uri for the current sitemapmodelPageId - structure id of the model page to removeCmsRpcException - if something goes wrongCmsSitemapChange save(java.lang.String sitemapUri, CmsSitemapChange change) throws CmsRpcException
sitemapUri - the sitemap URIchange - the change to saveCmsRpcException - if something goes wrongCmsAliasEditValidationReply saveAliases(CmsAliasSaveValidationRequest saveRequest) throws CmsRpcException
saveRequest - the object containing the data to saveCmsRpcException - if something goes wrongvoid savePropertiesForLocaleCompareMode(CmsUUID id, java.lang.String newUrlName, java.util.List<CmsPropertyModification> propertyChanges, boolean editedName) throws CmsRpcException
id - the structure idnewUrlName - the new URL namepropertyChanges - the property changeseditedName - true if the name was editedCmsRpcException - if something goes wrongCmsModelInfo setDefaultModel(CmsUUID rootId, CmsUUID modelId) throws CmsRpcException
rootId - structure id of the sub-sitemap root foldermodelId - the id of the model page to set as defaultCmsRpcException - if something goes wrongvoid setEditorMode(CmsSitemapData.EditorMode editorMode) throws CmsRpcException
editorMode - the editor mode to setCmsRpcException - in case something goes wrongvoid updateAliasEditorStatus(boolean editing) throws CmsRpcException
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 anymoreCmsRpcException - if something goes wrongCmsAliasEditValidationReply validateAliases(CmsAliasEditValidationRequest validationRequest) throws CmsRpcException
validationRequest - an object indicating the type of validation to performCmsRpcException - if something goes wrongCmsRewriteAliasValidationReply validateRewriteAliases(CmsRewriteAliasValidationRequest validationRequest) throws CmsRpcException
validationRequest - the rewrite alias data to validateCmsRpcException - if something goes wrong