public interface I_CmsVfsServiceAsync
| Modifier and Type | Method and Description |
|---|---|
void |
createNewExternalLink(java.lang.String title,
java.lang.String link,
java.lang.String resourceName,
java.lang.String parentFolderPath,
com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> callback)
Creates a new external link resource.
|
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 |
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 |
getDataViewThumbnail(java.lang.String config,
java.lang.String id,
com.google.gwt.user.client.rpc.AsyncCallback<java.lang.String> imageCallback)
Loads a thumbnail for the given dataview configuration and id.
|
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 |
getHistoryPreviewInfo(CmsUUID structureId,
java.lang.String locale,
CmsHistoryVersion version,
com.google.gwt.user.client.rpc.AsyncCallback<CmsPreviewInfo> resultCallback)
Gets th historical preview information for the given resource.
|
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 |
getResourceHistory(CmsUUID structureId,
com.google.gwt.user.client.rpc.AsyncCallback<CmsHistoryResourceCollection> resultCallback)
Gets the history of a resource.
|
void |
getResourceStatus(CmsUUID structureId,
java.lang.String locale,
boolean includeTargets,
CmsUUID detailContentId,
java.util.Map<java.lang.String,java.lang.String> context,
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 |
loadLinkInfo(CmsUUID structureId,
com.google.gwt.user.client.rpc.AsyncCallback<CmsExternalLinkInfoBean> callback)
Loads the external link info.
|
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 |
loadQuickLaunchItems(CmsQuickLaunchParams params,
com.google.gwt.user.client.rpc.AsyncCallback<java.util.List<CmsQuickLaunchData>> resultCallback)
Loads the items for the quick launch menu.
|
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 |
restoreResource(CmsUUID structureId,
int version,
com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> callback)
Restores a previous version of the 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 |
saveExternalLink(CmsUUID structureId,
java.lang.String title,
java.lang.String link,
java.lang.String fileName,
com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> callback)
Saves the external link.
|
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 |
undelete(CmsUUID structureId,
com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> callback)
Undeletes a resource.
|
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 createNewExternalLink(java.lang.String title, java.lang.String link, java.lang.String resourceName, java.lang.String parentFolderPath, com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> callback)
title - the titlelink - the linkresourceName - the name of the link resource to createparentFolderPath - the parent folder site pathcallback - the async callbackvoid 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 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 getDataViewThumbnail(java.lang.String config, java.lang.String id, com.google.gwt.user.client.rpc.AsyncCallback<java.lang.String> imageCallback)
config - the dataview configurationid - the data idimageCallback - the callback to be called with the result URLvoid 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 getHistoryPreviewInfo(CmsUUID structureId, java.lang.String locale, CmsHistoryVersion version, com.google.gwt.user.client.rpc.AsyncCallback<CmsPreviewInfo> resultCallback)
structureId - the structure id of the resourcelocale - the locale for which to get the preview infoversion - thee version for which to get the preview informationresultCallback - if something goevoid 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 getResourceHistory(CmsUUID structureId, com.google.gwt.user.client.rpc.AsyncCallback<CmsHistoryResourceCollection> resultCallback)
structureId - the structure id of the resourceresultCallback - the callback to call with the resultvoid getResourceStatus(CmsUUID structureId, java.lang.String locale, boolean includeTargets, CmsUUID detailContentId, java.util.Map<java.lang.String,java.lang.String> context, 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 fetcheddetailContentId - the structure id of the detail content if presentcontext - a map of context-dependent parameters used to provide additional informationcallback - 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 loadLinkInfo(CmsUUID structureId, com.google.gwt.user.client.rpc.AsyncCallback<CmsExternalLinkInfoBean> callback)
structureId - the external link structure idcallback - the callbackvoid loadPropertyData(CmsUUID id, com.google.gwt.user.client.rpc.AsyncCallback<CmsPropertiesBean> callback)
id - the structure id of a resourcecallback - the asynchronous callbackvoid loadQuickLaunchItems(CmsQuickLaunchParams params, com.google.gwt.user.client.rpc.AsyncCallback<java.util.List<CmsQuickLaunchData>> resultCallback)
params - the quick launch parametersresultCallback - the callback for the resultvoid 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 restoreResource(CmsUUID structureId, int version, com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> callback)
structureId - the structure id of the versionversion - the number of the version to which the resource should be revertedcallback - the callback to call with the resultsvoid 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 saveExternalLink(CmsUUID structureId, java.lang.String title, java.lang.String link, java.lang.String fileName, com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> callback)
structureId - the link structure idtitle - the link titlelink - the linkfileName - the file namecallback - the asynchronous callbackvoid saveProperties(CmsPropertyChangeSet changes, com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> callback)
changes - the property changescallback - the asynchronous callbackvoid 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 undelete(CmsUUID structureId, com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> callback)
structureId - the structure id of the resourcecallback - the result 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