Class 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 Detail

      • CategoryExistsPredicate

        public CategoryExistsPredicate()
    • Method Detail

      • test

        public boolean test​(java.lang.String compositeCategoryKey)
        Specified by:
        test in interface java.util.function.Predicate<java.lang.String>
      • setProductCatalogItemModelFinder

        public void setProductCatalogItemModelFinder​(ProductCatalogItemModelFinder productCatalogItemModelFinder)