edu.internet2.middleware.grouper.filter
Class GroupTypeFilter
java.lang.Object
edu.internet2.middleware.grouper.filter.BaseQueryFilter
edu.internet2.middleware.grouper.filter.GroupTypeFilter
- All Implemented Interfaces:
- QueryFilter
public class GroupTypeFilter
- extends BaseQueryFilter
Query by GroupType
.
- Since:
- 1.2.0
- Version:
- $Id: GroupTypeFilter.java,v 1.2 2008-11-04 15:19:56 shilen Exp $
- Author:
- blair christensen.
GroupTypeFilter
public GroupTypeFilter(GroupType type,
Stem ns)
QueryFilter
that returns groups that have the specified
GroupType
.
- Parameters:
type
- Find groups of this type.ns
- Restrict results to within this stem.- Since:
- 1.2.0
getResults
public 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