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:
CmsUploadService
,I_CmsUploadService
,I_CmsUploadServiceAsync
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
cancelUpload(com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Boolean> callback)
Cancels the upload.void
checkUploadFiles(java.util.List<java.lang.String> fileNames, java.lang.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 Detail
-
cancelUpload
void cancelUpload(com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Boolean> callback)
Cancels the upload.- Parameters:
callback
- the asynchronous callback
-
checkUploadFiles
void checkUploadFiles(java.util.List<java.lang.String> fileNames, java.lang.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
-
-