Class ItemModelExistsPredicate
- java.lang.Object
-
- de.hybris.platform.cmsfacades.common.predicate.ItemModelExistsPredicate
-
- All Implemented Interfaces:
java.util.function.BiPredicate<java.lang.String,java.lang.Class<?>>
public class ItemModelExistsPredicate extends java.lang.Object implements java.util.function.BiPredicate<java.lang.String,java.lang.Class<?>>Predicate to test if a given unique item identifier maps to an existing item model. It uses theUniqueItemIdentifierServiceto find the item model associated to the given composite key.Returns TRUE if the item model exists; FALSE otherwise.
-
-
Constructor Summary
Constructors Constructor Description ItemModelExistsPredicate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected UniqueItemIdentifierServicegetUniqueItemIdentifierService()voidsetUniqueItemIdentifierService(UniqueItemIdentifierService uniqueItemIdentifierService)booleantest(java.lang.String compositeKey, java.lang.Class<?> classType)
-
-
-
Method Detail
-
test
public boolean test(java.lang.String compositeKey, java.lang.Class<?> classType)- Specified by:
testin interfacejava.util.function.BiPredicate<java.lang.String,java.lang.Class<?>>
-
getUniqueItemIdentifierService
protected UniqueItemIdentifierService getUniqueItemIdentifierService()
-
setUniqueItemIdentifierService
public void setUniqueItemIdentifierService(UniqueItemIdentifierService uniqueItemIdentifierService)
-
-