Class TaskAssignmentPackConsignmentAction
- java.lang.Object
-
- de.hybris.platform.warehousing.taskassignment.actions.AbstractTaskAssignmentActions
-
- de.hybris.platform.warehousing.taskassignment.actions.TaskAssignmentPackConsignmentAction
-
- All Implemented Interfaces:
AutomatedWorkflowTemplateJob
public class TaskAssignmentPackConsignmentAction extends AbstractTaskAssignmentActions
Synchronizes the pack consignment action from the Task Assignment Workflow of an employee to the main process engine.
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.StringCONSIGNMENT_ACTION_EVENT_NAMEprotected static java.lang.StringPACK_CONSIGNMENT_CHOICEprotected static java.lang.StringPACKING_TEMPLATE_CODEprotected static java.lang.StringSHIPPING_DECISION
-
Constructor Summary
Constructors Constructor Description TaskAssignmentPackConsignmentAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidgetWorkflowActionAndAssignPrincipal(WorkflowActionModel workflowAction, ConsignmentModel attachedConsignment, java.lang.String actionLabel)WorkflowDecisionModelperform(WorkflowActionModel workflowAction)execution method for the automated workflow job-
Methods inherited from class de.hybris.platform.warehousing.taskassignment.actions.AbstractTaskAssignmentActions
assignNewPrincipalToAction, getAttachedAsn, getAttachedConsignment, getConsignmentBusinessProcessService, getModelService, getWarehousingConsignmentWorkflowService, getWorkflowActionAndAssignPrincipal, setConsignmentBusinessProcessService, setModelService, setWarehousingConsignmentWorkflowService
-
-
-
-
Field Detail
-
CONSIGNMENT_ACTION_EVENT_NAME
protected static final java.lang.String CONSIGNMENT_ACTION_EVENT_NAME
- See Also:
- Constant Field Values
-
PACK_CONSIGNMENT_CHOICE
protected static final java.lang.String PACK_CONSIGNMENT_CHOICE
- See Also:
- Constant Field Values
-
SHIPPING_DECISION
protected static final java.lang.String SHIPPING_DECISION
- See Also:
- Constant Field Values
-
PACKING_TEMPLATE_CODE
protected static final java.lang.String PACKING_TEMPLATE_CODE
- See Also:
- Constant Field Values
-
-
Method Detail
-
perform
public WorkflowDecisionModel perform(WorkflowActionModel workflowAction)
Description copied from interface:AutomatedWorkflowTemplateJobexecution method for the automated workflow job- Parameters:
workflowAction- the workflow action that activated this method- Returns:
- the decision that should be activated after this action finishes
-
getWorkflowActionAndAssignPrincipal
protected void getWorkflowActionAndAssignPrincipal(WorkflowActionModel workflowAction, ConsignmentModel attachedConsignment, java.lang.String actionLabel)
-
-