edu.internet2.middleware.grouper.filter
Class IntersectionFilter

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

public class IntersectionFilter
extends BaseQueryFilter

Returns the intersection of two other query filters.

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

Constructor Summary
IntersectionFilter(QueryFilter a, QueryFilter b)
          QueryFilter that returns the intersection of two other query filters.
 
Method Summary
 Set 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

IntersectionFilter

public IntersectionFilter(QueryFilter a,
                          QueryFilter b)
QueryFilter that returns the intersection of two other query filters.

Parameters:
a - First query filter
b - Second query filter
Method Detail

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