public class GroupAttributeFilter extends BaseQueryFilter
| Constructor and Description |
|---|
GroupAttributeFilter(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. |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
getEnabled() |
Set |
getResults(GrouperSession s)
Get filter results.
|
void |
setEnabled(Boolean enabled) |
filterByScope, getStringForScope, removeRootStempublic GroupAttributeFilter(String attr, String value, Stem ns)
QueryFilter that returns groups matching the specified
attribute specification.
This performs a substring, lowercased query on attribute.
attr - Search on this attribute.value - Search for this value.ns - Restrict results to within this stem.public GroupAttributeFilter(String attr, String value, Stem ns, Boolean enabled)
QueryFilter that returns groups matching the specified
attribute specification.
This performs a substring, lowercased query on attribute.
attr - Search on this attribute.value - Search for this value.ns - Restrict results to within this stem.enabled - public Set getResults(GrouperSession s) throws QueryException
BaseQueryFiltergetResults in interface QueryFiltergetResults in class BaseQueryFilters - Get groups within this session context.QueryExceptionpublic Boolean getEnabled()
public void setEnabled(Boolean enabled)
enabled - true if enabled only, false if disabled only, null if everythingCopyright © 2016 Internet2. All rights reserved.