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 |
|---|---|
String |
getProcessCode(T item)
Get the business process associated with an item
|
void |
triggerChoiceEvent(T item,
String eventName,
String choice)
Trigger a business process event to move a workflow out of a wait state.
|
void |
triggerSimpleEvent(T item,
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, String eventName)
item - - the item being processedeventName - - the name of the event to triggervoid triggerChoiceEvent(T item, String eventName, 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 stateString getProcessCode(T item) throws BusinessProcessException
item - - the item modelBusinessProcessException - when no process can be found for the given itemCopyright © 2017 SAP SE. All Rights Reserved.