Class CatalogVersionPopulator
- java.lang.Object
-
- de.hybris.platform.commercefacades.catalog.converters.populator.CatalogVersionPopulator
-
- All Implemented Interfaces:
ConfigurablePopulator<CatalogVersionModel,CatalogVersionData,CatalogOption>
public class CatalogVersionPopulator extends java.lang.Object implements ConfigurablePopulator<CatalogVersionModel,CatalogVersionData,CatalogOption>
-
-
Constructor Summary
Constructors Constructor Description CatalogVersionPopulator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.StringgetCategoriesUrl()protected PageablePopulator<CategoryModel,CategoryHierarchyData,CatalogOption>getCategoryHierarchyPopulator()protected CategoryServicegetCategoryService()voidpopulate(CatalogVersionModel source, CatalogVersionData target, java.util.Collection<CatalogOption> options)Populate the target instance from the source instance.voidsetCategoriesUrl(java.lang.String categoriesUrl)voidsetCategoryHierarchyPopulator(PageablePopulator<CategoryModel,CategoryHierarchyData,CatalogOption> categoryHierarchyPopulator)voidsetCategoryService(CategoryService categoryService)
-
-
-
Method Detail
-
populate
public void populate(CatalogVersionModel source, CatalogVersionData target, java.util.Collection<CatalogOption> options) throws ConversionException
Description copied from interface:ConfigurablePopulatorPopulate the target instance from the source instance. The collection of options is used to control what data is populated.- Specified by:
populatein interfaceConfigurablePopulator<CatalogVersionModel,CatalogVersionData,CatalogOption>- Parameters:
source- the source objecttarget- the target to filloptions- options used to control what data is populated- Throws:
ConversionException- if an error occurs
-
setCategoryHierarchyPopulator
public void setCategoryHierarchyPopulator(PageablePopulator<CategoryModel,CategoryHierarchyData,CatalogOption> categoryHierarchyPopulator)
-
setCategoryService
public void setCategoryService(CategoryService categoryService)
-
setCategoriesUrl
public void setCategoriesUrl(java.lang.String categoriesUrl)
-
getCategoryService
protected CategoryService getCategoryService()
-
getCategoriesUrl
protected java.lang.String getCategoriesUrl()
-
getCategoryHierarchyPopulator
protected PageablePopulator<CategoryModel,CategoryHierarchyData,CatalogOption> getCategoryHierarchyPopulator()
-
-