java.lang.Object
de.hybris.platform.omsbackoffice.widgets.order.orderprocessexecutor.OrderProcessExecutor

public class OrderProcessExecutor extends Object
This class is handling the process engine execution for orders
  • Field Details

  • Constructor Details

    • OrderProcessExecutor

      public OrderProcessExecutor()
  • Method Details

    • triggerSourcing

      public void triggerSourcing(OrderModel order)
      This event is triggered whenever there is a request to trigger again the sourcing for a specific OrderModel
      Parameters:
      order - the order for which the sourcing is requested
    • putOnHold

      public void putOnHold(OrderModel order)
      This event is triggered whenever there is a request to put a specific OrderModel on 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 the OrderModel with the given choice.
      Parameters:
      order - the OrderModel
      choice - the choice of the business process
      notificationMessage - the notification success message
    • getBusinessProcessService

      protected BusinessProcessService getBusinessProcessService()
    • getNotificationService

      protected com.hybris.cockpitng.util.notifications.NotificationService getNotificationService()