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
,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:
-
Field Summary
Fields inherited from class com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet
perThreadRequest, perThreadResponse
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionLoads the dialog bean info for the given resource.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
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init
-
Constructor Details
-
CmsPostUploadDialogService
public CmsPostUploadDialogService()Creates a new instance.
-
-
Method Details
-
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:
-
prefetch
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:
-