public interface MultiValuesQueriesSupport
Modifier and Type | Method and Description |
---|---|
<T> List<T> |
searchGroupRelationships(MembershipQuery<T> query)
Searches for membership information.
|
<T> com.google.common.collect.ListMultimap<String,T> |
searchGroupRelationshipsGroupedByName(MembershipQuery<T> query)
Searches for
groups that match the supplied query criteria. |
@Nonnull <T> List<T> searchGroupRelationships(MembershipQuery<T> query) throws OperationFailedException
RemoteDirectory.searchGroupRelationships(MembershipQuery)
, but guarantees that multiple
MembershipQuery.getEntityNamesToMatch()
are supported.query
- query for memberships.OperationFailedException
- underlying directory implementation failed to execute the operation.IllegalArgumentException
- if the query is not a valid membership query<T> com.google.common.collect.ListMultimap<String,T> searchGroupRelationshipsGroupedByName(MembershipQuery<T> query)
groups
that match the supplied query criteria.
This method is similar to searchGroupRelationships(MembershipQuery)
, but it additionally groups results
by elements of MembershipQuery.getEntityNamesToMatch()
.
query
- EntityQuery for Entity.GROUP.ListMultimap<String, Group>
or ListMultimap<String, String>
of groups/groupnames
matching the search criteria, grouped by MembershipQuery.getEntityNamesToMatch()
.
Results are ordered by entity name, case-insensitive.
An empty ListMultimap
will be returned if no groups matching the criteria are found.OperationFailedException
- if the underlying directory implementation failed to execute the operationIllegalArgumentException
- if the query is not a valid group queryCopyright © 2021 Atlassian. All rights reserved.