Class SearchResultProductPopulator<SOURCE extends SearchResultValueData,TARGET extends ProductData>
- java.lang.Object
-
- de.hybris.platform.entitlementfacades.product.converters.populator.SearchResultProductPopulator<SOURCE,TARGET>
-
- All Implemented Interfaces:
Populator<SOURCE,TARGET>
public class SearchResultProductPopulator<SOURCE extends SearchResultValueData,TARGET extends ProductData> extends java.lang.Object implements Populator<SOURCE,TARGET>
SOLR Populator forSubscriptionProductModel
-
-
Constructor Summary
Constructors Constructor Description SearchResultProductPopulator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Populator<ProductModel,ProductData>getProductEntitlementCollectionPopulator()protected ProductServicegetProductService()protected <T> TgetValue(SOURCE source, java.lang.String propertyName)voidpopulate(SOURCE source, TARGET target)Populate the target instance with values from the source instance.voidsetProductEntitlementCollectionPopulator(Populator<ProductModel,ProductData> productEntitlementCollectionPopulator)voidsetProductService(ProductService productService)
-
-
-
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)
-
getProductService
protected ProductService getProductService()
-
setProductService
public void setProductService(ProductService productService)
-
getProductEntitlementCollectionPopulator
protected Populator<ProductModel,ProductData> getProductEntitlementCollectionPopulator()
-
setProductEntitlementCollectionPopulator
public void setProductEntitlementCollectionPopulator(Populator<ProductModel,ProductData> productEntitlementCollectionPopulator)
-
-