|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface I_CmsVfsServiceAsync
An asynchronous service interface for retrieving information about the VFS tree.
| Method Summary | |
|---|---|
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 |
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,
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. |
| Method Detail |
|---|
void createPropertyDefinition(java.lang.String propertyName,
com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> callback)
propertyName - the new property namecallback - the callback
void deleteResource(CmsUUID structureId,
com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> callback)
structureId - the structure id of the resource to deletecallback - the callback
void 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 callback
void forceUnlock(CmsUUID structureId,
com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> callback)
structureId - the structure id of the resource to unlockcallback - the callback
void getAliasesForPage(CmsUUID structureId,
com.google.gwt.user.client.rpc.AsyncCallback<java.util.List<CmsAliasBean>> callback)
structureId - the structure id of the pagecallback - the async callback
void 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 callback
void 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 callback
void getBrokenLinks(CmsUUID structureId,
com.google.gwt.user.client.rpc.AsyncCallback<CmsDeleteResourceBean> callback)
structureId - the resource structure idcallback - the callback
void getBrokenLinks(java.lang.String sitePath,
com.google.gwt.user.client.rpc.AsyncCallback<CmsDeleteResourceBean> callback)
sitePath - the resource site-pathcallback - the callback
void 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 getDefinedProperties(com.google.gwt.user.client.rpc.AsyncCallback<java.util.ArrayList<java.lang.String>> callback)
callback - the callback for the results
void getFileReplaceInfo(CmsUUID structureId,
com.google.gwt.user.client.rpc.AsyncCallback<CmsReplaceInfo> callback)
structureId - the structure id of the file to replacecallback - the asynchronous callback
void 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 callback
void 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 callback
void 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 callback
void 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 back
void 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 back
void 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 result
void getResourceStatus(CmsUUID structureId,
java.lang.String locale,
com.google.gwt.user.client.rpc.AsyncCallback<CmsResourceStatusBean> callback)
structureId - the structure id of the resourcelocale - the locale for which we want the resource informationcallback - the callback for the results
void 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 callback
void getSitePath(CmsUUID structureId,
com.google.gwt.user.client.rpc.AsyncCallback<java.lang.String> callback)
structureId - the structure idcallback - the asynchronous callback
void loadPropertyData(CmsUUID id,
com.google.gwt.user.client.rpc.AsyncCallback<CmsPropertiesBean> callback)
id - the structure id of a resourcecallback - the asynchronous callback
void 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 callback
void 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 result
void 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 callback
void 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 callback
void 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 result
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)
structureId - the structure id of the pagealiasPaths - a map from (arbitrary) id strings to alias pathscallback - the async callback
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||