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, removeRootStem
public 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
BaseQueryFilter
getResults
in interface QueryFilter
getResults
in class BaseQueryFilter
s
- Get groups within this session context.QueryException
public Boolean getEnabled()
public void setEnabled(Boolean enabled)
enabled
- true if enabled only, false if disabled only, null if everythingCopyright © 2016 Internet2. All rights reserved.