Class ProductFeatureListPopulator<SOURCE extends FeatureList,TARGET extends ProductData>
java.lang.Object
de.hybris.platform.commercefacades.product.converters.populator.ProductFeatureListPopulator<SOURCE,TARGET>
- All Implemented Interfaces:
Populator<SOURCE,TARGET>
public class ProductFeatureListPopulator<SOURCE extends FeatureList,TARGET extends ProductData>
extends Object
implements Populator<SOURCE,TARGET>
Populate the classifications of the product data from a feature list
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected List<ClassificationData>protected Converter<ClassificationClassModel,ClassificationData> protected Converter<Feature,FeatureData> voidPopulate the target instance with values from the source instance.voidsetClassificationConverter(Converter<ClassificationClassModel, ClassificationData> classificationConverter) voidsetFeatureConverter(Converter<Feature, FeatureData> featureConverter)
-
Constructor Details
-
ProductFeatureListPopulator
public ProductFeatureListPopulator()
-
-
Method Details
-
getClassificationConverter
-
setClassificationConverter
public void setClassificationConverter(Converter<ClassificationClassModel, ClassificationData> classificationConverter) -
getFeatureConverter
-
setFeatureConverter
-
populate
Description copied from interface:PopulatorPopulate the target instance with values from the source instance.- Specified by:
populatein interfacePopulator<SOURCE extends FeatureList,TARGET extends ProductData> - Parameters:
source- the source objecttarget- the target to fill- Throws:
ConversionException- if an error occurs
-
buildClassificationDataList
-