org.opencms.ade.postupload
Class CmsPostUploadDialogService

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet
              extended by com.google.gwt.user.server.rpc.RemoteServiceServlet
                  extended by org.opencms.gwt.CmsGwtService
                      extended by org.opencms.ade.postupload.CmsPostUploadDialogService
All Implemented Interfaces:
com.google.gwt.user.client.rpc.RemoteService, com.google.gwt.user.server.rpc.SerializationPolicyProvider, java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig, I_CmsPostUploadDialogService

public class CmsPostUploadDialogService
extends CmsGwtService
implements I_CmsPostUploadDialogService

The service implementation for the org.opencms.ade.postupload module.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet
perThreadRequest, perThreadResponse
 
Constructor Summary
CmsPostUploadDialogService()
          Creates a new instance.
 
Method Summary
 CmsPostUploadDialogPanelBean load(CmsUUID id, boolean useConfiguration)
          Loads the dialog bean info for the given resource.
 CmsPostUploadDialogBean prefetch()
          Generates dialog data for prefetching in the host page.
static CmsPostUploadDialogBean prefetch(javax.servlet.http.HttpServletRequest request)
          Fetches the dialog data.
 
Methods inherited from class org.opencms.gwt.CmsGwtService
checkPermissions, clearThreadStorage, doGetSerializationPolicy, doUnexpectedFailure, ensureLock, ensureLock, ensureLock, ensureSession, error, getCmsObject, getPropertiesByName, getRequest, getResponse, log, log, logError, service, setCms, setContext, setRequest, setResponse, 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

CmsPostUploadDialogService

public CmsPostUploadDialogService()
Creates a new instance.

Method Detail

prefetch

public static CmsPostUploadDialogBean prefetch(javax.servlet.http.HttpServletRequest request)
                                        throws CmsRpcException
Fetches the dialog data.

Parameters:
request - the servlet request
Returns:
the dialog data
Throws:
CmsRpcException - if something goes wrong

load

public CmsPostUploadDialogPanelBean load(CmsUUID id,
                                         boolean useConfiguration)
                                  throws CmsRpcException
Description copied from interface: I_CmsPostUploadDialogService
Loads the dialog bean info for the given resource.

Specified by:
load in interface I_CmsPostUploadDialogService
Parameters:
id - structure id to get the dialog bean for
useConfiguration - true if the property configurations should be used
Returns:
the dialog bean info for the given resource
Throws:
CmsRpcException - if something goes wrong
See Also:
I_CmsPostUploadDialogService.load(org.opencms.util.CmsUUID, boolean)

prefetch

public CmsPostUploadDialogBean prefetch()
                                 throws CmsRpcException
Description copied from interface: I_CmsPostUploadDialogService
Generates dialog data for prefetching in the host page.

Specified by:
prefetch in interface I_CmsPostUploadDialogService
Returns:
the dialog data
Throws:
CmsRpcException - if something goes wrong
See Also:
I_CmsPostUploadDialogService.prefetch()