public class CmsPublishService extends CmsGwtService implements I_CmsPublishService
| 限定符和类型 | 字段和说明 |
|---|---|
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.
|
| 构造器和说明 |
|---|
CmsPublishService() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
addSiblings(java.util.Set<CmsResource> publishResources)
Adds siblings to a set of publish resources.
|
CmsWorkflowResponse |
executeAction(CmsWorkflowAction action,
CmsWorkflowActionParams params)
Tries to publish a list of resources.
|
CmsPublishData |
getInitData(java.util.HashMap<java.lang.String,java.lang.String> params)
Returns the initial publish data.
|
CmsPublishGroupList |
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.
|
static java.lang.String |
wrapProjectName(CmsObject cms,
java.lang.String name)
Wraps the project name in a message string.
|
checkPermissions, clearThreadStorage, doGetSerializationPolicy, doUnexpectedFailure, ensureLock, ensureLock, ensureLock, ensureSession, error, getCmsObject, getPropertiesByName, getRequest, getResponse, log, log, logError, service, setCms, setContext, setRequest, setResponse, tryUnlockcheckPermutationStrongName, getSerializationPolicy, onAfterResponseSerialized, onBeforeRequestDeserialized, processCall, processPost, shouldCompressResponsedoPost, getPermutationStrongName, getThreadLocalRequest, getThreadLocalResponse, onAfterRequestDeserialized, readContentdoDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, servicepublic static final java.lang.String PARAM_PUBLISH_PROJECT_ID
public static final java.lang.String PARAM_WORKFLOW_ID
public static CmsPublishData prefetch(javax.servlet.http.HttpServletRequest request) throws CmsRpcException
request - the servlet requestCmsRpcException - if something goes wrongpublic static java.lang.String wrapProjectName(CmsObject cms, java.lang.String name)
cms - the CMS contextname - the project namepublic CmsWorkflowResponse executeAction(CmsWorkflowAction action, CmsWorkflowActionParams params) throws CmsRpcException
I_CmsPublishServiceexecuteAction 在接口中 I_CmsPublishServiceaction - the work flow actionparams - the data on which to perform the workflow actionCmsRpcException - if something goes wrongI_CmsPublishService.executeAction(org.opencms.ade.publish.shared.CmsWorkflowAction, org.opencms.ade.publish.shared.CmsWorkflowActionParams)public CmsPublishData getInitData(java.util.HashMap<java.lang.String,java.lang.String> params) throws CmsRpcException
I_CmsPublishServicegetInitData 在接口中 I_CmsPublishServiceparams - a map of additional publish parametersCmsRpcException - if something goes wrongI_CmsPublishService.getInitData(java.util.HashMap)public CmsPublishGroupList getResourceGroups(CmsWorkflow workflow, CmsPublishOptions options) throws CmsRpcException
I_CmsPublishServicegetResourceGroups 在接口中 I_CmsPublishServiceworkflow - the selected workflowoptions - the publish options for which the publish list should be fetchedCmsRpcException - if something goes wrongI_CmsPublishService.getResourceGroups(org.opencms.ade.publish.shared.CmsWorkflow,org.opencms.ade.publish.shared.CmsPublishOptions)public CmsPublishOptions getResourceOptions() throws CmsRpcException
CmsRpcException - if something goes wrongprotected void addSiblings(java.util.Set<CmsResource> publishResources)
publishResources - the set to which siblings should be added