public abstract class AbstractTaskAssignmentActions extends java.lang.Object implements AutomatedWorkflowTemplateJob
| Constructor and Description |
|---|
AbstractTaskAssignmentActions() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitperformprotected java.util.Optional<ItemModel> getAttachedConsignment(WorkflowActionModel action)
ConsignmentModel associated to the received WorkflowActionModelaction - the WorkflowActionModel that contains the ConsignmentModelConsignmentModelprotected java.util.Optional<ItemModel> getAttachedAsn(WorkflowActionModel action)
AdvancedShippingNoticeModel associated to the received WorkflowActionModelaction - the WorkflowActionModel that contains the AdvancedShippingNoticeModelAdvancedShippingNoticeModelprotected void assignNewPrincipalToAction(WorkflowActionModel automatedWorkflowAction, WorkflowActionModel workflowAction)
AbstractWorkflowActionModel.PRINCIPALASSIGNED between action and automated action.automatedWorkflowAction - the automated WorkflowActionModelworkflowAction - the WorkflowActionModelprotected void getWorkflowActionAndAssignPrincipal(java.lang.String templateCode,
WorkflowActionModel currentWorkflowAction,
ConsignmentModel attachedConsignment,
java.lang.String actionLabel)
WorkflowActionModel and assigns the proper principal to it.templateCode - the AbstractWorkflowActionModel.CODEcurrentWorkflowAction - the current WorkflowActionModelattachedConsignment - the attached ConsignmentModelactionLabel - the string to be displayed by the logger to describe the action.protected WarehousingBusinessProcessService<ConsignmentModel> getConsignmentBusinessProcessService()
public void setConsignmentBusinessProcessService(WarehousingBusinessProcessService<ConsignmentModel> consignmentBusinessProcessService)
protected ModelService getModelService()
public void setModelService(ModelService modelService)
protected WarehousingConsignmentWorkflowService getWarehousingConsignmentWorkflowService()
public void setWarehousingConsignmentWorkflowService(WarehousingConsignmentWorkflowService warehousingConsignmentWorkflowService)
Copyright © 2018 SAP SE. All Rights Reserved.