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 Details

    • SolrTravelSearchQueryDecoderPopulator

      public SolrTravelSearchQueryDecoderPopulator()
  • Method Details

    • populate

      public void populate(SearchData source, SolrSearchQueryData target) throws de.hybris.platform.servicelayer.dto.converter.ConversionException
      Specified by:
      populate in interface de.hybris.platform.converters.Populator<SearchData,SolrSearchQueryData>
      Throws:
      de.hybris.platform.servicelayer.dto.converter.ConversionException
    • populateQuery

      protected void populateQuery(String query, SolrSearchQueryData target)
      Populate query.
      Parameters:
      query - the query
      target - the target
    • getRequiredFacetCodes

      protected List<String> 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