edu.internet2.middleware.grouper.filter
Class GroupAttributeExactFilter
java.lang.Object
edu.internet2.middleware.grouper.filter.BaseQueryFilter
edu.internet2.middleware.grouper.filter.GroupAttributeExactFilter
- All Implemented Interfaces:
- QueryFilter
public class GroupAttributeExactFilter
- extends BaseQueryFilter
Query by group attribute exactly, not with like or lower.
- Version:
- $Id: GroupAttributeExactFilter.java,v 1.2 2008-11-04 15:19:56 shilen Exp $
- Author:
- blair christensen.
Constructor Summary |
GroupAttributeExactFilter(java.lang.String attr,
java.lang.String value,
Stem ns)
QueryFilter that returns groups matching the specified
attribute specification exactly, not with like or lower. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GroupAttributeExactFilter
public GroupAttributeExactFilter(java.lang.String attr,
java.lang.String value,
Stem ns)
QueryFilter
that returns groups matching the specified
attribute specification exactly, not with like or lower.
This performs a substring, lowercased query on attribute.
- Parameters:
attr
- Search on this attribute.value
- Search for this value.ns
- Restrict results to within this stem.
getResults
public java.util.Set getResults(GrouperSession s)
throws QueryException
- Description copied from class:
BaseQueryFilter
- Get filter results.
- Specified by:
getResults
in interface QueryFilter
- Overrides:
getResults
in class BaseQueryFilter
- Parameters:
s
- Get groups within this session context.
- Returns:
- Objects that match filter constraints.
- Throws:
QueryException