Class SearchResultBundleProductPopulator<SOURCE extends SearchResultValueData,TARGET extends ProductData>
- java.lang.Object
-
- de.hybris.platform.configurablebundlefacades.converters.populator.SearchResultBundleProductPopulator<SOURCE,TARGET>
-
- All Implemented Interfaces:
Populator<SOURCE,TARGET>
public class SearchResultBundleProductPopulator<SOURCE extends SearchResultValueData,TARGET extends ProductData> extends java.lang.Object implements Populator<SOURCE,TARGET>
SOLR Populator forProductModel.
-
-
Constructor Summary
Constructors Constructor Description SearchResultBundleProductPopulator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CommonI18NServicegetCommonI18NService()protected PriceDataFactorygetPriceDataFactory()protected <T> TgetValue(SOURCE source, java.lang.String propertyName)voidpopulate(SOURCE source, TARGET target)Populate the target instance with values from the source instance.voidsetCommonI18NService(CommonI18NService commonI18NService)voidsetPriceDataFactory(PriceDataFactory priceDataFactory)
-
-
-
Method Detail
-
populate
public void populate(SOURCE source, TARGET target)
Description copied from interface:PopulatorPopulate the target instance with values from the source instance.- Specified by:
populatein interfacePopulator<SOURCE extends SearchResultValueData,TARGET extends ProductData>- Parameters:
source- the source objecttarget- the target to fill
-
getValue
protected <T> T getValue(SOURCE source, java.lang.String propertyName)
-
getPriceDataFactory
protected PriceDataFactory getPriceDataFactory()
-
setPriceDataFactory
public void setPriceDataFactory(PriceDataFactory priceDataFactory)
-
getCommonI18NService
protected CommonI18NService getCommonI18NService()
-
setCommonI18NService
public void setCommonI18NService(CommonI18NService commonI18NService)
-
-