Class TmaSearchResultPricesPopulator
java.lang.Object
de.hybris.platform.b2ctelcofacades.search.solrfacetsearch.populators.TmaSearchResultPricesPopulator
- All Implemented Interfaces:
de.hybris.platform.converters.Populator<SearchResultValueData,PriceData>
public class TmaSearchResultPricesPopulator
extends Object
implements de.hybris.platform.converters.Populator<SearchResultValueData,PriceData>
Populator for setting the price values from the solr Search Result to target
ProductData.- Since:
- 2007
-
Constructor Summary
ConstructorsConstructorDescriptionTmaSearchResultPricesPopulator(Map<String, Class<TmaProductOfferingPriceData>> priceDataTypeMap, Map<String, Class<TmaPricingLogicAlgorithmData>> pricingLogicAlgorithmDataTypeMap) -
Method Summary
Modifier and TypeMethodDescriptionprotected com.fasterxml.jackson.databind.ObjectMapperprotected <T> TgetValue(SearchResultValueData source, String propertyName) voidpopulate(SearchResultValueData source, PriceData target) protected voidsetPriceContext(SearchResultValueData source, PriceData priceData) protected voidsetProductOfferingPrice(SearchResultValueData source, PriceData priceData)
-
Constructor Details
-
TmaSearchResultPricesPopulator
public TmaSearchResultPricesPopulator(Map<String, Class<TmaProductOfferingPriceData>> priceDataTypeMap, Map<String, Class<TmaPricingLogicAlgorithmData>> pricingLogicAlgorithmDataTypeMap)
-
-
Method Details
-
populate
- Specified by:
populatein interfacede.hybris.platform.converters.Populator<SearchResultValueData,PriceData>
-
setProductOfferingPrice
protected void setProductOfferingPrice(SearchResultValueData source, PriceData priceData) throws IOException - Throws:
IOException
-
setPriceContext
-
getObjectMapper
protected com.fasterxml.jackson.databind.ObjectMapper getObjectMapper() -
getValue
-