public interface I_CmsVfsService
extends com.google.gwt.user.client.rpc.RemoteService
限定符和类型 | 方法和说明 |
---|---|
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.Map<CmsUUID,java.util.Map<java.lang.String,CmsXmlContentProperty>> |
getDefaultProperties(java.util.List<CmsUUID> structureIds)
Gets the default property configurations for the given structure ids.
|
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,
boolean includeTargets,
java.util.List<CmsUUID> additionalTargetIds)
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.
|
void createPropertyDefinition(java.lang.String propDef) throws CmsRpcException
propDef
- the name of the propertyCmsRpcException
- if something goes wrongvoid deleteResource(CmsUUID structureId) throws CmsRpcException
structureId
- the structure id of the resource to deleteCmsRpcException
- if something goes wrongvoid deleteResource(java.lang.String sitePath) throws CmsRpcException
sitePath
- the site path of the resource to deleteCmsRpcException
- if something goes wrongvoid forceUnlock(CmsUUID structureId) throws CmsRpcException
structureId
- the structure id of the resource to unlockCmsRpcException
- if something goes wrongjava.util.List<CmsAliasBean> getAliasesForPage(CmsUUID uuid) throws CmsRpcException
uuid
- the structure id of the pageCmsRpcException
- if something goes wrongCmsAvailabilityInfoBean getAvailabilityInfo(CmsUUID structureId) throws CmsRpcException
CmsAvailabilityInfoBean
for a given resource.structureId
- the structure id to create the CmsAvailabilityInfoBean
forCmsAvailabilityInfoBean
for a given resourceCmsRpcException
- if the RPC call goes wrongCmsAvailabilityInfoBean getAvailabilityInfo(java.lang.String vfsPath) throws CmsRpcException
CmsAvailabilityInfoBean
for a given resource.vfsPath
- the vfs path to create the CmsAvailabilityInfoBean
forCmsAvailabilityInfoBean
for a given resourceCmsRpcException
- if the RPC call goes wrongCmsDeleteResourceBean getBrokenLinks(CmsUUID structureId) throws CmsRpcException
structureId
- the resource structure idCmsRpcException
- if something goes wrongCmsDeleteResourceBean getBrokenLinks(java.lang.String sitePath) throws CmsRpcException
sitePath
- the resource site-pathCmsRpcException
- if something goes wrongjava.util.List<CmsVfsEntryBean> getChildren(java.lang.String path) throws CmsRpcException
path
- the path for which the list of children should be retrievedCmsRpcException
- if something goes wrongjava.util.Map<CmsUUID,java.util.Map<java.lang.String,CmsXmlContentProperty>> getDefaultProperties(java.util.List<CmsUUID> structureIds) throws CmsRpcException
structureIds
- the structure ids for which the property configurations should be fetchedCmsRpcException
- if something goes wrongjava.util.ArrayList<java.lang.String> getDefinedProperties() throws CmsRpcException
CmsRpcException
- if something goes wrongCmsReplaceInfo getFileReplaceInfo(CmsUUID structureId) throws CmsRpcException
structureId
- the structure id of the file to replaceCmsRpcException
- if the RPC call goes wrongCmsLockReportInfo getLockReportInfo(CmsUUID structureId) throws CmsRpcException
structureId
- the structure id of the resource to get the report forCmsRpcException
- if something goes wrongCmsListInfoBean getPageInfo(CmsUUID structureId) throws CmsRpcException
CmsListInfoBean
for a given resource.structureId
- the structure id to create the CmsListInfoBean
forCmsListInfoBean
for a given resourceCmsRpcException
- if the RPC call goes wrongCmsListInfoBean getPageInfo(java.lang.String vfsPath) throws CmsRpcException
CmsListInfoBean
for a given resource.vfsPath
- the vfs path to create the CmsListInfoBean
forCmsListInfoBean
for a given resourceCmsRpcException
- if the RPC call goes wrongCmsPreviewInfo getPreviewInfo(CmsUUID structureId, java.lang.String locale) throws CmsRpcException
structureId
- the resource structure idlocale
- the requested localeCmsRpcException
- if something goes wrongCmsPreviewInfo getPreviewInfo(java.lang.String sitePath, java.lang.String locale) throws CmsRpcException
sitePath
- the resource site pathlocale
- the requested localeCmsRpcException
- if something goes wrongCmsRenameInfoBean getRenameInfo(CmsUUID structureId) throws CmsRpcException
structureId
- the structure id of the resource to renameCmsRpcException
- if something goes wrongCmsResourceStatusBean getResourceStatus(CmsUUID structureId, java.lang.String locale, boolean includeTargets, java.util.List<CmsUUID> additionalTargetIds) throws CmsRpcException
structureId
- the structure id of a resourcelocale
- the locale for which we want the resource informationincludeTargets
- true if relation targets should also be fetchedadditionalTargetIds
- structure ids of resources to add to the relation targets returnedCmsRpcException
- if something goes wrongCmsRestoreInfoBean getRestoreInfo(CmsUUID structureId) throws CmsRpcException
structureId
- the structure id of the resourceCmsRpcException
- if something goes wrongjava.util.List<CmsVfsEntryBean> getRootEntries() throws CmsRpcException
CmsRpcException
- if something goes wrongjava.lang.String getSitePath(CmsUUID structureId) throws CmsRpcException
structureId
- the structure idnull
if not availableCmsRpcException
- if something goes wrongCmsPropertiesBean loadPropertyData(CmsUUID id) throws CmsRpcException
id
- the structure id of a resourceCmsRpcException
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 macrosCmsRpcException
java.lang.String renameResource(CmsUUID structureId, java.lang.String newName) throws CmsRpcException
structureId
- the structure id of the resource to renamenewName
- the new resource nameCmsRpcException
- if something goes wrongvoid 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 pageCmsRpcException
void saveProperties(CmsPropertyChangeSet changes) throws CmsRpcException
changes
- a set of property changesCmsRpcException
- if something goes wrongjava.lang.String substituteLinkForRootPath(java.lang.String currentSiteRoot, java.lang.String rootPath) throws CmsRpcException
currentSiteRoot
- the current siterootPath
- the root pathCmsRpcException
- if something goes wrong processing the requestvoid syncDeleteResource(CmsUUID structureId) throws CmsRpcException
structureId
- the structure id of the resource to deleteCmsRpcException
- if something goes wrongvoid undoChanges(CmsUUID structureId, boolean undoMove) throws CmsRpcException
structureId
- the structure id of the resource to undoundoMove
- true if move operations should be undoneCmsRpcException
- if something goes wrongjava.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 pathsCmsRpcException
- if something goes wrong