public class CmsUploadService extends CmsGwtService implements I_CmsUploadService
CmsUploadService,
I_CmsUploadService,
I_CmsUploadServiceAsync,
Serialized Form| Constructor 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, tryUnlockcheckPermutationStrongName, getCodeServerPolicyUrl, getRequestModuleBasePath, getSerializationPolicy, init, loadPolicyFromCodeServer, onAfterResponseSerialized, onBeforeRequestDeserialized, processCall, processCall, processPost, shouldCompressResponsedoPost, getPermutationStrongName, getThreadLocalRequest, getThreadLocalResponse, onAfterRequestDeserialized, readContentdoDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, servicepublic CmsUploadService()
public java.lang.Boolean cancelUpload()
I_CmsUploadServicecancelUpload in interface I_CmsUploadServicetrue 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_CmsUploadServiceCmsResourceFilter.IGNORE_EXPIRATION filter.Calculates the VFS path for each filename in the given list and checks its availability.
checkUploadFiles in interface I_CmsUploadServicefileNames - 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_CmsUploadServicegetUploadProgressInfo in interface I_CmsUploadServiceI_CmsUploadService.getUploadProgressInfo()