public interface I_CmsVfsService extends com.google.gwt.user.client.rpc.RemoteService
| Modifier and Type | Method and Description |
|---|---|
void |
createNewExternalLink(java.lang.String title,
java.lang.String link,
java.lang.String resourceName,
java.lang.String parentFolderPath)
Creates a new external link resource.
|
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.
|
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.lang.String |
getDataViewThumbnail(java.lang.String config,
java.lang.String id)
Loads a thumbnail for a dataview record.
|
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.
|
CmsPreviewInfo |
getHistoryPreviewInfo(CmsUUID structureId,
java.lang.String locale,
CmsHistoryVersion version)
Gets the preview information for a historic version.
|
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.
|
CmsHistoryResourceCollection |
getResourceHistory(CmsUUID structureId)
Gets the resource history for a given structure id.
|
CmsResourceStatusBean |
getResourceStatus(CmsUUID structureId,
java.lang.String locale,
boolean includeTargets,
CmsUUID detailContentId,
java.util.Map<java.lang.String,java.lang.String> context)
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.
|
CmsExternalLinkInfoBean |
loadLinkInfo(CmsUUID structureId)
Loads the external link info.
|
CmsPropertiesBean |
loadPropertyData(CmsUUID id)
Load the data necessary to edit the properties of a resource.
|
java.util.List<CmsQuickLaunchData> |
loadQuickLaunchItems(CmsQuickLaunchParams params)
Loads the items for the quick launch menu.
|
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 |
restoreResource(CmsUUID structureId,
int version)
Reverts a resource to a previous historic version.
|
void |
saveAliases(CmsUUID structureId,
java.util.List<CmsAliasBean> aliases)
Saves aliases for a page.
|
void |
saveExternalLink(CmsUUID structureId,
java.lang.String title,
java.lang.String link,
java.lang.String fileName)
Saves the external link.
|
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 |
undelete(CmsUUID structureId)
Undeletes a resource.
|
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 createNewExternalLink(java.lang.String title, java.lang.String link, java.lang.String resourceName, java.lang.String parentFolderPath) throws CmsRpcException
title - the titlelink - the linkresourceName - the name of the link resource to createparentFolderPath - the parent folder site pathCmsRpcException - if something goes wrongvoid 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 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.lang.String getDataViewThumbnail(java.lang.String config, java.lang.String id) throws CmsRpcException
config - the dataview configuration stringid - the record idCmsRpcException - 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 wrongCmsPreviewInfo getHistoryPreviewInfo(CmsUUID structureId, java.lang.String locale, CmsHistoryVersion version) throws CmsRpcException
structureId - the structure id of the resourcelocale - the localeversion - the version numberCmsRpcException - if something 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 wrongCmsHistoryResourceCollection getResourceHistory(CmsUUID structureId) throws CmsRpcException
structureId - the structure id of a resourceCmsRpcException - if something goes wrongCmsResourceStatusBean getResourceStatus(CmsUUID structureId, java.lang.String locale, boolean includeTargets, CmsUUID detailContentId, java.util.Map<java.lang.String,java.lang.String> context) 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 fetcheddetailContentId - the structure id of the detail content if presentcontext - additional context-dependent parameters used for providing additional informationCmsRpcException - 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 wrongCmsExternalLinkInfoBean loadLinkInfo(CmsUUID structureId) throws CmsRpcException
structureId - the external link structure idCmsRpcException - if something goes wrongCmsPropertiesBean loadPropertyData(CmsUUID id) throws CmsRpcException
id - the structure id of a resourceCmsRpcException - if something goes wrongjava.util.List<CmsQuickLaunchData> loadQuickLaunchItems(CmsQuickLaunchParams params) throws CmsRpcException
params - the quick launch parametersCmsRpcException - if something goes wrongCmsPrepareEditResponse 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 - if something goes wrongjava.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 restoreResource(CmsUUID structureId, int version) throws CmsRpcException
structureId - the structure id of the resource to revertversion - the version to which the resource should be revertedCmsRpcException - 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 - if something goes wrongvoid saveExternalLink(CmsUUID structureId, java.lang.String title, java.lang.String link, java.lang.String fileName) throws CmsRpcException
structureId - the link structure idtitle - the link titlelink - the linkfileName - the file nameCmsRpcException - if something goes wrongvoid 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 undelete(CmsUUID structureId) throws CmsRpcException
structureId - the structure id of the resource to undeleteCmsRpcException - 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