Class ProductClassificationPopulator<SOURCE extends ProductModel,TARGET extends ProductData>
- java.lang.Object
-
- de.hybris.platform.commercefacades.product.converters.populator.AbstractProductPopulator<SOURCE,TARGET>
-
- de.hybris.platform.commercefacades.product.converters.populator.ProductClassificationPopulator<SOURCE,TARGET>
-
- All Implemented Interfaces:
Populator<SOURCE,TARGET>
public class ProductClassificationPopulator<SOURCE extends ProductModel,TARGET extends ProductData> extends AbstractProductPopulator<SOURCE,TARGET>
Populate the product data with the products classification data
-
-
Constructor Summary
Constructors Constructor Description ProductClassificationPopulator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ClassificationServicegetClassificationService()protected Populator<FeatureList,ProductData>getProductFeatureListPopulator()voidpopulate(SOURCE productModel, TARGET productData)Populate the target instance with values from the source instance.voidsetClassificationService(ClassificationService classificationService)voidsetProductFeatureListPopulator(Populator<FeatureList,ProductData> productFeatureListPopulator)-
Methods inherited from class de.hybris.platform.commercefacades.product.converters.populator.AbstractProductPopulator
getModelService, getProductAttribute, safeToString, setModelService
-
-
-
-
Method Detail
-
getClassificationService
protected ClassificationService getClassificationService()
-
setClassificationService
public void setClassificationService(ClassificationService classificationService)
-
getProductFeatureListPopulator
protected Populator<FeatureList,ProductData> getProductFeatureListPopulator()
-
setProductFeatureListPopulator
public void setProductFeatureListPopulator(Populator<FeatureList,ProductData> productFeatureListPopulator)
-
populate
public void populate(SOURCE productModel, TARGET productData) throws ConversionException
Description copied from interface:PopulatorPopulate the target instance with values from the source instance.- Parameters:
productModel- the source objectproductData- the target to fill- Throws:
ConversionException- if an error occurs
-
-