Class OneOrderUpdateConsignmentStatusAction

java.lang.Object
de.hybris.platform.processengine.action.AbstractAction<T>
de.hybris.platform.processengine.action.AbstractProceduralAction<OrderProcessModel>
de.hybris.platform.travelfulfilmentprocess.actions.consignment.UpdateConsignmentStatusAction
de.hybris.platform.oneorderfulfilmentprocess.actions.order.OneOrderUpdateConsignmentStatusAction
All Implemented Interfaces:
de.hybris.platform.processengine.spring.Action<OrderProcessModel>

public class OneOrderUpdateConsignmentStatusAction extends UpdateConsignmentStatusAction
One order extension of UpdateConsignmentStatusAction class.
  • Constructor Details

    • OneOrderUpdateConsignmentStatusAction

      public OneOrderUpdateConsignmentStatusAction()
  • Method Details

    • executeAction

      public void executeAction(OrderProcessModel process) throws Exception
      Overrides:
      executeAction in class UpdateConsignmentStatusAction
      Throws:
      Exception
    • cloneIataServices

      protected void cloneIataServices(OrderModel orderModel, AbstractOrderModel originalOrder)
      Clones the iataServices from the original order to the new order.
      Parameters:
      orderModel - the orderModel
      originalOrder - the originalOrder
    • cloneOrderConsignments

      protected void cloneOrderConsignments(OrderModel originalOrder, OrderModel snapshot)
      Creates deep copy of consignment and consignment entries from original order to snapshot
      Overrides:
      cloneOrderConsignments in class UpdateConsignmentStatusAction
      Parameters:
      originalOrder - the original order
      snapshot - the new order
    • getOneOrderSendOrderSalesInformationNotifActionMap

      protected Map<BookingJourneyType,SendOneOrderSalesNotifStrategy> getOneOrderSendOrderSalesInformationNotifActionMap()
      Gets the oneOrderSendOrderSalesInformationNotifActionMap
      Returns:
      the oneOrderSendOrderSalesInformationNotifActionMap
    • setOneOrderSendOrderSalesInformationNotifActionMap

      @Deprecated(since="2003") public void setOneOrderSendOrderSalesInformationNotifActionMap(Map<BookingJourneyType,SendOneOrderSalesNotifStrategy> oneOrderSendOrderSalesInformationNotifActionMap)
      Deprecated.
      since version 2003. Please use sendOneOrderSalesNotifStrategyList.
      Sets the oneOrderSendOrderSalesInformationNotifActionMap
      Parameters:
      oneOrderSendOrderSalesInformationNotifActionMap - the oneOrderSendOrderSalesInformationNotifActionMap
    • getBookingService

      protected BookingService getBookingService()
      Gets the bookingService
      Returns:
      the bookingService
    • setBookingService

      public void setBookingService(BookingService bookingService)
      Sets the bookingService
      Parameters:
      bookingService - the bookingService
    • getSendOneOrderSalesNotifStrategyList

      protected List<SendOneOrderSalesNotifStrategy> getSendOneOrderSalesNotifStrategyList()
      Gets send one order sales notif strategy list.
      Returns:
      the send one order sales notif strategy list
    • setSendOneOrderSalesNotifStrategyList

      public void setSendOneOrderSalesNotifStrategyList(List<SendOneOrderSalesNotifStrategy> sendOneOrderSalesNotifStrategyList)
      Sets send one order sales notif strategy list.
      Parameters:
      sendOneOrderSalesNotifStrategyList - the send one order sales notif strategy list