Interface I_CmsUploadServiceAsync


public interface I_CmsUploadServiceAsync
Handles all RPC services related to the upload dialog.

Since:
8.0.0
See Also:
  • Method Details

    • cancelUpload

      void cancelUpload(com.google.gwt.user.client.rpc.AsyncCallback<Boolean> callback)
      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 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
      isRootPath - true in case the target folder path is a root path
      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