java.lang.Object
de.hybris.platform.travelfacades.ancillary.search.handlers.impl.OfferGroupHandler
All Implemented Interfaces:
AncillarySearchHandler
Direct Known Subclasses:
PROSOfferGroupHandler

public class OfferGroupHandler extends Object implements AncillarySearchHandler
Handler class to populate OfferGroup for the OfferResponseData.
  • Constructor Details

    • OfferGroupHandler

      public OfferGroupHandler()
  • Method Details

    • handle

      public void handle(OfferRequestData offerRequestData, OfferResponseData offerResponseData)
      Description copied from interface: AncillarySearchHandler
      Handle method.
      Specified by:
      handle in interface AncillarySearchHandler
      Parameters:
      offerRequestData - the offer request data
      offerResponseData - the offer response data
    • getTransportOfferingCodes

      protected List<String> getTransportOfferingCodes(OfferRequestData offerRequestData)
      Returns a list of Transport Offering codes from the current OfferRequestData
      Parameters:
      offerRequestData - the current Offer Request Data
      Returns:
      List the Transport Offering codes
    • getTravelCategoryService

      protected TravelCategoryService getTravelCategoryService()
      Returns:
      the travelCategoryService
    • setTravelCategoryService

      public void setTravelCategoryService(TravelCategoryService travelCategoryService)
      Parameters:
      travelCategoryService - the travelCategoryService to set
    • getCategoryConverter

      protected de.hybris.platform.servicelayer.dto.converter.Converter<CategoryModel,OfferGroupData> getCategoryConverter()
      Returns:
      the categoryConverter
    • setCategoryConverter

      public void setCategoryConverter(de.hybris.platform.servicelayer.dto.converter.Converter<CategoryModel,OfferGroupData> categoryConverter)
      Parameters:
      categoryConverter - the categoryConverter to set
    • getOfferSortStrategy

      protected OfferSortStrategy getOfferSortStrategy()
      Returns:
      the offerSortStrategy
    • setOfferSortStrategy

      public void setOfferSortStrategy(OfferSortStrategy offerSortStrategy)
      Parameters:
      offerSortStrategy - the offerSortStrategy to set
    • getOfferGroupDataConfiguredPopulator

      protected de.hybris.platform.converters.ConfigurablePopulator<CategoryModel,OfferGroupData,CategoryOption> getOfferGroupDataConfiguredPopulator()
      Returns:
      the offerGroupDataConfiguredPopulator
    • setOfferGroupDataConfiguredPopulator

      public void setOfferGroupDataConfiguredPopulator(de.hybris.platform.converters.ConfigurablePopulator<CategoryModel,OfferGroupData,CategoryOption> offerGroupDataConfiguredPopulator)
      Parameters:
      offerGroupDataConfiguredPopulator - as the offerGroupDataConfiguredPopulator
    • getCategoryOptionList

      protected Collection<CategoryOption> getCategoryOptionList()
      Getter method for categoryOptionList
      Returns:
      the Collection injected in spring
    • setCategoryOptionList

      public void setCategoryOptionList(Collection<CategoryOption> categoryOptionList)
      Setter method for categoryOptionList
      Parameters:
      categoryOptionList - to be injected