|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet
com.google.gwt.user.server.rpc.RemoteServiceServlet
org.opencms.gwt.CmsGwtService
org.opencms.ade.sitemap.CmsVfsSitemapService
public class CmsVfsSitemapService
Handles all RPC services related to the vfs sitemap.
I_CmsSitemapService
,
I_CmsSitemapServiceAsync
,
Serialized FormNested Class Summary | |
---|---|
protected class |
CmsVfsSitemapService.LockInfo
Helper class for representing information about a lock. |
Field Summary | |
---|---|
static String |
KEY_FUNCTION_DETAIL
The configuration key for the functionDetail attribute in the container.info property. |
Fields inherited from class com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet |
---|
perThreadRequest, perThreadResponse |
Constructor Summary | |
---|---|
CmsVfsSitemapService()
|
Method Summary | |
---|---|
protected CmsBrokenLinkBean |
createSitemapBrokenLinkBean(CmsResource resource)
Creates a "broken link" bean based on a resource. |
CmsSubSitemapInfo |
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. |
CmsAdditionalEntryInfo |
getAdditionalEntryInfo(CmsUUID structureId)
Returns additional sitemap entry information. |
CmsClientSitemapEntry |
getChildren(String entryPointUri,
String root,
int levels)
Returns the sitemap children for the given path. |
CmsSitemapMergeInfo |
mergeSubSitemap(String entryPoint,
CmsUUID subSitemapId)
Merges a sub-sitemap into it's parent sitemap. |
static CmsVfsSitemapService |
newInstance(javax.servlet.http.HttpServletRequest request)
Returns a new configured service instance. |
CmsSitemapData |
prefetch(String sitemapUri)
Returns the initialization data for the given sitemap. |
List<CmsClientSitemapEntry> |
save(String entryPoint,
CmsSitemapChange change)
Saves the change to the given sitemap. |
protected List<CmsClientSitemapEntry> |
saveInternal(String entryPoint,
CmsSitemapChange change)
Internal method for saving a sitemap. |
List<CmsClientSitemapEntry> |
saveSync(String entryPoint,
CmsSitemapChange change)
Saves the change to the given sitemap. |
Methods inherited from class org.opencms.gwt.CmsGwtService |
---|
checkPermissions, doGetSerializationPolicy, doUnexpectedFailure, ensureLock, ensureLock, ensureLock, ensureSession, error, getCmsObject, getPropertiesByName, getRequest, getResponse, log, log, logError, service, setCms, setContext, setRequest, tryUnlock |
Methods inherited from class com.google.gwt.user.server.rpc.RemoteServiceServlet |
---|
checkPermutationStrongName, getSerializationPolicy, onAfterResponseSerialized, onBeforeRequestDeserialized, processCall, processPost, shouldCompressResponse |
Methods inherited from class com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet |
---|
doPost, getPermutationStrongName, getThreadLocalRequest, getThreadLocalResponse, onAfterRequestDeserialized, readContent |
Methods inherited from class javax.servlet.http.HttpServlet |
---|
doDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service |
Methods inherited from class javax.servlet.GenericServlet |
---|
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String KEY_FUNCTION_DETAIL
Constructor Detail |
---|
public CmsVfsSitemapService()
Method Detail |
---|
public static CmsVfsSitemapService newInstance(javax.servlet.http.HttpServletRequest request)
request
- the current request
public CmsSubSitemapInfo createSubSitemap(CmsUUID entryId) throws CmsRpcException
I_CmsSitemapService
createSubSitemap
in interface I_CmsSitemapService
entryId
- the structure id of the sitemap entry to create a sub sitemap of
CmsRpcException
- if something goes wrongI_CmsSitemapService.createSubSitemap(org.opencms.util.CmsUUID)
public CmsAdditionalEntryInfo getAdditionalEntryInfo(CmsUUID structureId) throws CmsRpcException
I_CmsSitemapService
getAdditionalEntryInfo
in interface I_CmsSitemapService
structureId
- the entry structure id
CmsRpcException
- if something goes wrongI_CmsSitemapService.getAdditionalEntryInfo(org.opencms.util.CmsUUID)
public CmsClientSitemapEntry getChildren(String entryPointUri, String root, int levels) throws CmsRpcException
I_CmsSitemapService
getChildren
in interface I_CmsSitemapService
entryPointUri
- the URI of the sitemap entry pointroot
- the site relative rootlevels
- the count of child levels to read
CmsRpcException
- if something goes wrongI_CmsSitemapService.getChildren(java.lang.String, java.lang.String, int)
public CmsSitemapMergeInfo mergeSubSitemap(String entryPoint, CmsUUID subSitemapId) throws CmsRpcException
I_CmsSitemapService
mergeSubSitemap
in interface I_CmsSitemapService
entryPoint
- the sitemap entry pointsubSitemapId
- the structure id of the sub sitemap folder
CmsRpcException
- if something goes wrongI_CmsSitemapService.mergeSubSitemap(java.lang.String, org.opencms.util.CmsUUID)
public CmsSitemapData prefetch(String sitemapUri) throws CmsRpcException
I_CmsSitemapService
prefetch
in interface I_CmsSitemapService
sitemapUri
- the site relative path
CmsRpcException
- if something goes wrongI_CmsSitemapService.prefetch(java.lang.String)
public List<CmsClientSitemapEntry> save(String entryPoint, CmsSitemapChange change) throws CmsRpcException
I_CmsSitemapService
save
in interface I_CmsSitemapService
entryPoint
- the sitemap URIchange
- the change to save
CmsRpcException
- if something goes wrongI_CmsSitemapService.save(java.lang.String, org.opencms.ade.sitemap.shared.CmsSitemapChange)
public List<CmsClientSitemapEntry> saveSync(String entryPoint, CmsSitemapChange change) throws CmsRpcException
I_CmsSitemapService
saveSync
in interface I_CmsSitemapService
entryPoint
- the sitemap URIchange
- the change to save
CmsRpcException
- if something goes wrongI_CmsSitemapService.saveSync(java.lang.String, org.opencms.ade.sitemap.shared.CmsSitemapChange)
protected CmsBrokenLinkBean createSitemapBrokenLinkBean(CmsResource resource) throws CmsException
resource
- the resource
CmsException
- if something goes wrongprotected CmsVfsSitemapService.LockInfo ensureLockAndGetInfo(CmsResource resource) throws CmsException
resource
- the resource to lock
CmsException
- if the resource could not be lockedprotected List<CmsClientSitemapEntry> saveInternal(String entryPoint, CmsSitemapChange change) throws CmsException
entryPoint
- the URI of the sitemap to savechange
- the change to save
CmsException
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |