T - The type of item that this business process service is used for.public interface WarehousingBusinessProcessService<T extends ItemModel> extends BusinessProcessService
BusinessProcessService.| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getProcessCode(T item)
Get the business process associated with an item
|
void |
triggerChoiceEvent(T item,
java.lang.String eventName,
java.lang.String choice)
Trigger a business process event to move a workflow out of a wait state.
|
void |
triggerSimpleEvent(T item,
java.lang.String eventName)
Trigger a business process event to move a workflow out of a wait state.
|
createProcess, createProcess, getProcess, restartProcess, startProcess, startProcess, startProcess, triggerEvent, triggerEvent, triggerEvent, triggerEventvoid triggerSimpleEvent(T item, java.lang.String eventName)
item - - the item being processedeventName - - the name of the event to triggervoid triggerChoiceEvent(T item, java.lang.String eventName, java.lang.String choice) throws BusinessProcessException
item - - the item being processedeventName - - the name of the event to triggerchoice - - the choice of the event to triggerBusinessProcessException - when the process cannot move to the requested statejava.lang.String getProcessCode(T item) throws BusinessProcessException
item - - the item modelBusinessProcessException - when no process can be found for the given itemCopyright © 2018 SAP SE. All Rights Reserved.