Class RejectEditingAutomatedWorkflowAction
- java.lang.Object
-
- de.hybris.platform.cms2.workflow.actions.RejectEditingAutomatedWorkflowAction
-
- All Implemented Interfaces:
AutomatedWorkflowTemplateJob
public class RejectEditingAutomatedWorkflowAction extends java.lang.Object implements AutomatedWorkflowTemplateJob
Finds all active actions and sets them to pending state when "Revise Page" action is made active.
-
-
Constructor Summary
Constructors Constructor Description RejectEditingAutomatedWorkflowAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected WorkflowActionServicegetWorkflowActionService()WorkflowDecisionModelperform(WorkflowActionModel action)execution method for the automated workflow jobvoidsetWorkflowActionService(WorkflowActionService workflowActionService)
-
-
-
Method Detail
-
perform
public WorkflowDecisionModel perform(WorkflowActionModel action)
Description copied from interface:AutomatedWorkflowTemplateJobexecution method for the automated workflow job- Specified by:
performin interfaceAutomatedWorkflowTemplateJob- Parameters:
action- the workflow action that activated this method- Returns:
- the decision that should be activated after this action finishes
-
getWorkflowActionService
protected WorkflowActionService getWorkflowActionService()
-
setWorkflowActionService
public void setWorkflowActionService(WorkflowActionService workflowActionService)
-
-