Class TransportOfferingAllDestinationsFromOriginValueProvider

java.lang.Object
de.hybris.platform.solrfacetsearch.provider.impl.AbstractPropertyFieldValueProvider
de.hybris.platform.travelservices.solr.provider.impl.TransportOfferingAllDestinationsFromOriginValueProvider
All Implemented Interfaces:
de.hybris.platform.solrfacetsearch.provider.FieldValueProvider

public class TransportOfferingAllDestinationsFromOriginValueProvider extends de.hybris.platform.solrfacetsearch.provider.impl.AbstractPropertyFieldValueProvider implements de.hybris.platform.solrfacetsearch.provider.FieldValueProvider
Gets all the origins from routes in transport offerings that have a specific destination.
  • Constructor Details

    • TransportOfferingAllDestinationsFromOriginValueProvider

      public TransportOfferingAllDestinationsFromOriginValueProvider()
  • Method Details

    • getFieldValues

      public Collection<de.hybris.platform.solrfacetsearch.provider.FieldValue> getFieldValues(IndexConfig indexConfig, IndexedProperty indexedProperty, Object model) throws de.hybris.platform.solrfacetsearch.config.exceptions.FieldValueProviderException
      Specified by:
      getFieldValues in interface de.hybris.platform.solrfacetsearch.provider.FieldValueProvider
      Throws:
      de.hybris.platform.solrfacetsearch.config.exceptions.FieldValueProviderException
    • addAllDestinationsFromRoutes

      protected void addAllDestinationsFromRoutes(TravelSectorModel travelSector, List<String> allOriginsToDestinationList)
      Add all origins from routes.
      Parameters:
      travelSector - the travel sector
      allOriginsToDestinationList - the list of all destinations from origin
    • getFieldNameProvider

      protected de.hybris.platform.solrfacetsearch.provider.FieldNameProvider getFieldNameProvider()
      Gets field name provider.
      Returns:
      field name provider
    • setFieldNameProvider

      public void setFieldNameProvider(de.hybris.platform.solrfacetsearch.provider.FieldNameProvider fieldNameProvider)
      Sets field name provider.
      Parameters:
      fieldNameProvider - the field name provider