Class ProductReviewsPopulator<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.ProductReviewsPopulator<SOURCE,TARGET>
- All Implemented Interfaces:
Populator<SOURCE,TARGET>
public class ProductReviewsPopulator<SOURCE extends ProductModel,TARGET extends ProductData>
extends AbstractProductPopulator<SOURCE,TARGET>
Populate the product data reviews for the product
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected CommonI18NServiceprotected Converter<CustomerReviewModel,ReviewData> protected CustomerReviewServicevoidPopulate the target instance with values from the source instance.voidsetCommonI18NService(CommonI18NService commonI18NService) voidsetCustomerReviewConverter(Converter<CustomerReviewModel, ReviewData> customerReviewConverter) voidsetCustomerReviewService(CustomerReviewService customerReviewService) Methods inherited from class de.hybris.platform.commercefacades.product.converters.populator.AbstractProductPopulator
getModelService, getProductAttribute, safeToString, setModelService
-
Constructor Details
-
ProductReviewsPopulator
public ProductReviewsPopulator()
-
-
Method Details
-
getCustomerReviewService
-
setCustomerReviewService
-
getCustomerReviewConverter
-
setCustomerReviewConverter
public void setCustomerReviewConverter(Converter<CustomerReviewModel, ReviewData> customerReviewConverter) -
getCommonI18NService
-
setCommonI18NService
-
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
-