public class GroupAttributeExactFilter extends BaseQueryFilter
Constructor and Description |
---|
GroupAttributeExactFilter(String attr,
String value,
Stem ns)
QueryFilter that returns groups matching the specified
attribute specification exactly, not with like or lower. |
GroupAttributeExactFilter(String attr,
String value,
Stem ns,
Boolean enabled)
QueryFilter that returns groups matching the specified
attribute specification exactly, not with like or lower. |
Modifier and Type | Method and Description |
---|---|
Boolean |
getEnabled() |
Set |
getResults(GrouperSession s)
Get filter results.
|
void |
setEnabled(Boolean enabled) |
filterByScope, getStringForScope, removeRootStem
public GroupAttributeExactFilter(String attr, String value, Stem ns)
QueryFilter
that returns groups matching the specified
attribute specification exactly, not with like or lower.
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 GroupAttributeExactFilter(String attr, String value, Stem ns, Boolean enabled)
QueryFilter
that returns groups matching the specified
attribute specification exactly, not with like or lower.
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.