edu.internet2.middleware.grouper.shibboleth.filter
Class GroupInStemFilter

java.lang.Object
  extended by edu.internet2.middleware.grouper.shibboleth.filter.AbstractFilter<edu.internet2.middleware.grouper.Group>
      extended by edu.internet2.middleware.grouper.shibboleth.filter.GroupInStemFilter
All Implemented Interfaces:
edu.internet2.middleware.grouper.filter.QueryFilter<edu.internet2.middleware.grouper.Group>, Filter<edu.internet2.middleware.grouper.Group>

public class GroupInStemFilter
extends AbstractFilter<edu.internet2.middleware.grouper.Group>

Selects Groups in a Stem with Stem.Scope.


Constructor Summary
GroupInStemFilter(String name, String scope)
          Creates a GroupsInStemFilter which returns the Groups which are under the given Stem name and scope.
 
Method Summary
 boolean matches(edu.internet2.middleware.grouper.Group group)
          Returns true if the group is a child of the configured stem with the configured scope.
 
Methods inherited from class edu.internet2.middleware.grouper.shibboleth.filter.AbstractFilter
getGrouperSession, getQueryFilter, getResults, setQueryFilter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GroupInStemFilter

public GroupInStemFilter(String name,
                         String scope)
Creates a GroupsInStemFilter which returns the Groups which are under the given Stem name and scope.

Parameters:
name - the stem name
scope - the stem scope
Method Detail

matches

public boolean matches(edu.internet2.middleware.grouper.Group group)
Returns true if the group is a child of the configured stem with the configured scope. Returns true if the Grouper object would be returned by the filter. False otherwise.

Parameters:
group - the Grouper object
Returns:
if the Grouper object matches or not


Copyright © 2012 Internet2. All Rights Reserved.