Class DefaultOneOrderOSINRequestHandler

java.lang.Object
de.hybris.platform.oneorderfacades.handlers.osin.impl.DefaultOneOrderOSINRequestHandler
All Implemented Interfaces:
OneOrderOSINHandler

public class DefaultOneOrderOSINRequestHandler extends Object implements OneOrderOSINHandler
The One Order implementation of OneOrderOSINHandler interface. This handler populates the Report Order Change and the DataLists attributes in the Request type.
  • 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:
      handle in interface OneOrderOSINHandler
      Parameters:
      orderModel - the order model
      orderSalesInformationNotifRQ - the orderSalesInformationNotifRQ
    • createReportOrderChange

      protected RequestType.ReportOrderChange createReportOrderChange(OrderModel orderModel)
      Creates and populate the report order change attribute.
      Parameters:
      orderModel - the orderModel
      Returns:
      the ReportOrderChange attribute
    • createDataLists

      protected DataListsType createDataLists(OrderModel orderModel)
      Create and populate the data lists attribute.
      Parameters:
      orderModel - the ordeModel
      Returns:
      the dataList type
    • getBookingService

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

      public void setBookingService(BookingService bookingService)
      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

      protected OneOrderOSINDataListsPipelineManager getOneOrderOSINDataListsPipelineManager()
      Sets the oneOrderOSINDataListsPipelineManager
      Returns:
      the oneOrderOSINDataListsPipelineManager
    • setOneOrderOSINDataListsPipelineManager

      public void setOneOrderOSINDataListsPipelineManager(OneOrderOSINDataListsPipelineManager oneOrderOSINDataListsPipelineManager)
      Sets the oneOrderOSINDataListsPipelineManager
      Parameters:
      oneOrderOSINDataListsPipelineManager - the oneOrderOSINDataListsPipelineManager