Class NoopGroupFinder
java.lang.Object
com.atlassian.confluence.impl.service.finder.NoopFetcher<Group>
com.atlassian.confluence.impl.service.finder.people.NoopGroupFinder
- All Implemented Interfaces:
ManyFetcher<Group>
,SingleFetcher<Group>
,GroupService.GroupFinder
- Since:
- 6.13.6, 6.14.4, 6.15.4
-
Constructor Summary
Constructors -
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 class com.atlassian.confluence.impl.service.finder.NoopFetcher
fetch, fetchMany
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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
-
Constructor Details
-
NoopGroupFinder
public NoopGroupFinder()
-
-
Method Details
-
withName
Description copied from interface:GroupService.GroupFinder
Restrict the fetched group to matching the given groupName- Specified by:
withName
in interfaceGroupService.GroupFinder
- Parameters:
groupName
- the name of the group to match- Returns:
- a fetcher with the filter applied.
-
withMember
Description copied from interface:GroupService.GroupFinder
Filter to groups that have the given person as a member- Specified by:
withMember
in interfaceGroupService.GroupFinder
- Returns:
- this
-
withMembershipOf
Description copied from interface:GroupService.GroupFinder
Restrict the finder to find groups that are members of the given group- Specified by:
withMembershipOf
in interfaceGroupService.GroupFinder
- Returns:
- this
-
withParentOf
Description copied from interface:GroupService.GroupFinder
Restrict the finder to find groups that are parents of the given group- Specified by:
withParentOf
in interfaceGroupService.GroupFinder
- Returns:
- this
-
withAncestorOf
Description copied from interface:GroupService.GroupFinder
Restrict the finder to find groups that are ancestor of the given group- Specified by:
withAncestorOf
in interfaceGroupService.GroupFinder
- Returns:
- this
-