Class CatalogCodeExistsPredicate
- java.lang.Object
-
- de.hybris.platform.cmsfacades.common.predicate.CatalogCodeExistsPredicate
-
- All Implemented Interfaces:
java.util.function.Predicate<java.lang.String>
public class CatalogCodeExistsPredicate extends java.lang.Object implements java.util.function.Predicate<java.lang.String>Predicate to check existence of catalog code.Returns TRUE if the given catalog code exists; FALSE otherwise.
-
-
Constructor Summary
Constructors Constructor Description CatalogCodeExistsPredicate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CatalogServicegetCatalogService()voidsetCatalogService(CatalogService catalogService)booleantest(java.lang.String catalogCode)
-
-
-
Method Detail
-
test
public boolean test(java.lang.String catalogCode)
- Specified by:
testin interfacejava.util.function.Predicate<java.lang.String>
-
getCatalogService
protected CatalogService getCatalogService()
-
setCatalogService
public void setCatalogService(CatalogService catalogService)
-
-