Package com.saperion.ws.predicates
Class FavoritesPredicate
- java.lang.Object
-
- com.saperion.ws.predicates.FavoritesPredicate
-
- All Implemented Interfaces:
com.google.common.base.Predicate<SaWsUser>,CloneablePredicate<SaWsUser>,java.lang.Cloneable
public class FavoritesPredicate extends java.lang.Object implements CloneablePredicate<SaWsUser>
FavoritesPredicate to filter SaWsUser objects by it's id.
-
-
Constructor Summary
Constructors Constructor Description FavoritesPredicate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanapply(SaWsUser input)Returns true if the given SaWsUser is a favorite workflow member.CloneablePredicate<SaWsUser>clone()Clones this predicate.
-
-
-
Method Detail
-
apply
public boolean apply(SaWsUser input)
Returns true if the given SaWsUser is a favorite workflow member.- Specified by:
applyin interfacecom.google.common.base.Predicate<SaWsUser>- Parameters:
input- The SaWsUser in question.- Returns:
- Returns true if the given SaWsUser is a favorite workflow member, false otherwise.
-
clone
public CloneablePredicate<SaWsUser> clone() throws java.lang.CloneNotSupportedException
Clones this predicate.- Specified by:
clonein interfaceCloneablePredicate<SaWsUser>- Overrides:
clonein classjava.lang.Object- Returns:
- The cloned CloneablePredicate object.
- Throws:
java.lang.CloneNotSupportedException- if clone is not supported
-
-