Class GroupAttributeFilter
java.lang.Object
edu.internet2.middleware.grouper.filter.BaseQueryFilter
edu.internet2.middleware.grouper.filter.GroupAttributeFilter
- All Implemented Interfaces:
QueryFilter
Query by group attribute.
- Version:
- $Id: GroupAttributeFilter.java,v 1.3 2008-11-04 15:19:56 shilen Exp $
-
Constructor Summary
ConstructorDescriptionGroupAttributeFilter
(String attr, String value, Stem ns) QueryFilter
that returns groups matching the specified attribute specification.GroupAttributeFilter
(String attr, String value, Stem ns, Boolean enabled) QueryFilter
that returns groups matching the specified attribute specification. -
Method Summary
Methods inherited from class edu.internet2.middleware.grouper.filter.BaseQueryFilter
filterByScope, getStringForScope, removeRootStem
-
Constructor Details
-
GroupAttributeFilter
QueryFilter
that returns groups matching the specified attribute specification.This performs a substring, lowercased query on attribute.
- Parameters:
attr
- Search on this attribute.value
- Search for this value.ns
- Restrict results to within this stem.
-
GroupAttributeFilter
QueryFilter
that returns groups matching the specified attribute specification.This performs a substring, lowercased query on attribute.
- Parameters:
attr
- Search on this attribute.value
- Search for this value.ns
- Restrict results to within this stem.enabled
-
-
-
Method Details
-
getResults
Description copied from class:BaseQueryFilter
Get filter results.- Specified by:
getResults
in interfaceQueryFilter
- Overrides:
getResults
in classBaseQueryFilter
- Parameters:
s
- Get groups within this session context.- Returns:
- Objects that match filter constraints.
- Throws:
QueryException
-
getEnabled
- Returns:
- true if enabled only, false if disabled only, null if everything
-
setEnabled
- Parameters:
enabled
- true if enabled only, false if disabled only, null if everything
-