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>
One order extension of
UpdateConsignmentStatusAction class.-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.processengine.action.AbstractProceduralAction
de.hybris.platform.processengine.action.AbstractProceduralAction.Transition -
Field Summary
Fields inherited from class de.hybris.platform.processengine.action.AbstractAction
modelService, processParameterHelperFields inherited from interface de.hybris.platform.processengine.spring.Action
ERROR_RETURN_CODE, RETRY_RETURN_CODE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcloneIataServices(OrderModel orderModel, AbstractOrderModel originalOrder) Clones the iataServices from the original order to the new order.protected voidcloneOrderConsignments(OrderModel originalOrder, OrderModel snapshot) Creates deep copy of consignment and consignment entries from original order to snapshotvoidexecuteAction(OrderProcessModel process) protected BookingServiceGets the bookingServiceprotected Map<BookingJourneyType,SendOneOrderSalesNotifStrategy> Gets the oneOrderSendOrderSalesInformationNotifActionMapprotected List<SendOneOrderSalesNotifStrategy>Gets send one order sales notif strategy list.voidsetBookingService(BookingService bookingService) Sets the bookingServicevoidsetOneOrderSendOrderSalesInformationNotifActionMap(Map<BookingJourneyType, SendOneOrderSalesNotifStrategy> oneOrderSendOrderSalesInformationNotifActionMap) Deprecated.since version 2003.voidsetSendOneOrderSalesNotifStrategyList(List<SendOneOrderSalesNotifStrategy> sendOneOrderSalesNotifStrategyList) Sets send one order sales notif strategy list.Methods inherited from class de.hybris.platform.travelfulfilmentprocess.actions.consignment.UpdateConsignmentStatusAction
createNewOrderHistoryEntry, getCustomerAccountService, getOrderHistoryService, getTimeService, populateOriginalOrderEntry, setCustomerAccountService, setOrderHistoryService, setTimeService, updateConsignmentsStatus, updateTravellersIDMethods inherited from class de.hybris.platform.processengine.action.AbstractProceduralAction
execute, getTransitionsMethods inherited from class de.hybris.platform.processengine.action.AbstractAction
createTransitions, getModelService, getProcessParameterHelper, getProcessParameterValue, refresh, save, setModelService, setOrderStatus, setProcessParameterHelperMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.hybris.platform.processengine.spring.Action
getCurrentActionDefinitionContext
-
Constructor Details
-
OneOrderUpdateConsignmentStatusAction
public OneOrderUpdateConsignmentStatusAction()
-
-
Method Details
-
executeAction
- Overrides:
executeActionin classUpdateConsignmentStatusAction- Throws:
Exception
-
cloneIataServices
Clones the iataServices from the original order to the new order.- Parameters:
orderModel- the orderModeloriginalOrder- the originalOrder
-
cloneOrderConsignments
Creates deep copy of consignment and consignment entries from original order to snapshot- Overrides:
cloneOrderConsignmentsin classUpdateConsignmentStatusAction- Parameters:
originalOrder- the original ordersnapshot- 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
Gets the bookingService- Returns:
- the bookingService
-
setBookingService
Sets the bookingService- Parameters:
bookingService- the bookingService
-
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
-