public class CmsVfsSitemapService extends CmsGwtService implements I_CmsSitemapService
I_CmsSitemapService
,
I_CmsSitemapServiceAsync
,
序列化表格限定符和类型 | 类和说明 |
---|---|
protected class |
CmsVfsSitemapService.LockInfo
Helper class for representing information about a lock.
|
限定符和类型 | 字段和说明 |
---|---|
static java.lang.String |
ALIAS_DOWNLOAD_PATH
The path of the JSP used to download aliases.
|
static java.lang.String |
ALIAS_IMPORT_PATH
The path to the JSP used to upload aliases.
|
static java.lang.String |
KEY_FUNCTION_DETAIL
The configuration key for the functionDetail attribute in the container.info property.
|
构造器和说明 |
---|
CmsVfsSitemapService() |
限定符和类型 | 方法和说明 |
---|---|
static java.lang.String |
addAliasImportResult(java.util.List<CmsAliasImportResult> results)
Adds an alias import result.
|
protected CmsBrokenLinkBean |
createSitemapBrokenLinkBean(CmsResource resource)
Creates a "broken link" bean based on a resource.
|
CmsSitemapChange |
createSubSitemap(CmsUUID entryId)
Creates a sub-sitemap of the given sitemap starting from the given entry.
|
protected CmsVfsSitemapService.LockInfo |
ensureLockAndGetInfo(CmsResource resource)
Locks the given resource with a temporary, if not already locked by the current user.
|
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.
|
CmsClientSitemapEntry |
getChildren(java.lang.String entryPointUri,
CmsUUID entryId,
int levels)
Returns the sitemap children for the given path.
|
CmsSitemapChange |
mergeSubSitemap(java.lang.String entryPoint,
CmsUUID subSitemapId)
Merges a sub-sitemap into it's parent sitemap.
|
static CmsSitemapData |
prefetch(javax.servlet.http.HttpServletRequest request,
java.lang.String sitemapUri)
Fetches the sitemap data.
|
CmsSitemapData |
prefetch(java.lang.String sitemapUri)
Returns the initialization data for the given sitemap.
|
CmsSitemapChange |
save(java.lang.String entryPoint,
CmsSitemapChange change)
Saves the change to the given sitemap.
|
CmsAliasEditValidationReply |
saveAliases(CmsAliasSaveValidationRequest saveRequest)
Saves the aliases for the bulk alias editor.
|
protected CmsSitemapChange |
saveInternal(java.lang.String entryPoint,
CmsSitemapChange change)
Internal method for saving a sitemap.
|
CmsSitemapChange |
saveSync(java.lang.String entryPoint,
CmsSitemapChange change)
Saves the change to the given sitemap.
|
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.
|
checkPermissions, clearThreadStorage, doGetSerializationPolicy, doUnexpectedFailure, ensureLock, ensureLock, ensureLock, ensureSession, error, getCmsObject, getPropertiesByName, getRequest, getResponse, log, log, logError, service, setCms, setContext, setRequest, setResponse, tryUnlock
checkPermutationStrongName, getSerializationPolicy, onAfterResponseSerialized, onBeforeRequestDeserialized, processCall, processPost, shouldCompressResponse
doPost, getPermutationStrongName, getThreadLocalRequest, getThreadLocalResponse, onAfterRequestDeserialized, readContent
doDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service
public static final java.lang.String ALIAS_DOWNLOAD_PATH
public static final java.lang.String ALIAS_IMPORT_PATH
public static final java.lang.String KEY_FUNCTION_DETAIL
public static java.lang.String addAliasImportResult(java.util.List<CmsAliasImportResult> results)
results
- the list of alias import results to addpublic static CmsSitemapData prefetch(javax.servlet.http.HttpServletRequest request, java.lang.String sitemapUri) throws CmsRpcException
request
- the current requestsitemapUri
- the site relative pathCmsRpcException
- if something goes wrongpublic CmsSitemapChange createSubSitemap(CmsUUID entryId) throws CmsRpcException
I_CmsSitemapService
createSubSitemap
在接口中 I_CmsSitemapService
entryId
- the structure id of the sitemap entry to create a sub sitemap ofCmsRpcException
- if something goes wrongI_CmsSitemapService.createSubSitemap(org.opencms.util.CmsUUID)
public java.util.List<CmsAliasImportResult> getAliasImportResult(java.lang.String resultKey)
I_CmsSitemapService
getAliasImportResult
在接口中 I_CmsSitemapService
resultKey
- the key which identifies the alias import results to getI_CmsSitemapService.getAliasImportResult(java.lang.String)
public CmsAliasInitialFetchResult getAliasTable() throws CmsRpcException
I_CmsSitemapService
getAliasTable
在接口中 I_CmsSitemapService
CmsRpcException
- if something goes wrongI_CmsSitemapService.getAliasTable()
public CmsClientSitemapEntry getChildren(java.lang.String entryPointUri, CmsUUID entryId, int levels) throws CmsRpcException
I_CmsSitemapService
getChildren
在接口中 I_CmsSitemapService
entryPointUri
- the URI of the sitemap entry pointentryId
- the entry idlevels
- the count of child levels to readCmsRpcException
- if something goes wrongI_CmsSitemapService.getChildren(java.lang.String, org.opencms.util.CmsUUID, int)
public CmsSitemapChange mergeSubSitemap(java.lang.String entryPoint, CmsUUID subSitemapId) throws CmsRpcException
I_CmsSitemapService
mergeSubSitemap
在接口中 I_CmsSitemapService
entryPoint
- the sitemap entry pointsubSitemapId
- the structure id of the sub sitemap folderCmsRpcException
- if something goes wrongI_CmsSitemapService.mergeSubSitemap(java.lang.String, org.opencms.util.CmsUUID)
public CmsSitemapData prefetch(java.lang.String sitemapUri) throws CmsRpcException
I_CmsSitemapService
prefetch
在接口中 I_CmsSitemapService
sitemapUri
- the site relative pathCmsRpcException
- if something goes wrongI_CmsSitemapService.prefetch(java.lang.String)
public CmsSitemapChange save(java.lang.String entryPoint, CmsSitemapChange change) throws CmsRpcException
I_CmsSitemapService
save
在接口中 I_CmsSitemapService
entryPoint
- the sitemap URIchange
- the change to saveCmsRpcException
- if something goes wrongI_CmsSitemapService.save(java.lang.String, org.opencms.ade.sitemap.shared.CmsSitemapChange)
public CmsAliasEditValidationReply saveAliases(CmsAliasSaveValidationRequest saveRequest) throws CmsRpcException
I_CmsSitemapService
saveAliases
在接口中 I_CmsSitemapService
saveRequest
- the object containing the data to saveCmsRpcException
- if something goes wrongI_CmsSitemapService.saveAliases(org.opencms.gwt.shared.alias.CmsAliasSaveValidationRequest)
public CmsSitemapChange saveSync(java.lang.String entryPoint, CmsSitemapChange change) throws CmsRpcException
I_CmsSitemapService
saveSync
在接口中 I_CmsSitemapService
entryPoint
- the sitemap URIchange
- the change to saveCmsRpcException
- if something goes wrongI_CmsSitemapService.saveSync(java.lang.String, org.opencms.ade.sitemap.shared.CmsSitemapChange)
public void updateAliasEditorStatus(boolean editing)
I_CmsSitemapService
This is used to keep two users from editing the alias table for a site root concurrently.
updateAliasEditorStatus
在接口中 I_CmsSitemapService
editing
- true to indicate that the table is still being edited, false to indicate that the table isn't being edited anymoreI_CmsSitemapService.updateAliasEditorStatus(boolean)
public CmsAliasEditValidationReply validateAliases(CmsAliasEditValidationRequest validationRequest)
I_CmsSitemapService
validateAliases
在接口中 I_CmsSitemapService
validationRequest
- an object indicating the type of validation to performI_CmsSitemapService.validateAliases(org.opencms.gwt.shared.alias.CmsAliasEditValidationRequest)
public CmsRewriteAliasValidationReply validateRewriteAliases(CmsRewriteAliasValidationRequest validationRequest)
I_CmsSitemapService
validateRewriteAliases
在接口中 I_CmsSitemapService
validationRequest
- the rewrite alias data to validateI_CmsSitemapService.validateRewriteAliases(org.opencms.gwt.shared.alias.CmsRewriteAliasValidationRequest)
protected CmsBrokenLinkBean createSitemapBrokenLinkBean(CmsResource resource) throws CmsException
resource
- the resourceCmsException
- if something goes wrongprotected CmsVfsSitemapService.LockInfo ensureLockAndGetInfo(CmsResource resource) throws CmsException
resource
- the resource to lockCmsException
- if the resource could not be lockedprotected CmsSitemapChange saveInternal(java.lang.String entryPoint, CmsSitemapChange change) throws CmsException
entryPoint
- the URI of the sitemap to savechange
- the change to saveCmsException