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 forProductModelas source andProductRAOas 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 CategoryServicegetCategoryService()protected ProductUtilsgetProductUtils()voidpopulate(ProductModel source, ProductRAO target)Populate the target instance with values from the source instance.voidsetCategoryConverter(Converter<CategoryModel,CategoryRAO> categoryConverter)voidsetCategoryService(CategoryService categoryService)voidsetProductUtils(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:PopulatorPopulate the target instance with values from the source instance.- Specified by:
populatein 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)
-
-