Class CategoryExistsPredicate
- java.lang.Object
-
- de.hybris.platform.cmsfacades.common.predicate.CategoryExistsPredicate
-
- All Implemented Interfaces:
java.util.function.Predicate<java.lang.String>
public class CategoryExistsPredicate extends java.lang.Object implements java.util.function.Predicate<java.lang.String>Predicate to test if a collection of categoryCodes each individually map to a Category.Returns TRUE if the restriction exists; FALSE otherwise.
-
-
Constructor Summary
Constructors Constructor Description CategoryExistsPredicate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ProductCatalogItemModelFindergetProductCatalogItemModelFinder()voidsetProductCatalogItemModelFinder(ProductCatalogItemModelFinder productCatalogItemModelFinder)booleantest(java.lang.String compositeCategoryKey)
-
-
-
Method Detail
-
test
public boolean test(java.lang.String compositeCategoryKey)
- Specified by:
testin interfacejava.util.function.Predicate<java.lang.String>
-
getProductCatalogItemModelFinder
protected ProductCatalogItemModelFinder getProductCatalogItemModelFinder()
-
setProductCatalogItemModelFinder
public void setProductCatalogItemModelFinder(ProductCatalogItemModelFinder productCatalogItemModelFinder)
-
-