Class OrderViewOrderItemServiceTypeHandler

java.lang.Object
de.hybris.platform.ndc182shoppingfacades.facades.order.handlers.impl.OrderViewOrderItemServiceTypeHandler
All Implemented Interfaces:
OrderViewOrderItemHandler

public class OrderViewOrderItemServiceTypeHandler extends Object implements OrderViewOrderItemHandler
The Order View Item Type implementation of OrderViewOrderItemHandler interface. This handler populates the service type in the order item type attribute.
  • Constructor Details

    • OrderViewOrderItemServiceTypeHandler

      public OrderViewOrderItemServiceTypeHandler()
  • Method Details

    • handle

      public void handle(AbstractOrderEntryModel orderEntryModel, OrderItemType orderItemType)
      Handler which populates the service type in a order item type attribute.
      Specified by:
      handle in interface OrderViewOrderItemHandler
      Parameters:
      orderEntryModel - the orderEntryModel
      orderItemType - the orderItemType
    • createServiceFromOrderEntry

      protected List<ServiceType> createServiceFromOrderEntry(AbstractOrderEntryModel orderEntry)
      Create a serviceType list from the given AbstractOrderEntryModel
      Parameters:
      orderEntry - the orderEntry
      Returns:
      List
    • createServiceAssociationsFromOrderEntry

      protected ServiceAssociationsType createServiceAssociationsFromOrderEntry(AbstractOrderEntryModel orderEntry, String flightCode)
      Create service associations from order entry for specific flight.
      Parameters:
      orderEntry - the order entry
      flightCode - the flight code
    • getSeatIdentifier

      protected String getSeatIdentifier(AbstractOrderEntryModel orderEntry)
      Gets seat identifier.
      Parameters:
      orderEntry - the order entry
      Returns:
      the seat identifier
    • createSeatIdentifier

      protected String createSeatIdentifier(String seatId, AbstractOrderEntryModel orderEntry)
      Create seat identifier string.
      Parameters:
      seatId - the seat id
      orderEntry - the order entry
      Returns:
      the string
    • getConfigurationService

      protected de.hybris.platform.servicelayer.config.ConfigurationService getConfigurationService()
      Gets the configurationService
      Returns:
      the configurationService
    • setConfigurationService

      public void setConfigurationService(de.hybris.platform.servicelayer.config.ConfigurationService configurationService)
      Sets the configurationService
      Parameters:
      configurationService - the configurationService