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.
-
Field Summary
Fields inherited from class de.hybris.platform.solrfacetsearch.provider.impl.AbstractPropertyFieldValueProvider
i18nService, localeService, modelService, rangeNameProvider -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddAllDestinationsFromRoutes(TravelSectorModel travelSector, List<String> allOriginsToDestinationList) Add all origins from routes.protected de.hybris.platform.solrfacetsearch.provider.FieldNameProviderGets field name provider.Collection<de.hybris.platform.solrfacetsearch.provider.FieldValue>getFieldValues(IndexConfig indexConfig, IndexedProperty indexedProperty, Object model) voidsetFieldNameProvider(de.hybris.platform.solrfacetsearch.provider.FieldNameProvider fieldNameProvider) Sets field name provider.Methods inherited from class de.hybris.platform.solrfacetsearch.provider.impl.AbstractPropertyFieldValueProvider
getRangeNameList, getRangeNameList, setI18nService, setLocaleService, setModelService, setRangeNameProvider
-
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:
getFieldValuesin interfacede.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 sectorallOriginsToDestinationList- 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
-