Class ProductRaoPopulator
- java.lang.Object
-
- de.hybris.platform.ruleengineservices.converters.populator.ProductRaoPopulator
-
- All Implemented Interfaces:
Populator<ProductModel,ProductRAO>
public class ProductRaoPopulator extends java.lang.Object implements Populator<ProductModel,ProductRAO>
Converter implementation forProductModel
as source andProductRAO
as target type.
-
-
Constructor Summary
Constructors Constructor Description ProductRaoPopulator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.Collection<CategoryRAO>
getAllCategories(java.util.Collection<CategoryModel> categories)
protected Converter<CategoryModel,CategoryRAO>
getCategoryConverter()
protected CategoryService
getCategoryService()
protected ProductUtils
getProductUtils()
void
populate(ProductModel source, ProductRAO target)
Populate the target instance with values from the source instance.void
setCategoryConverter(Converter<CategoryModel,CategoryRAO> categoryConverter)
void
setCategoryService(CategoryService categoryService)
void
setProductUtils(ProductUtils productUtils)
-
-
-
Method Detail
-
getAllCategories
protected java.util.Collection<CategoryRAO> getAllCategories(java.util.Collection<CategoryModel> categories)
-
populate
public void populate(ProductModel source, ProductRAO target)
Description copied from interface:Populator
Populate the target instance with values from the source instance.- Specified by:
populate
in interfacePopulator<ProductModel,ProductRAO>
- Parameters:
source
- the source objecttarget
- the target to fill
-
getCategoryConverter
protected Converter<CategoryModel,CategoryRAO> getCategoryConverter()
-
setCategoryConverter
public void setCategoryConverter(Converter<CategoryModel,CategoryRAO> categoryConverter)
-
getCategoryService
protected CategoryService getCategoryService()
-
setCategoryService
public void setCategoryService(CategoryService categoryService)
-
getProductUtils
protected ProductUtils getProductUtils()
-
setProductUtils
public void setProductUtils(ProductUtils productUtils)
-
-