Class ItemModelExistsPredicate
java.lang.Object
de.hybris.platform.cmsfacades.common.predicate.ItemModelExistsPredicate
- All Implemented Interfaces:
BiPredicate<String,Class<?>>
Predicate to test if a given unique item identifier maps to an existing item model. It uses the
UniqueItemIdentifierService to find the item model associated to the given composite key.
Returns TRUE if the item model exists; FALSE otherwise.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected UniqueItemIdentifierServicevoidsetUniqueItemIdentifierService(UniqueItemIdentifierService uniqueItemIdentifierService) booleanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.function.BiPredicate
and, negate, or
-
Constructor Details
-
ItemModelExistsPredicate
public ItemModelExistsPredicate()
-
-
Method Details
-
test
- Specified by:
testin interfaceBiPredicate<String,Class<?>>
-
getUniqueItemIdentifierService
-
setUniqueItemIdentifierService
-