ValueType
- Group, Membership, Stempublic class BaseQueryFilter<ValueType> extends Object implements QueryFilter<ValueType>
QueryFilter
that all other query filters should extend.
Constructor and Description |
---|
BaseQueryFilter() |
Modifier and Type | Method and Description |
---|---|
Set |
filterByScope(Stem ns,
Set candidates)
Filter candidates by scope.
|
Set |
getResults(GrouperSession s)
Get filter results.
|
protected String |
getStringForScope(Stem ns)
Get the scope as a string.
|
protected Set<Stem> |
removeRootStem(Set<Stem> candidates) |
public Set filterByScope(Stem ns, Set candidates)
ns
- Restrict results to this scope.candidates
- A Set of candidate objectspublic Set getResults(GrouperSession s) throws QueryException
getResults
in interface QueryFilter<ValueType>
s
- Get groups within this session context.QueryException
protected String getStringForScope(Stem ns)
ns
- Copyright © 2016 Internet2. All rights reserved.