Interface GroupSearchStrategy
- All Known Implementing Classes:
InMemoryEntitySearchStrategy,NoDirectorySearchStrategy
public interface GroupSearchStrategy
A set of querying across a collection of active directories.
A strategy is resolved using a SearchStrategyFactory and can be optimised for specific configurations of
directory.
- See Also:
-
Method Summary
Modifier and TypeMethodDescription<T> PagedSearcher<T>createPagedGroupSearcher(EntityQuery<T> query) <T> List<T>searchGroups(EntityQuery<T> query) Returns aList<Group>orList<String>groupnames matching the search criteria defined in the query.
-
Method Details
-
searchGroups
Returns aList<Group>orList<String>groupnames matching the search criteria defined in the query.The groups will be returned in a stable order including across pagination boundaries (excluding modification).
- Parameters:
query- the search query.- Returns:
List<Group>group objects orList<String>groupnames, depending on the query.
-
createPagedGroupSearcher
<T> PagedSearcher<T> createPagedGroupSearcher(EntityQuery<T> query) throws PagingNotSupportedException
-