Class SolrTravelSearchQueryDecoderPopulator
java.lang.Object
de.hybris.platform.travelfacades.search.converters.populator.SolrTravelSearchQueryDecoderPopulator
- All Implemented Interfaces:
de.hybris.platform.converters.Populator<SearchData,SolrSearchQueryData>
public class SolrTravelSearchQueryDecoderPopulator
extends Object
implements de.hybris.platform.converters.Populator<SearchData,SolrSearchQueryData>
The class is responsible for populating the the solr search query data from the search data which is passed from the
facade layer.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected de.hybris.platform.servicelayer.config.ConfigurationServiceGets configuration service.This method will return a list of Strings taken from the accommodation listing facet codes property, where the delimiter between the codes is a comma ","voidpopulate(SearchData source, SolrSearchQueryData target) protected voidpopulateQuery(String query, SolrSearchQueryData target) Populate query.voidsetConfigurationService(de.hybris.platform.servicelayer.config.ConfigurationService configurationService) Sets configuration service.
-
Constructor Details
-
SolrTravelSearchQueryDecoderPopulator
public SolrTravelSearchQueryDecoderPopulator()
-
-
Method Details
-
populate
public void populate(SearchData source, SolrSearchQueryData target) throws de.hybris.platform.servicelayer.dto.converter.ConversionException - Specified by:
populatein interfacede.hybris.platform.converters.Populator<SearchData,SolrSearchQueryData> - Throws:
de.hybris.platform.servicelayer.dto.converter.ConversionException
-
populateQuery
Populate query.- Parameters:
query- the querytarget- the target
-
getRequiredFacetCodes
This method will return a list of Strings taken from the accommodation listing facet codes property, where the delimiter between the codes is a comma ","- Returns:
- list of String
-
getConfigurationService
protected de.hybris.platform.servicelayer.config.ConfigurationService getConfigurationService()Gets configuration service.- Returns:
- the configurationService
-
setConfigurationService
public void setConfigurationService(de.hybris.platform.servicelayer.config.ConfigurationService configurationService) Sets configuration service.- Parameters:
configurationService- the configurationService to set
-