Class ProductPopulator
java.lang.Object
de.hybris.platform.commercefacades.product.converters.populator.ProductUrlPopulator
de.hybris.platform.commercefacades.product.converters.populator.ProductPopulator
- All Implemented Interfaces:
Populator<ProductModel,ProductData>
Converter implementation for
ProductModel as source and ProductData as target type.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Populator<ProductModel,ProductData> protected Populator<ProductModel,ProductData> protected Populator<ProductModel,ProductData> voidpopulate(ProductModel source, ProductData target) Populate the target instance with values from the source instance.voidsetProductBasicPopulator(Populator<ProductModel, ProductData> productBasicPopulator) voidsetProductPrimaryImagePopulator(Populator<ProductModel, ProductData> productPrimaryImagePopulator) voidsetVariantSelectedPopulator(Populator<ProductModel, ProductData> variantSelectedPopulator) Methods inherited from class de.hybris.platform.commercefacades.product.converters.populator.ProductUrlPopulator
getProductModelUrlResolver, setProductModelUrlResolver
-
Constructor Details
-
ProductPopulator
public ProductPopulator()
-
-
Method Details
-
getProductBasicPopulator
-
setProductBasicPopulator
-
getVariantSelectedPopulator
-
setVariantSelectedPopulator
public void setVariantSelectedPopulator(Populator<ProductModel, ProductData> variantSelectedPopulator) -
getProductPrimaryImagePopulator
-
setProductPrimaryImagePopulator
public void setProductPrimaryImagePopulator(Populator<ProductModel, ProductData> productPrimaryImagePopulator) -
populate
Description copied from interface:PopulatorPopulate the target instance with values from the source instance.- Specified by:
populatein interfacePopulator<ProductModel,ProductData> - Overrides:
populatein classProductUrlPopulator- Parameters:
source- the source objecttarget- the target to fill
-