public class ContentCurrentStepCondition extends AbstractContentWorkflowComponent implements com.opensymphony.workflow.Condition
<condition type="avalon"> <arg name="role">org.ametys.cms.workflow.ContentCurrentStepCondition</arg> <arg name="step">2</arg> </condition>
| Modifier and Type | Field and Description |
|---|---|
private WorkflowProvider |
_workflowProvider |
_contentHelper, CONTENT_KEY_logger, _manager, CONTEXT_PARAMETERS_KEY, FAIL_CONDITIONS_KEY, RESULT_MAP_KEY, WORKFLOW_ERRORS_KEY, WORKFLOW_WARNS_KEY| Constructor and Description |
|---|
ContentCurrentStepCondition() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
passesCondition(Map transientVars,
Map args,
com.opensymphony.module.propertyset.PropertySet ps) |
void |
service(ServiceManager manager) |
getContentaddWorkflowError, addWorkflowWarning, enableLogging, getConditionFailures, getContextParameters, getResultsMap, getUserprivate WorkflowProvider _workflowProvider
public ContentCurrentStepCondition()
public void service(ServiceManager manager) throws ServiceException
service in interface Serviceableservice in class AbstractContentWorkflowComponentServiceExceptionpublic boolean passesCondition(Map transientVars, Map args, com.opensymphony.module.propertyset.PropertySet ps) throws com.opensymphony.workflow.WorkflowException
passesCondition in interface com.opensymphony.workflow.Conditioncom.opensymphony.workflow.WorkflowException