Class CategoryToCategoryCodesMapper
java.lang.Object
de.hybris.platform.ruleengineservices.validation.CategoryToCategoryCodesMapper
- All Implemented Interfaces:
Function<CategoryModel,Set<String>>
public class CategoryToCategoryCodesMapper
extends Object
implements Function<CategoryModel,Set<String>>
Maps incoming instance of
CategoryModel to a set of String values. Every String value represents
CategoryModel.getCode() of all the sub categories for the given category, plus category code of the category itself.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply(CategoryModel category) protected CategoryServicevoidsetCategoryService(CategoryService categoryService)
-
Constructor Details
-
CategoryToCategoryCodesMapper
public CategoryToCategoryCodesMapper()
-
-
Method Details
-
apply
- Specified by:
applyin interfaceFunction<CategoryModel,Set<String>>
-
getCategoryService
-
setCategoryService
-