|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet
com.google.gwt.user.server.rpc.RemoteServiceServlet
org.opencms.gwt.CmsGwtService
org.opencms.ade.upload.CmsUploadService
public class CmsUploadService
Handles all RPC services related to the upload dialog.
CmsUploadService
,
I_CmsUploadService
,
I_CmsUploadServiceAsync
,
Serialized FormField Summary |
---|
Fields inherited from class com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet |
---|
perThreadRequest, perThreadResponse |
Constructor Summary | |
---|---|
CmsUploadService()
|
Method Summary | |
---|---|
Boolean |
cancelUpload()
Cancels the upload. |
CmsUploadFileBean |
checkUploadFiles(List<String> fileNames,
String targetFolder)
Checks the availability of a resource in the VFS, using the CmsResourceFilter.IGNORE_EXPIRATION filter. |
CmsUploadProgessInfo |
getUploadProgressInfo()
Returns the upload progress information. |
static CmsUploadService |
newInstance(javax.servlet.http.HttpServletRequest request)
Returns a new configured service instance. |
CmsUploadData |
prefetch()
Generates upload data for prefetching in the host page. |
Methods inherited from class org.opencms.gwt.CmsGwtService |
---|
checkPermissions, doGetSerializationPolicy, doUnexpectedFailure, ensureLock, ensureLock, ensureLock, ensureSession, error, getCmsObject, getPropertiesByName, getRequest, getResponse, log, log, logError, service, setCms, setContext, setRequest, tryUnlock |
Methods inherited from class com.google.gwt.user.server.rpc.RemoteServiceServlet |
---|
checkPermutationStrongName, getSerializationPolicy, onAfterResponseSerialized, onBeforeRequestDeserialized, processCall, processPost, shouldCompressResponse |
Methods inherited from class com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet |
---|
doPost, getPermutationStrongName, getThreadLocalRequest, getThreadLocalResponse, onAfterRequestDeserialized, readContent |
Methods inherited from class javax.servlet.http.HttpServlet |
---|
doDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service |
Methods inherited from class javax.servlet.GenericServlet |
---|
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CmsUploadService()
Method Detail |
---|
public static CmsUploadService newInstance(javax.servlet.http.HttpServletRequest request)
request
- the current request
public Boolean cancelUpload()
I_CmsUploadService
cancelUpload
in interface I_CmsUploadService
true
if the listener was canceled false
otherwiseI_CmsUploadService.cancelUpload()
public CmsUploadFileBean checkUploadFiles(List<String> fileNames, String targetFolder)
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 check
CmsUploadFileBean
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)
public CmsUploadProgessInfo getUploadProgressInfo()
I_CmsUploadService
getUploadProgressInfo
in interface I_CmsUploadService
I_CmsUploadService.getUploadProgressInfo()
public CmsUploadData prefetch()
I_CmsUploadService
prefetch
in interface I_CmsUploadService
I_CmsUploadService.prefetch()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |