Class OrderProcessExecutor
java.lang.Object
de.hybris.platform.omsbackoffice.widgets.order.orderprocessexecutor.OrderProcessExecutor
This class is handling the process engine execution for orders
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected BusinessProcessServiceprotected com.hybris.cockpitng.util.notifications.NotificationServicevoidputOnHold(OrderModel order) This event is triggered whenever there is a request to put a specificOrderModelon holdprotected voidtriggerBusinessProcessEvent(OrderModel order, String choice, String notificationMessage) Triggers the business process associated to theOrderModelwith the given choice.voidtriggerSourcing(OrderModel order) This event is triggered whenever there is a request to trigger again the sourcing for a specificOrderModel
-
Field Details
-
TRIGGER_SOURCING_IN_SOCKET
- See Also:
-
PUT_ON_HOLD_IN_SOCKET
- See Also:
-
ORDER_ACTION_EVENT_NAME
- See Also:
-
RE_SOURCE_CHOICE
- See Also:
-
PUT_ON_HOLD_CHOICE
- See Also:
-
TRIGGER_SOURCING_SUCCESS
- See Also:
-
PUT_ORDER_ON_HOLD_SUCCESS
- See Also:
-
-
Constructor Details
-
OrderProcessExecutor
public OrderProcessExecutor()
-
-
Method Details
-
triggerSourcing
This event is triggered whenever there is a request to trigger again the sourcing for a specificOrderModel- Parameters:
order- the order for which the sourcing is requested
-
putOnHold
This event is triggered whenever there is a request to put a specificOrderModelon hold- Parameters:
order- the order which will be put on hold
-
triggerBusinessProcessEvent
protected void triggerBusinessProcessEvent(OrderModel order, String choice, String notificationMessage) Triggers the business process associated to theOrderModelwith the given choice.- Parameters:
order- theOrderModelchoice- the choice of the business processnotificationMessage- the notification success message
-
getBusinessProcessService
-
getNotificationService
protected com.hybris.cockpitng.util.notifications.NotificationService getNotificationService()
-