Package de.hybris.platform.cockpit.util
Class NewItemPersistencePredicate
- java.lang.Object
-
- de.hybris.platform.cockpit.util.NewItemPersistencePredicate
-
- All Implemented Interfaces:
org.apache.commons.collections.Predicate
public class NewItemPersistencePredicate extends java.lang.Object implements org.apache.commons.collections.PredicateA little Predicate class to check and remove from collection of TypedObject this one which is not persisted yet. Usage:final ItemPersistenceCheck filterPredicate = new ItemPersistenceCheck(); CollectionUtils.filter(contextItems, filterPredicate);
-
-
Constructor Summary
Constructors Constructor Description NewItemPersistencePredicate()Instantiates a new new item persistence predicate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanevaluate(java.lang.Object object)
-