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 TypeMethodDescriptionbooleanReturns 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, waitMethods 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:
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
Clones this predicate.- Specified by:
clonein interfaceCloneablePredicate<SaWsUser>- Overrides:
clonein classObject- Returns:
- The cloned CloneablePredicate object.
- Throws:
CloneNotSupportedException- if clone is not supported
-