Class OrderViewOrderItemsHandler
java.lang.Object
de.hybris.platform.ndc182shoppingfacades.facades.order.handlers.impl.OrderViewOrderItemsHandler
- All Implemented Interfaces:
OrderViewHandler
The Order View implementation of
OrderViewHandler interface. This handler populates the order items in the order type-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected BookingServiceGet bookingServiceprotected de.hybris.platform.servicelayer.config.ConfigurationServicegets configuration serviceprotected OrderViewOrderItemPipelineManagergets orderViewOrderItem PipelineManagervoidhandle(OrderModel orderModel, IATAOrderViewRS orderViewRS) Create a list of order items from all the entries having a entryGroupNumbers list not empty.voidsetBookingService(BookingService bookingService) Set bookingServicevoidsetConfigurationService(de.hybris.platform.servicelayer.config.ConfigurationService configurationService) sets configuration serviceprotected voidsetOrderTotalAmount(OrderModel orderModel, OrderType orderType) Set the total amount of the given ordervoidsetOrderViewOrderItemPipelineManager(OrderViewOrderItemPipelineManager orderViewOrderItemPipelineManager) sets orderViewOrderItem PipelineManager
-
Constructor Details
-
OrderViewOrderItemsHandler
public OrderViewOrderItemsHandler()
-
-
Method Details
-
handle
Create a list of order items from all the entries having a entryGroupNumbers list not empty.- Specified by:
handlein interfaceOrderViewHandler- Parameters:
orderModel- the orderModelorderViewRS- the orderViewRS- Throws:
NDCException
-
setOrderTotalAmount
Set the total amount of the given order- Parameters:
orderModel- the orderModelorderType- the orderType
-
getOrderViewOrderItemPipelineManager
gets orderViewOrderItem PipelineManager- Returns:
-
setOrderViewOrderItemPipelineManager
public void setOrderViewOrderItemPipelineManager(OrderViewOrderItemPipelineManager orderViewOrderItemPipelineManager) sets orderViewOrderItem PipelineManager- Parameters:
orderViewOrderItemPipelineManager-
-
getConfigurationService
protected de.hybris.platform.servicelayer.config.ConfigurationService getConfigurationService()gets configuration service- Returns:
-
setConfigurationService
public void setConfigurationService(de.hybris.platform.servicelayer.config.ConfigurationService configurationService) sets configuration service- Parameters:
configurationService-
-
getBookingService
Get bookingService- Returns:
- bookingService
-
setBookingService
Set bookingService- Parameters:
bookingService- the bookingService
-