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>
,Cloneable
RolesPredicate to filter SaWsUser objects by it's SaWSGroupkind.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns true if the given SaWsUser's type is a role class.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
-
RolesPredicate
public RolesPredicate()
-
-
Method Details
-
apply
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
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
-