|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface I_CmsWorkflowManager
Workflow manager interface.
| Method Summary | |
|---|---|
CmsWorkflowResponse |
executeAction(CmsObject userCms,
CmsWorkflowAction action,
CmsPublishOptions options,
java.util.List<CmsResource> resources)
Executes a workflow action in the context of the current user. |
java.util.Map<java.lang.String,java.lang.String> |
getParameters()
Gets the parameters of the workflow manager. |
java.util.List<CmsPublishResource> |
getWorkflowPublishResources(CmsObject cms,
CmsWorkflow workflow,
CmsPublishOptions options)
Returns the publish resource beans for the given workflow and project. |
java.util.List<CmsResource> |
getWorkflowResources(CmsObject cms,
CmsWorkflow workflow,
CmsPublishOptions options)
Returns the resources for the given workflow and project. |
java.util.Map<java.lang.String,CmsWorkflow> |
getWorkflows(CmsObject cms)
Returns the available workflows for the current user. |
void |
initialize(CmsObject adminCms)
Initializes this workflow manager instance. |
void |
setParameters(java.util.Map<java.lang.String,java.lang.String> parameters)
Sets the configuration parameters of the workflow manager. |
| Method Detail |
|---|
CmsWorkflowResponse executeAction(CmsObject userCms,
CmsWorkflowAction action,
CmsPublishOptions options,
java.util.List<CmsResource> resources)
throws CmsException
userCms - the current user's CMS contextaction - the workflow actionoptions - the publish optionsresources - the resources to be processed
CmsException - if something goes wrongjava.util.Map<java.lang.String,java.lang.String> getParameters()
java.util.List<CmsPublishResource> getWorkflowPublishResources(CmsObject cms,
CmsWorkflow workflow,
CmsPublishOptions options)
cms - the user cms contextworkflow - the workflowoptions - the resource options
java.util.List<CmsResource> getWorkflowResources(CmsObject cms,
CmsWorkflow workflow,
CmsPublishOptions options)
cms - the user cms contextworkflow - the workflowoptions - the resource options
java.util.Map<java.lang.String,CmsWorkflow> getWorkflows(CmsObject cms)
cms - the user cms context
void initialize(CmsObject adminCms)
adminCms - the CMS context with admin privilegesvoid setParameters(java.util.Map<java.lang.String,java.lang.String> parameters)
parameters - the map of configuration parameters
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||