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
 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, com.google.gwt.user.client.rpc.AsyncCallback<CmsUploadFileBean> callback)
          Checks the availability of a resource in the VFS, using the CmsResourceFilter.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,
                      com.google.gwt.user.client.rpc.AsyncCallback<CmsUploadFileBean> callback)
Checks the availability of a resource in the VFS, using the CmsResourceFilter.IGNORE_EXPIRATION filter.

Calculates the VFS path for each filename in the given list and checks its availability.

Parameters:
fileNames - the filenames to check
targetFolder - the folder to check
callback - 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