Package org.opencms.gwt.shared.rpc
Interface I_CmsUploadService
- All Superinterfaces:
com.google.gwt.user.client.rpc.RemoteService
- All Known Implementing Classes:
CmsUploadService
Handles all RPC services related to the upload dialog.
- Since:
- 8.0.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionCancels the upload.checkUploadFiles(List<String> fileNames, String targetFolder, boolean isRootPath) Checks the availability of a resource in the VFS, using theCmsResourceFilter.IGNORE_EXPIRATIONfilter.Returns the upload progress information.
-
Method Details
-
cancelUpload
Cancels the upload.- Returns:
trueif the listener was canceledfalseotherwise
-
checkUploadFiles
Checks the availability of a resource in the VFS, using theCmsResourceFilter.IGNORE_EXPIRATIONfilter.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-truein case the target folder path is a root path- Returns:
- a
CmsUploadFileBeanthat holds the list of resource names (without the path) that already exist in the VFS and a list of filenames that are invalid
-
getUploadProgressInfo
Returns the upload progress information.- Returns:
- the upload progress information
- Throws:
CmsRpcException- if something goes wrong
-