public class CmsUploadService extends CmsGwtService implements I_CmsUploadService
CmsUploadService
,
I_CmsUploadService
,
I_CmsUploadServiceAsync
,
Serialized FormConstructor and Description |
---|
CmsUploadService() |
Modifier and Type | Method and Description |
---|---|
java.lang.Boolean |
cancelUpload()
Cancels the upload.
|
CmsUploadFileBean |
checkUploadFiles(java.util.List<java.lang.String> fileNames,
java.lang.String targetFolder,
boolean isRootPath)
Checks the availability of a resource in the VFS, using the
CmsResourceFilter.IGNORE_EXPIRATION filter. |
CmsUploadProgessInfo |
getUploadProgressInfo()
Returns the upload progress information.
|
checkPermissions, clearThreadStorage, doGetSerializationPolicy, doUnexpectedFailure, ensureLock, ensureLock, ensureLock, ensureSession, error, getCmsObject, getPropertiesByName, getRequest, getResponse, log, log, logError, service, setCms, setContext, setRequest, setResponse, tryUnlock
checkPermutationStrongName, getCodeServerPolicyUrl, getRequestModuleBasePath, getSerializationPolicy, init, loadPolicyFromCodeServer, onAfterResponseSerialized, onBeforeRequestDeserialized, processCall, processCall, processPost, shouldCompressResponse
doPost, getPermutationStrongName, getThreadLocalRequest, getThreadLocalResponse, onAfterRequestDeserialized, readContent
doDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service
public CmsUploadService()
public java.lang.Boolean cancelUpload()
I_CmsUploadService
cancelUpload
in interface I_CmsUploadService
true
if the listener was canceled false
otherwiseI_CmsUploadService.cancelUpload()
public CmsUploadFileBean checkUploadFiles(java.util.List<java.lang.String> fileNames, java.lang.String targetFolder, boolean isRootPath)
I_CmsUploadService
CmsResourceFilter.IGNORE_EXPIRATION
filter.Calculates the VFS path for each filename in the given list and checks its availability.
checkUploadFiles
in interface I_CmsUploadService
fileNames
- the filenames to checktargetFolder
- the folder to checkisRootPath
- true
in case the target folder path is a root pathCmsUploadFileBean
that holds the list of resource names (without the path)
that already exist in the VFS and a list of filenames that are invalidI_CmsUploadService.checkUploadFiles(java.util.List, java.lang.String, boolean)
public CmsUploadProgessInfo getUploadProgressInfo()
I_CmsUploadService
getUploadProgressInfo
in interface I_CmsUploadService
I_CmsUploadService.getUploadProgressInfo()