edu.internet2.middleware.grouper.shibboleth.filter
Class MinusGroupFilter
java.lang.Object
edu.internet2.middleware.grouper.shibboleth.filter.BaseGroupQueryFilter
edu.internet2.middleware.grouper.shibboleth.filter.ConditionalGroupQueryFilter
edu.internet2.middleware.grouper.shibboleth.filter.MinusGroupFilter
- All Implemented Interfaces:
- QueryFilter<Group>, GroupQueryFilter
public class MinusGroupFilter
- extends ConditionalGroupQueryFilter
Selects groups that match the complement of two GroupQueryFilters, e.g. the result of
the first group query filter minus the result of the second group query filter. A group
matches this filter if it matches the first group query filter and not the second.
Method Summary |
boolean |
matchesGroup(Group group)
Returns true if the Group would be returned by the filter. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MinusGroupFilter
public MinusGroupFilter(GroupQueryFilter groupFilter0,
GroupQueryFilter groupFilter1)
- Constructor. Creates an ComplementFilter of the given GroupQueryFilters.
- Parameters:
groupFilter0
- GroupQueryFiltergroupFilter1
- GroupQueryFilter
matchesGroup
public boolean matchesGroup(Group group)
- Returns true if the Group would be returned by the filter. False otherwise.
- Parameters:
group
- the Group
- Returns:
- if the group matches or not
Copyright © 2012 Internet2. All Rights Reserved.