Interface GroupService.GroupFinder
- All Superinterfaces:
ManyFetcher<Group>
,SingleFetcher<Group>
- All Known Implementing Classes:
GroupServiceImpl.GroupFinderImpl
,NoopGroupFinder
- Enclosing interface:
- GroupService
A finder for locating groups
-
Method Summary
Modifier and TypeMethodDescriptionwithAncestorOf
(Group group) Restrict the finder to find groups that are ancestor of the given groupwithMember
(User person) Filter to groups that have the given person as a memberwithMembershipOf
(Group group) Restrict the finder to find groups that are members of the given groupRestrict the fetched group to matching the given groupNamewithParentOf
(Group group) Restrict the finder to find groups that are parents of the given groupMethods inherited from interface com.atlassian.confluence.api.service.finder.ManyFetcher
fetchMany
Methods inherited from interface com.atlassian.confluence.api.service.finder.SingleFetcher
fetch, fetchOneOrNull, fetchOrNull
-
Method Details
-
withName
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
Filter to groups that have the given person as a member- Returns:
- this
-
withMembershipOf
Restrict the finder to find groups that are members of the given group- Returns:
- this
- Since:
- 9.2.6
-
withParentOf
Restrict the finder to find groups that are parents of the given group- Returns:
- this
- Since:
- 9.2.6
-
withAncestorOf
Restrict the finder to find groups that are ancestor of the given group- Returns:
- this
- Since:
- 9.2.6
-