Package org.opencms.ade.postupload
Class CmsPostUploadDialogService
- java.lang.Object
-
- javax.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.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
-
-
Constructor Summary
Constructors Constructor Description CmsPostUploadDialogService()
Creates a new instance.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CmsPostUploadDialogPanelBean
load(CmsUUID id, boolean useConfiguration, boolean addBasicProperties)
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, ensureLock, ensureSession, error, getCmsObject, getPropertiesByName, getRequest, getResponse, isBroadcastCall, log, log, logError, service, setBroadcastPoll, setCms, setContext, setRequest, setResponse, tryUnlock
-
Methods inherited from class com.google.gwt.user.server.rpc.RemoteServiceServlet
checkPermutationStrongName, getCodeServerPolicyUrl, getRequestModuleBasePath, getSerializationPolicy, init, loadPolicyFromCodeServer, onAfterResponseSerialized, onBeforeRequestDeserialized, processCall, 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
-
-
-
-
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, boolean addBasicProperties) throws CmsRpcException
Description copied from interface:I_CmsPostUploadDialogService
Loads the dialog bean info for the given resource.- Specified by:
load
in interfaceI_CmsPostUploadDialogService
- Parameters:
id
- structure id to get the dialog bean foruseConfiguration
- true if the property configurations should be usedaddBasicProperties
- if true, the basic properties configured for the sitemap are added in the dialog- 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,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 interfaceI_CmsPostUploadDialogService
- Returns:
- the dialog data
- Throws:
CmsRpcException
- if something goes wrong- See Also:
I_CmsPostUploadDialogService.prefetch()
-
-