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
public class NoopGroupFinder extends NoopFetcher<Group> implements GroupService.GroupFinder
- Since:
- 6.13.6, 6.14.4, 6.15.4
-
-
Constructor Summary
Constructors Constructor Description NoopGroupFinder()
-
Method Summary
All Methods Instance Methods Concrete 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 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, fetchOne, fetchOneOrNull, fetchOrNull
-
-
-
-
Method Detail
-
withName
public SingleFetcher<Group> withName(String groupName)
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
public GroupService.GroupFinder withMember(User person)
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
-
-