Class ProductEntitlementCollectionPopulator<SOURCE extends ProductModel,TARGET extends ProductData>
java.lang.Object
de.hybris.platform.commercefacades.product.converters.populator.AbstractProductPopulator<SOURCE,TARGET>
de.hybris.platform.entitlementfacades.product.converters.populator.ProductEntitlementCollectionPopulator<SOURCE,TARGET>
- All Implemented Interfaces:
Populator<SOURCE,TARGET>
public class ProductEntitlementCollectionPopulator<SOURCE extends ProductModel,TARGET extends ProductData>
extends AbstractProductPopulator<SOURCE,TARGET>
Populate DTO
ProductData with data from ProductModel-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Converter<ProductEntitlementModel,EntitlementData> voidPopulate the target instance with values from the source instance.voidsetEntitlementConverter(Converter<ProductEntitlementModel, EntitlementData> entitlementConverter) Methods inherited from class de.hybris.platform.commercefacades.product.converters.populator.AbstractProductPopulator
getModelService, getProductAttribute, safeToString, setModelService
-
Constructor Details
-
ProductEntitlementCollectionPopulator
public ProductEntitlementCollectionPopulator()
-
-
Method Details
-
populate
Description copied from interface:PopulatorPopulate the target instance with values from the source instance.- Parameters:
source- the source objecttarget- the target to fill- Throws:
ConversionException- if an error occurs
-
getEntitlementConverter
-
setEntitlementConverter
public void setEntitlementConverter(Converter<ProductEntitlementModel, EntitlementData> entitlementConverter)
-