Interface I_CmsUploadServiceAsync

    • 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 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