Package org.opencms.gwt.shared.rpc
Interface I_CmsUploadServiceAsync
public interface I_CmsUploadServiceAsync
Handles all RPC services related to the upload dialog.
- Since:
- 8.0.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cancelUpload
(com.google.gwt.user.client.rpc.AsyncCallback<Boolean> callback) Cancels the upload.void
checkUploadFiles
(List<String> fileNames, String targetFolder, boolean isRootPath, com.google.gwt.user.client.rpc.AsyncCallback<CmsUploadFileBean> callback) Checks the availability of a resource in the VFS, using theCmsResourceFilter.IGNORE_EXPIRATION
filter.void
getUploadProgressInfo
(com.google.gwt.user.client.rpc.AsyncCallback<CmsUploadProgessInfo> callback) Returns the upload progress information.
-
Method Details
-
cancelUpload
Cancels the upload.- Parameters:
callback
- the asynchronous callback
-
checkUploadFiles
void checkUploadFiles(List<String> fileNames, String targetFolder, boolean isRootPath, com.google.gwt.user.client.rpc.AsyncCallback<CmsUploadFileBean> callback) Checks the availability of a resource in the VFS, using theCmsResourceFilter.IGNORE_EXPIRATION
filter.Calculates the VFS path for each filename in the given list and checks its availability.
- Parameters:
fileNames
- the filenames to checktargetFolder
- the folder to checkisRootPath
-true
in case the target folder path is a root pathcallback
- the async callback
-
getUploadProgressInfo
void getUploadProgressInfo(com.google.gwt.user.client.rpc.AsyncCallback<CmsUploadProgessInfo> callback) Returns the upload progress information.- Parameters:
callback
- the asynchronous callback
-