edu.internet2.middleware.grouper.filter
Class ChildGroupFilter

java.lang.Object
  extended by edu.internet2.middleware.grouper.filter.BaseQueryFilter
      extended by edu.internet2.middleware.grouper.filter.ChildGroupFilter
All Implemented Interfaces:
QueryFilter

public class ChildGroupFilter
extends BaseQueryFilter

Query filter that retrieves child groups.

Since:
1.2.1
Version:
$Id: ChildGroupFilter.java,v 1.2 2008-07-21 05:32:20 mchyzer Exp $
Author:
blair christensen.

Constructor Summary
ChildGroupFilter(Stem ns)
           
 
Method Summary
 Set<Group> getResults(GrouperSession s)
          Get filter results.
 
Methods inherited from class edu.internet2.middleware.grouper.filter.BaseQueryFilter
filterByScope
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChildGroupFilter

public ChildGroupFilter(Stem ns)
                 throws IllegalArgumentException
Parameters:
ns - Retrieves all child groups beneath stem.
Throws:
IllegalArgumentException - if ns is null.
Since:
1.2.1
Method Detail

getResults

public Set<Group> 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
Since:
1.2.1
See Also:
BaseQueryFilter.getResults(GrouperSession)