|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface I_CmsVfsService
A service interface for retrieving information about the VFS tree.
| Method Summary | |
|---|---|
void |
deleteResource(java.lang.String sitePath)
Deletes a resource from the VFS. |
void |
forceUnlock(CmsUUID structureId)
Forces a resource to be unlocked. |
CmsAvailabilityInfoBean |
getAvailabilityInfo(CmsUUID structureId)
Returns a CmsAvailabilityInfoBean for a given resource. |
CmsAvailabilityInfoBean |
getAvailabilityInfo(java.lang.String vfsPath)
Returns a CmsAvailabilityInfoBean for a given resource. |
CmsDeleteResourceBean |
getBrokenLinks(java.lang.String sitePath)
Returns a list of potentially broken links, if the given resource was deleted. |
java.util.List<CmsVfsEntryBean> |
getChildren(java.lang.String path)
Fetches the list of children of a path. |
CmsLockReportInfo |
getLockReportInfo(CmsUUID structureId)
Returns the lock report info. |
CmsListInfoBean |
getPageInfo(CmsUUID structureId)
Returns a CmsListInfoBean for a given resource. |
CmsListInfoBean |
getPageInfo(java.lang.String vfsPath)
Returns a CmsListInfoBean for a given resource. |
java.util.List<CmsVfsEntryBean> |
getRootEntries()
Returns the root entries of the VFS. |
java.lang.String |
getSitePath(CmsUUID structureId)
Returns the site-path for the resource with the given id. |
CmsPropertiesBean |
loadPropertyData(CmsUUID id)
Load the data necessary to edit the properties of a resource. |
CmsPrepareEditResponse |
prepareEdit(CmsUUID currentPage,
java.lang.String fileNameWithMacros)
Prepares to edit a file in the XML content editor. |
void |
saveProperties(CmsPropertyChangeSet changes)
Saves a set of property changes. |
java.lang.String |
substituteLinkForRootPath(java.lang.String currentSiteRoot,
java.lang.String rootPath)
Returns the absolute link to the given root path. |
| Method Detail |
|---|
void deleteResource(java.lang.String sitePath)
throws CmsRpcException
sitePath - the site path of the resource to delete
CmsRpcException - if something goes wrong
void forceUnlock(CmsUUID structureId)
throws CmsRpcException
structureId - the structure id of the resource to unlock
CmsRpcException - if something goes wrong
CmsAvailabilityInfoBean getAvailabilityInfo(CmsUUID structureId)
throws CmsRpcException
CmsAvailabilityInfoBean for a given resource.
structureId - the structure id to create the CmsAvailabilityInfoBean for
CmsAvailabilityInfoBean for a given resource
CmsRpcException - if the RPC call goes wrong
CmsAvailabilityInfoBean getAvailabilityInfo(java.lang.String vfsPath)
throws CmsRpcException
CmsAvailabilityInfoBean for a given resource.
vfsPath - the vfs path to create the CmsAvailabilityInfoBean for
CmsAvailabilityInfoBean for a given resource
CmsRpcException - if the RPC call goes wrong
CmsDeleteResourceBean getBrokenLinks(java.lang.String sitePath)
throws CmsRpcException
sitePath - the resource site-path
CmsRpcException - if something goes wrong
java.util.List<CmsVfsEntryBean> getChildren(java.lang.String path)
throws CmsRpcException
path - the path for which the list of children should be retrieved
CmsRpcException - if something goes wrong
CmsLockReportInfo getLockReportInfo(CmsUUID structureId)
throws CmsRpcException
structureId - the structure id of the resource to get the report for
CmsRpcException - if something goes wrong
CmsListInfoBean getPageInfo(CmsUUID structureId)
throws CmsRpcException
CmsListInfoBean for a given resource.
structureId - the structure id to create the CmsListInfoBean for
CmsListInfoBean for a given resource
CmsRpcException - if the RPC call goes wrong
CmsListInfoBean getPageInfo(java.lang.String vfsPath)
throws CmsRpcException
CmsListInfoBean for a given resource.
vfsPath - the vfs path to create the CmsListInfoBean for
CmsListInfoBean for a given resource
CmsRpcException - if the RPC call goes wrong
java.util.List<CmsVfsEntryBean> getRootEntries()
throws CmsRpcException
CmsRpcException - if something goes wrong
java.lang.String getSitePath(CmsUUID structureId)
throws CmsRpcException
structureId - the structure id
null if not available
CmsRpcException - if something goes wrong
CmsPropertiesBean loadPropertyData(CmsUUID id)
throws CmsRpcException
id - the structure id of a resource
CmsRpcException
CmsPrepareEditResponse prepareEdit(CmsUUID currentPage,
java.lang.String fileNameWithMacros)
throws CmsRpcException
currentPage - the current page from which the editor should be openedfileNameWithMacros - the file name, which may contain macros
CmsRpcException
void saveProperties(CmsPropertyChangeSet changes)
throws CmsRpcException
changes - a set of property changes
CmsRpcException - if something goes wrong
java.lang.String substituteLinkForRootPath(java.lang.String currentSiteRoot,
java.lang.String rootPath)
throws CmsRpcException
currentSiteRoot - the current siterootPath - the root path
CmsRpcException - if something goes wrong processing the request
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||