|
||||||||
| 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.publish.CmsPublishService
public class CmsPublishService
The implementation of the publish service.
| Field Summary | |
|---|---|
static java.lang.String |
PARAM_PUBLISH_PROJECT_ID
The publish project id parameter name. |
static java.lang.String |
PARAM_WORKFLOW_ID
The workflow id parameter name. |
| Fields inherited from class com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet |
|---|
perThreadRequest, perThreadResponse |
| Constructor Summary | |
|---|---|
CmsPublishService()
|
|
| Method Summary | |
|---|---|
CmsWorkflowResponse |
executeAction(java.util.List<CmsUUID> toPublish,
java.util.List<CmsUUID> toRemove,
CmsWorkflowAction action)
Tries to publish a list of resources. |
CmsPublishData |
getInitData()
Returns the initial publish data. |
java.util.List<CmsProjectBean> |
getProjects()
Gets a list of projects from the server. |
java.util.List<CmsPublishGroup> |
getResourceGroups(CmsWorkflow workflow,
CmsPublishOptions options)
Retrieves the publish list, subdivided into groups based on the time of their last change. |
CmsPublishOptions |
getResourceOptions()
Retrieves the publish options. |
static CmsPublishData |
prefetch(javax.servlet.http.HttpServletRequest request)
Fetches the publish 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 |
| Field Detail |
|---|
public static final java.lang.String PARAM_PUBLISH_PROJECT_ID
public static final java.lang.String PARAM_WORKFLOW_ID
| Constructor Detail |
|---|
public CmsPublishService()
| Method Detail |
|---|
public static CmsPublishData prefetch(javax.servlet.http.HttpServletRequest request)
throws CmsRpcException
request - the servlet request
CmsRpcException - if something goes wrong
public CmsWorkflowResponse executeAction(java.util.List<CmsUUID> toPublish,
java.util.List<CmsUUID> toRemove,
CmsWorkflowAction action)
throws CmsRpcException
I_CmsPublishService
executeAction in interface I_CmsPublishServicetoPublish - list of IDs of resources to publishtoRemove - list of IDs of resources to remove from the publish listaction - the work flow action
CmsRpcException - if something goes wrongI_CmsPublishService.executeAction(java.util.List, java.util.List, org.opencms.ade.publish.shared.CmsWorkflowAction)
public CmsPublishData getInitData()
throws CmsRpcException
I_CmsPublishService
getInitData in interface I_CmsPublishServiceCmsRpcException - if something goes wrongI_CmsPublishService.getInitData()
public java.util.List<CmsProjectBean> getProjects()
throws CmsRpcException
I_CmsPublishService
getProjects in interface I_CmsPublishServiceCmsRpcException - if something goes wrongI_CmsPublishService.getProjects()
public java.util.List<CmsPublishGroup> getResourceGroups(CmsWorkflow workflow,
CmsPublishOptions options)
throws CmsRpcException
I_CmsPublishService
getResourceGroups in interface I_CmsPublishServiceworkflow - the selected workflowoptions - the publish options for which the publish list should be fetched
CmsRpcException - if something goes wrongI_CmsPublishService.getResourceGroups(org.opencms.ade.publish.shared.CmsWorkflow,org.opencms.ade.publish.shared.CmsPublishOptions)
public CmsPublishOptions getResourceOptions()
throws CmsRpcException
I_CmsPublishService
getResourceOptions in interface I_CmsPublishServiceCmsRpcException - if something goes wrongI_CmsPublishService.getResourceOptions()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||