Class ProductToCategoryCodesMapper
java.lang.Object
de.hybris.platform.ruleengineservices.validation.ProductToCategoryCodesMapper
- All Implemented Interfaces:
Function<ProductModel,Set<String>>
public class ProductToCategoryCodesMapper
extends Object
implements Function<ProductModel,Set<String>>
Maps incoming instance of
ProductModel to a set of String values. Every String value represents
CategoryModel.getCode() of all the super categories of the given product-
Constructor Details
-
ProductToCategoryCodesMapper
public ProductToCategoryCodesMapper()
-
-
Method Details
-
apply
- Specified by:
applyin interfaceFunction<ProductModel,Set<String>>
-