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>
,Cloneable
FavoritesPredicate to filter SaWsUser objects by it's id.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns true if the given SaWsUser is a favorite workflow member.clone()
Clones this predicate.Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.google.common.base.Predicate
equals
-
Constructor Details
-
FavoritesPredicate
public FavoritesPredicate()
-
-
Method Details
-
apply
Returns true if the given SaWsUser is a favorite workflow member.- Specified by:
apply
in 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
Clones this predicate.- Specified by:
clone
in interfaceCloneablePredicate<SaWsUser>
- Overrides:
clone
in classObject
- Returns:
- The cloned CloneablePredicate object.
- Throws:
CloneNotSupportedException
- if clone is not supported
-