Class ProductCategoriesPopulator<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.ProductCategoriesPopulator<SOURCE,TARGET>
- All Implemented Interfaces:
Populator<SOURCE,TARGET>
public class ProductCategoriesPopulator<SOURCE extends ProductModel,TARGET extends ProductData>
extends AbstractProductPopulator<SOURCE,TARGET>
Populate the product date with the product's categories
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Converter<CategoryModel,CategoryData> protected CommerceProductServicevoidPopulate the target instance with values from the source instance.voidsetCategoryConverter(Converter<CategoryModel, CategoryData> categoryConverter) voidsetCommerceProductService(CommerceProductService commerceProductService) Methods inherited from class de.hybris.platform.commercefacades.product.converters.populator.AbstractProductPopulator
getModelService, getProductAttribute, safeToString, setModelService
-
Constructor Details
-
ProductCategoriesPopulator
public ProductCategoriesPopulator()
-
-
Method Details
-
getCategoryConverter
-
setCategoryConverter
-
getCommerceProductService
-
setCommerceProductService
-
populate
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
-