Class DefaultOneOrderOSINRequestHandler
java.lang.Object
de.hybris.platform.oneorderfacades.handlers.osin.impl.DefaultOneOrderOSINRequestHandler
- All Implemented Interfaces:
OneOrderOSINHandler
The One Order implementation of
OneOrderOSINHandler interface. This handler populates the Report Order
Change and the DataLists attributes in the Request type.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected DataListsTypecreateDataLists(OrderModel orderModel) Create and populate the data lists attribute.protected RequestType.ReportOrderChangecreateReportOrderChange(OrderModel orderModel) Creates and populate the report order change attribute.protected BookingServiceGets the bookingServiceprotected de.hybris.platform.servicelayer.dto.converter.Converter<OrderModel,OrderType> Gets the oneOrderOrderTypeConverterprotected OneOrderOSINDataListsPipelineManagerSets the oneOrderOSINDataListsPipelineManagervoidhandle(OrderModel orderModel, IATAOrderSalesInformationNotifRQ orderSalesInformationNotifRQ) Handler which populates the Request attribute in Order Sales Information Notification message.voidsetBookingService(BookingService bookingService) Sets the bookingServicevoidsetOneOrderOrderTypeConverter(de.hybris.platform.servicelayer.dto.converter.Converter<OrderModel, OrderType> oneOrderOrderTypeConverter) Sets the oneOrderOrderTypeConvertervoidsetOneOrderOSINDataListsPipelineManager(OneOrderOSINDataListsPipelineManager oneOrderOSINDataListsPipelineManager) Sets the oneOrderOSINDataListsPipelineManager
-
Constructor Details
-
DefaultOneOrderOSINRequestHandler
public DefaultOneOrderOSINRequestHandler()
-
-
Method Details
-
handle
public void handle(OrderModel orderModel, IATAOrderSalesInformationNotifRQ orderSalesInformationNotifRQ) Handler which populates the Request attribute in Order Sales Information Notification message.- Specified by:
handlein interfaceOneOrderOSINHandler- Parameters:
orderModel- the order modelorderSalesInformationNotifRQ- the orderSalesInformationNotifRQ
-
createReportOrderChange
Creates and populate the report order change attribute.- Parameters:
orderModel- the orderModel- Returns:
- the ReportOrderChange attribute
-
createDataLists
Create and populate the data lists attribute.- Parameters:
orderModel- the ordeModel- Returns:
- the dataList type
-
getBookingService
Gets the bookingService- Returns:
- the bookingService
-
setBookingService
Sets the bookingService- Parameters:
bookingService- the bookingService
-
getOneOrderOrderTypeConverter
protected de.hybris.platform.servicelayer.dto.converter.Converter<OrderModel,OrderType> getOneOrderOrderTypeConverter()Gets the oneOrderOrderTypeConverter- Returns:
- the oneOrderOrderTypeConverter
-
setOneOrderOrderTypeConverter
public void setOneOrderOrderTypeConverter(de.hybris.platform.servicelayer.dto.converter.Converter<OrderModel, OrderType> oneOrderOrderTypeConverter) Sets the oneOrderOrderTypeConverter- Parameters:
oneOrderOrderTypeConverter- the oneOrderOrderTypeConverter
-
getOneOrderOSINDataListsPipelineManager
Sets the oneOrderOSINDataListsPipelineManager- Returns:
- the oneOrderOSINDataListsPipelineManager
-
setOneOrderOSINDataListsPipelineManager
public void setOneOrderOSINDataListsPipelineManager(OneOrderOSINDataListsPipelineManager oneOrderOSINDataListsPipelineManager) Sets the oneOrderOSINDataListsPipelineManager- Parameters:
oneOrderOSINDataListsPipelineManager- the oneOrderOSINDataListsPipelineManager
-