public class DefaultWarehousingConsignmentWorkflowService extends java.lang.Object implements WarehousingConsignmentWorkflowService
WarehousingConsignmentWorkflowService| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
CONSIGNMENT_ACTION_EVENT_NAME |
protected static java.lang.String |
CONSIGNMENT_TEMPLATE_NAME |
protected static Logger |
LOGGER |
protected static java.lang.String |
WORKFLOW_OF_CONSIGNMENT |
| Constructor and Description |
|---|
DefaultWarehousingConsignmentWorkflowService() |
protected static final Logger LOGGER
protected static final java.lang.String CONSIGNMENT_TEMPLATE_NAME
protected static final java.lang.String WORKFLOW_OF_CONSIGNMENT
protected static final java.lang.String CONSIGNMENT_ACTION_EVENT_NAME
public DefaultWarehousingConsignmentWorkflowService()
public void startConsignmentWorkflow(ConsignmentModel consignment)
WarehousingConsignmentWorkflowServiceConsignmentModel.startConsignmentWorkflow in interface WarehousingConsignmentWorkflowServiceconsignment - ConsignmentModel for which a workflow needs to be startedpublic void terminateConsignmentWorkflow(ConsignmentModel consignment)
WarehousingConsignmentWorkflowServiceConsignmentModelterminateConsignmentWorkflow in interface WarehousingConsignmentWorkflowServiceconsignment - ConsignmentModel which we want to terminate the workflow forpublic void decideWorkflowAction(ConsignmentModel consignment, java.lang.String templateCode, java.lang.String choice)
WarehousingConsignmentWorkflowServiceWorkflowActionModel to trigger from a given ConsignmentModel and moves consignment's business processdecideWorkflowAction in interface WarehousingConsignmentWorkflowServiceconsignment - the ConsignmentModel on which your action happenedtemplateCode - the JobModel.CODEchoice - the string code of the consignment's BusinessProcessModel choice to be processedpublic WorkflowActionModel getWorkflowActionForTemplateCode(java.lang.String templateCode, ConsignmentModel consignment)
WarehousingConsignmentWorkflowServicegetWorkflowActionForTemplateCode in interface WarehousingConsignmentWorkflowServicetemplateCode - the JobModel.CODE to retrieveconsignment - the ConsignmentModel for which the WorkflowActionModel is requiredWorkflowActionModelprotected void terminateWorkflow(WorkflowModel taskAssignmentWorkflow)
WorkflowModel as well as all of its related WorkflowActionModeltaskAssignmentWorkflow - the workflow to be terminatedprotected WorkflowService getWorkflowService()
public void setWorkflowService(WorkflowService workflowService)
protected WorkflowTemplateService getWorkflowTemplateService()
public void setWorkflowTemplateService(WorkflowTemplateService workflowTemplateService)
protected WorkflowProcessingService getWorkflowProcessingService()
public void setWorkflowProcessingService(WorkflowProcessingService workflowProcessingService)
protected UserService getUserService()
public void setUserService(UserService userService)
protected UserSelectionStrategy getUserSelectionStrategy()
public void setUserSelectionStrategy(UserSelectionStrategy userSelectionStrategy)
protected ConfigurationService getConfigurationService()
public void setConfigurationService(ConfigurationService configurationService)
protected ModelService getModelService()
public void setModelService(ModelService modelService)
protected WarehousingBusinessProcessService<ConsignmentModel> getConsignmentBusinessProcessService()
public void setConsignmentBusinessProcessService(WarehousingBusinessProcessService<ConsignmentModel> consignmentBusinessProcessService)
Copyright © 2018 SAP SE. All Rights Reserved.