Interface GroupService.GroupFinder
-
- All Superinterfaces:
ManyFetcher<Group>
,SingleFetcher<Group>
- All Known Implementing Classes:
GroupServiceImpl.GroupFinderImpl
,NoopGroupFinder
- Enclosing interface:
- GroupService
public static interface GroupService.GroupFinder extends SingleFetcher<Group>, ManyFetcher<Group>
A finder for locating groups
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GroupService.GroupFinder
withMember(User person)
Filter to groups that have the given person as a memberSingleFetcher<Group>
withName(String groupName)
Restrict the fetched group to matching the given groupName-
Methods inherited from interface com.atlassian.confluence.api.service.finder.ManyFetcher
fetchMany
-
Methods inherited from interface com.atlassian.confluence.api.service.finder.SingleFetcher
fetch, fetchOne, fetchOneOrNull, fetchOrNull
-
-
-
-
Method Detail
-
withName
SingleFetcher<Group> withName(String groupName)
Restrict the fetched group to matching the given groupName- Parameters:
groupName
- the name of the group to match- Returns:
- a fetcher with the filter applied.
-
withMember
GroupService.GroupFinder withMember(User person)
Filter to groups that have the given person as a member- Returns:
- this
-
-