Class ProductPriceRangePopulator<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.ProductPriceRangePopulator<SOURCE,TARGET>
-
- All Implemented Interfaces:
Populator<SOURCE,TARGET>
public class ProductPriceRangePopulator<SOURCE extends ProductModel,TARGET extends ProductData> extends AbstractProductPopulator<SOURCE,TARGET>
Populator for product price range.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classProductPriceRangePopulator.PriceRangeComparator
-
Constructor Summary
Constructors Constructor Description ProductPriceRangePopulator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected PriceDatacreatePriceData(PriceDataType priceType, PriceInformation priceInfo)protected PriceDataFactorygetPriceDataFactory()protected PriceServicegetPriceService()voidpopulate(SOURCE productModel, TARGET productData)Populate the target instance with values from the source instance.voidsetPriceDataFactory(PriceDataFactory priceDataFactory)voidsetPriceService(PriceService priceService)-
Methods inherited from class de.hybris.platform.commercefacades.product.converters.populator.AbstractProductPopulator
getModelService, getProductAttribute, safeToString, setModelService
-
-
-
-
Method Detail
-
getPriceService
protected PriceService getPriceService()
-
setPriceService
public void setPriceService(PriceService priceService)
-
getPriceDataFactory
protected PriceDataFactory getPriceDataFactory()
-
setPriceDataFactory
public void setPriceDataFactory(PriceDataFactory priceDataFactory)
-
populate
public void populate(SOURCE productModel, TARGET productData) throws ConversionException
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
-
createPriceData
protected PriceData createPriceData(PriceDataType priceType, PriceInformation priceInfo)
-
-