public interface I_CmsVfsServiceAsync
限定符和类型 | 方法和说明 |
---|---|
void |
createPropertyDefinition(java.lang.String propertyName,
com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> callback)
Creates a property definition.
|
void |
deleteResource(CmsUUID structureId,
com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> callback)
Deletes a resource from the VFS.
|
void |
deleteResource(java.lang.String sitePath,
com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> callback)
Deletes a resource from the VFS.
|
void |
forceUnlock(CmsUUID structureId,
com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> callback)
Forces a resource to be unlocked.
|
void |
getAliasesForPage(CmsUUID structureId,
com.google.gwt.user.client.rpc.AsyncCallback<java.util.List<CmsAliasBean>> callback)
Fetches the aliases for a given page.
|
void |
getAvailabilityInfo(CmsUUID structureId,
com.google.gwt.user.client.rpc.AsyncCallback<CmsAvailabilityInfoBean> callback)
Gets a
CmsAvailabilityInfoBean for a given resource. |
void |
getAvailabilityInfo(java.lang.String vfsPath,
com.google.gwt.user.client.rpc.AsyncCallback<CmsAvailabilityInfoBean> callback)
Gets a
CmsAvailabilityInfoBean for a given resource. |
void |
getBrokenLinks(CmsUUID structureId,
com.google.gwt.user.client.rpc.AsyncCallback<CmsDeleteResourceBean> callback)
Returns a list of potentially broken links, if the given resource was deleted.
|
void |
getBrokenLinks(java.lang.String sitePath,
com.google.gwt.user.client.rpc.AsyncCallback<CmsDeleteResourceBean> callback)
Returns a list of potentially broken links, if the given resource was deleted.
|
void |
getChildren(java.lang.String path,
com.google.gwt.user.client.rpc.AsyncCallback<java.util.List<CmsVfsEntryBean>> callback)
Fetches the list of children of a path.
|
void |
getDefaultProperties(java.util.List<CmsUUID> structureIds,
com.google.gwt.user.client.rpc.AsyncCallback<java.util.Map<CmsUUID,java.util.Map<java.lang.String,CmsXmlContentProperty>>> callback)
Gets the default property configurations for a list of structure ids.
|
void |
getDefinedProperties(com.google.gwt.user.client.rpc.AsyncCallback<java.util.ArrayList<java.lang.String>> callback)
Gets the names of defined properties.
|
void |
getFileReplaceInfo(CmsUUID structureId,
com.google.gwt.user.client.rpc.AsyncCallback<CmsReplaceInfo> callback)
Returns the file replace info.
|
void |
getLockReportInfo(CmsUUID structureId,
com.google.gwt.user.client.rpc.AsyncCallback<CmsLockReportInfo> callback)
Returns the lock report info.
|
void |
getPageInfo(CmsUUID structureId,
com.google.gwt.user.client.rpc.AsyncCallback<CmsListInfoBean> callback)
Gets a
CmsListInfoBean for a given resource. |
void |
getPageInfo(java.lang.String vfsPath,
com.google.gwt.user.client.rpc.AsyncCallback<CmsListInfoBean> callback)
Gets a
CmsListInfoBean for a given resource. |
void |
getPreviewInfo(CmsUUID structureId,
java.lang.String locale,
com.google.gwt.user.client.rpc.AsyncCallback<CmsPreviewInfo> callback)
Returns the preview info for the given resource.
|
void |
getPreviewInfo(java.lang.String sitePath,
java.lang.String locale,
com.google.gwt.user.client.rpc.AsyncCallback<CmsPreviewInfo> callback)
Returns the preview info for the given resource.
|
void |
getRenameInfo(CmsUUID structureId,
com.google.gwt.user.client.rpc.AsyncCallback<CmsRenameInfoBean> callback)
Gets the information needed for the Rename dialog.
|
void |
getResourceStatus(CmsUUID structureId,
java.lang.String locale,
boolean includeTargets,
java.util.List<CmsUUID> additionalTargetIds,
com.google.gwt.user.client.rpc.AsyncCallback<CmsResourceStatusBean> callback)
Gets status information for a single resource.
|
void |
getRestoreInfo(CmsUUID structureId,
com.google.gwt.user.client.rpc.AsyncCallback<CmsRestoreInfoBean> resultCallback)
Gets the information which is necessary for opening the 'Restore' dialog for a resource.
|
void |
getRootEntries(com.google.gwt.user.client.rpc.AsyncCallback<java.util.List<CmsVfsEntryBean>> callback)
Returns the root entries of the VFS.
|
void |
getSitePath(CmsUUID structureId,
com.google.gwt.user.client.rpc.AsyncCallback<java.lang.String> callback)
Returns the site-path for the resource with the given id.
|
void |
loadPropertyData(CmsUUID id,
com.google.gwt.user.client.rpc.AsyncCallback<CmsPropertiesBean> callback)
Load the data necessary to edit the properties of a resource.
|
void |
prepareEdit(CmsUUID currentPage,
java.lang.String fileNameWithMacros,
com.google.gwt.user.client.rpc.AsyncCallback<CmsPrepareEditResponse> callback)
Prepares to edit a file in the XML content editor.
|
void |
renameResource(CmsUUID structureId,
java.lang.String newName,
com.google.gwt.user.client.rpc.AsyncCallback<java.lang.String> callback)
Renames a resource.
|
void |
saveAliases(CmsUUID structureId,
java.util.List<CmsAliasBean> aliases,
com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> callback)
Saves aliases for a page.
|
void |
saveProperties(CmsPropertyChangeSet changes,
com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> callback)
Saves a set of property changes.
|
void |
substituteLinkForRootPath(java.lang.String currentSiteRoot,
java.lang.String rootPath,
com.google.gwt.user.client.rpc.AsyncCallback<java.lang.String> callback)
Returns the absolute link to the given root path.
|
void |
syncDeleteResource(CmsUUID structureId,
com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> callback)
Deletes a resource from the VFS.
|
void |
undoChanges(CmsUUID structureId,
boolean undoMove,
com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> callback)
Undoes the changes to a given resource, i.e. restores its online content to its offline version.
|
void |
validateAliases(CmsUUID structureId,
java.util.Map<java.lang.String,java.lang.String> aliasPaths,
com.google.gwt.user.client.rpc.AsyncCallback<java.util.Map<java.lang.String,java.lang.String>> callback)
Validates alias paths for a page.
|
void createPropertyDefinition(java.lang.String propertyName, com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> callback)
propertyName
- the new property namecallback
- the callbackvoid deleteResource(CmsUUID structureId, com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> callback)
structureId
- the structure id of the resource to deletecallback
- the callbackvoid deleteResource(java.lang.String sitePath, com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> callback)
sitePath
- the site path of the resource to deletecallback
- the callbackvoid forceUnlock(CmsUUID structureId, com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> callback)
structureId
- the structure id of the resource to unlockcallback
- the callbackvoid getAliasesForPage(CmsUUID structureId, com.google.gwt.user.client.rpc.AsyncCallback<java.util.List<CmsAliasBean>> callback)
structureId
- the structure id of the pagecallback
- the async callbackvoid getAvailabilityInfo(CmsUUID structureId, com.google.gwt.user.client.rpc.AsyncCallback<CmsAvailabilityInfoBean> callback)
CmsAvailabilityInfoBean
for a given resource.structureId
- the structure id to create the CmsAvailabilityInfoBean
forcallback
- the asynchronous callbackvoid getAvailabilityInfo(java.lang.String vfsPath, com.google.gwt.user.client.rpc.AsyncCallback<CmsAvailabilityInfoBean> callback)
CmsAvailabilityInfoBean
for a given resource.vfsPath
- the vfs path to create the CmsAvailabilityInfoBean
forcallback
- the asynchronous callbackvoid getBrokenLinks(CmsUUID structureId, com.google.gwt.user.client.rpc.AsyncCallback<CmsDeleteResourceBean> callback)
structureId
- the resource structure idcallback
- the callbackvoid getBrokenLinks(java.lang.String sitePath, com.google.gwt.user.client.rpc.AsyncCallback<CmsDeleteResourceBean> callback)
sitePath
- the resource site-pathcallback
- the callbackvoid getChildren(java.lang.String path, com.google.gwt.user.client.rpc.AsyncCallback<java.util.List<CmsVfsEntryBean>> callback)
path
- the path for which the list of children should be retrievedcallback
- the asynchronous callbackvoid getDefaultProperties(java.util.List<CmsUUID> structureIds, com.google.gwt.user.client.rpc.AsyncCallback<java.util.Map<CmsUUID,java.util.Map<java.lang.String,CmsXmlContentProperty>>> callback)
structureIds
- the structure ids for which to fetch the default property configurationscallback
- the callback for the resultvoid getDefinedProperties(com.google.gwt.user.client.rpc.AsyncCallback<java.util.ArrayList<java.lang.String>> callback)
callback
- the callback for the resultsvoid getFileReplaceInfo(CmsUUID structureId, com.google.gwt.user.client.rpc.AsyncCallback<CmsReplaceInfo> callback)
structureId
- the structure id of the file to replacecallback
- the asynchronous callbackvoid getLockReportInfo(CmsUUID structureId, com.google.gwt.user.client.rpc.AsyncCallback<CmsLockReportInfo> callback)
structureId
- the structure id of the resource to get the report forcallback
- the callbackvoid getPageInfo(CmsUUID structureId, com.google.gwt.user.client.rpc.AsyncCallback<CmsListInfoBean> callback)
CmsListInfoBean
for a given resource.structureId
- the structure id to create the CmsListInfoBean
forcallback
- the asynchronous callbackvoid getPageInfo(java.lang.String vfsPath, com.google.gwt.user.client.rpc.AsyncCallback<CmsListInfoBean> callback)
CmsListInfoBean
for a given resource.vfsPath
- the vfs path to create the CmsListInfoBean
forcallback
- the asynchronous callbackvoid getPreviewInfo(CmsUUID structureId, java.lang.String locale, com.google.gwt.user.client.rpc.AsyncCallback<CmsPreviewInfo> callback)
structureId
- the resource structure idlocale
- the requested localecallback
- the call backvoid getPreviewInfo(java.lang.String sitePath, java.lang.String locale, com.google.gwt.user.client.rpc.AsyncCallback<CmsPreviewInfo> callback)
sitePath
- the resource site pathlocale
- the requested localecallback
- the call backvoid getRenameInfo(CmsUUID structureId, com.google.gwt.user.client.rpc.AsyncCallback<CmsRenameInfoBean> callback)
structureId
- the structure id of the resource to renamecallback
- the callback for the resultvoid getResourceStatus(CmsUUID structureId, java.lang.String locale, boolean includeTargets, java.util.List<CmsUUID> additionalTargetIds, com.google.gwt.user.client.rpc.AsyncCallback<CmsResourceStatusBean> callback)
structureId
- the structure id of the resourcelocale
- the locale for which we want the resource informationincludeTargets
- flag to control whether relation targets should also be fetchedadditionalTargetIds
- structure ids of additional resources to include in the relation targets returnedcallback
- the callback for the resultsvoid getRestoreInfo(CmsUUID structureId, com.google.gwt.user.client.rpc.AsyncCallback<CmsRestoreInfoBean> resultCallback)
structureId
- the structure id of the resourceresultCallback
- the callback for the resultvoid getRootEntries(com.google.gwt.user.client.rpc.AsyncCallback<java.util.List<CmsVfsEntryBean>> callback)
callback
- the asynchronous callbackvoid getSitePath(CmsUUID structureId, com.google.gwt.user.client.rpc.AsyncCallback<java.lang.String> callback)
structureId
- the structure idcallback
- the asynchronous callbackvoid loadPropertyData(CmsUUID id, com.google.gwt.user.client.rpc.AsyncCallback<CmsPropertiesBean> callback)
id
- the structure id of a resourcecallback
- the asynchronous callbackvoid prepareEdit(CmsUUID currentPage, java.lang.String fileNameWithMacros, com.google.gwt.user.client.rpc.AsyncCallback<CmsPrepareEditResponse> callback)
currentPage
- the current page from which the editor should be openedfileNameWithMacros
- the file name, which may contain macroscallback
- the asynchronous callbackvoid renameResource(CmsUUID structureId, java.lang.String newName, com.google.gwt.user.client.rpc.AsyncCallback<java.lang.String> callback)
structureId
- the structure id of the resource to renamenewName
- the new resource namecallback
- the asynchronous callback for the resultvoid saveAliases(CmsUUID structureId, java.util.List<CmsAliasBean> aliases, com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> callback)
structureId
- the structure id of the pagealiases
- the aliases which should be saved for the pagecallback
- the async callbackvoid saveProperties(CmsPropertyChangeSet changes, com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> callback)
changes
- the property changescallback
- the asynchronous callback@SynchronizedRpcRequest void substituteLinkForRootPath(java.lang.String currentSiteRoot, java.lang.String rootPath, com.google.gwt.user.client.rpc.AsyncCallback<java.lang.String> callback)
currentSiteRoot
- the current siterootPath
- the root pathcallback
- the asynchronous callback@SynchronizedRpcRequest void syncDeleteResource(CmsUUID structureId, com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> callback)
structureId
- the structure id of the resource to deletecallback
- the callbackvoid undoChanges(CmsUUID structureId, boolean undoMove, com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> callback)
structureId
- the structure id of the resource to undoundoMove
- true if move operations should be undonecallback
- the callback for the resultvoid validateAliases(CmsUUID structureId, java.util.Map<java.lang.String,java.lang.String> aliasPaths, com.google.gwt.user.client.rpc.AsyncCallback<java.util.Map<java.lang.String,java.lang.String>> callback)
structureId
- the structure id of the pagealiasPaths
- a map from (arbitrary) id strings to alias pathscallback
- the async callback