|
||||||||
| 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 |
createPropertyDefinition(java.lang.String propDef)
Creates a new property definition. |
void |
deleteResource(CmsUUID structureId)
Deletes a resource from the VFS. |
void |
deleteResource(java.lang.String sitePath)
Deletes a resource from the VFS. |
void |
forceUnlock(CmsUUID structureId)
Forces a resource to be unlocked. |
java.util.List<CmsAliasBean> |
getAliasesForPage(CmsUUID uuid)
Fetches the aliases for a given page. |
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(CmsUUID structureId)
Returns a list of potentially broken links, if the given resource was deleted. |
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. |
java.util.ArrayList<java.lang.String> |
getDefinedProperties()
Gets the names of defined properties. |
CmsReplaceInfo |
getFileReplaceInfo(CmsUUID structureId)
Returns the file replace info. |
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. |
CmsPreviewInfo |
getPreviewInfo(CmsUUID structureId,
java.lang.String locale)
Returns the preview info for the given resource. |
CmsPreviewInfo |
getPreviewInfo(java.lang.String sitePath,
java.lang.String locale)
Returns the preview info for the given resource. |
CmsRenameInfoBean |
getRenameInfo(CmsUUID structureId)
Gets the information necessary for the rename dialog. |
CmsResourceStatusBean |
getResourceStatus(CmsUUID structureId,
java.lang.String locale)
Gets a bean containing status information for a given resource. |
CmsRestoreInfoBean |
getRestoreInfo(CmsUUID structureId)
Gets the information which is necessary for opening the 'Restore' dialog for a 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. |
java.lang.String |
renameResource(CmsUUID structureId,
java.lang.String newName)
Renames a resource. |
void |
saveAliases(CmsUUID structureId,
java.util.List<CmsAliasBean> aliases)
Saves aliases for a page. |
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. |
void |
syncDeleteResource(CmsUUID structureId)
Deletes a resource from the VFS. |
void |
undoChanges(CmsUUID structureId,
boolean undoMove)
Undoes the changes to a given resource, i.e. restores its online content to its offline version. |
java.util.Map<java.lang.String,java.lang.String> |
validateAliases(CmsUUID uuid,
java.util.Map<java.lang.String,java.lang.String> aliasPaths)
Validates alias paths for a page. |
| Method Detail |
|---|
void createPropertyDefinition(java.lang.String propDef)
throws CmsRpcException
propDef - the name of the property
CmsRpcException - if something goes wrong
void deleteResource(CmsUUID structureId)
throws CmsRpcException
structureId - the structure id of the resource to delete
CmsRpcException - if something goes wrong
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
java.util.List<CmsAliasBean> getAliasesForPage(CmsUUID uuid)
throws CmsRpcException
uuid - the structure id of the page
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(CmsUUID structureId)
throws CmsRpcException
structureId - the resource structure id
CmsRpcException - if something 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
java.util.ArrayList<java.lang.String> getDefinedProperties()
throws CmsRpcException
CmsRpcException - if something goes wrong
CmsReplaceInfo getFileReplaceInfo(CmsUUID structureId)
throws CmsRpcException
structureId - the structure id of the file to replace
CmsRpcException - if the RPC call 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
CmsPreviewInfo getPreviewInfo(CmsUUID structureId,
java.lang.String locale)
throws CmsRpcException
structureId - the resource structure idlocale - the requested locale
CmsRpcException - if something goes wrong
CmsPreviewInfo getPreviewInfo(java.lang.String sitePath,
java.lang.String locale)
throws CmsRpcException
sitePath - the resource site pathlocale - the requested locale
CmsRpcException - if something goes wrong
CmsRenameInfoBean getRenameInfo(CmsUUID structureId)
throws CmsRpcException
structureId - the structure id of the resource to rename
CmsRpcException - if something goes wrong
CmsResourceStatusBean getResourceStatus(CmsUUID structureId,
java.lang.String locale)
throws CmsRpcException
structureId - the structure id of a resourcelocale - the locale for which we want the resource information
CmsRpcException - if something goes wrong
CmsRestoreInfoBean getRestoreInfo(CmsUUID structureId)
throws CmsRpcException
structureId - the structure id of the resource
CmsRpcException - if something 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
java.lang.String renameResource(CmsUUID structureId,
java.lang.String newName)
throws CmsRpcException
structureId - the structure id of the resource to renamenewName - the new resource name
CmsRpcException - if something goes wrong
void saveAliases(CmsUUID structureId,
java.util.List<CmsAliasBean> aliases)
throws CmsRpcException
structureId - the structure id of the pagealiases - the aliases which should be saved for the page
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
void syncDeleteResource(CmsUUID structureId)
throws CmsRpcException
structureId - the structure id of the resource to delete
CmsRpcException - if something goes wrong
void undoChanges(CmsUUID structureId,
boolean undoMove)
throws CmsRpcException
structureId - the structure id of the resource to undoundoMove - true if move operations should be undone
CmsRpcException - if something goes wrong
java.util.Map<java.lang.String,java.lang.String> validateAliases(CmsUUID uuid,
java.util.Map<java.lang.String,java.lang.String> aliasPaths)
throws CmsRpcException
uuid - the structure id of the pagealiasPaths - a map from (arbitrary) id strings to alias paths
CmsRpcException - if something goes wrong
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||