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, tryUnlockcheckPermutationStrongName, getSerializationPolicy, onAfterResponseSerialized, onBeforeRequestDeserialized, processCall, processPost, shouldCompressResponsedoPost, getPermutationStrongName, getThreadLocalRequest, getThreadLocalResponse, onAfterRequestDeserialized, readContentdoDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, servicepublic 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_CmsSitemapServicecreateSubSitemap 在接口中 I_CmsSitemapServiceentryId - 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_CmsSitemapServicegetAliasImportResult 在接口中 I_CmsSitemapServiceresultKey - the key which identifies the alias import results to getI_CmsSitemapService.getAliasImportResult(java.lang.String)public CmsAliasInitialFetchResult getAliasTable() throws CmsRpcException
I_CmsSitemapServicegetAliasTable 在接口中 I_CmsSitemapServiceCmsRpcException - if something goes wrongI_CmsSitemapService.getAliasTable()public CmsClientSitemapEntry getChildren(java.lang.String entryPointUri, CmsUUID entryId, int levels) throws CmsRpcException
I_CmsSitemapServicegetChildren 在接口中 I_CmsSitemapServiceentryPointUri - 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_CmsSitemapServicemergeSubSitemap 在接口中 I_CmsSitemapServiceentryPoint - 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_CmsSitemapServiceprefetch 在接口中 I_CmsSitemapServicesitemapUri - 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_CmsSitemapServicesave 在接口中 I_CmsSitemapServiceentryPoint - 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_CmsSitemapServicesaveAliases 在接口中 I_CmsSitemapServicesaveRequest - 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_CmsSitemapServicesaveSync 在接口中 I_CmsSitemapServiceentryPoint - 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_CmsSitemapServiceThis is used to keep two users from editing the alias table for a site root concurrently.
updateAliasEditorStatus 在接口中 I_CmsSitemapServiceediting - 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_CmsSitemapServicevalidateAliases 在接口中 I_CmsSitemapServicevalidationRequest - an object indicating the type of validation to performI_CmsSitemapService.validateAliases(org.opencms.gwt.shared.alias.CmsAliasEditValidationRequest)public CmsRewriteAliasValidationReply validateRewriteAliases(CmsRewriteAliasValidationRequest validationRequest)
I_CmsSitemapServicevalidateRewriteAliases 在接口中 I_CmsSitemapServicevalidationRequest - 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