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