Class GroupServiceImpl.GroupFinderImpl
java.lang.Object
com.atlassian.confluence.api.impl.service.content.finder.AbstractFinder<Group>
com.atlassian.confluence.api.impl.service.people.GroupServiceImpl.GroupFinderImpl
- All Implemented Interfaces:
ManyFetcher<Group>
,SingleFetcher<Group>
,GroupService.GroupFinder
- Enclosing class:
- GroupServiceImpl
public class GroupServiceImpl.GroupFinderImpl
extends AbstractFinder<Group>
implements GroupService.GroupFinder
-
Field Summary
Fields inherited from class com.atlassian.confluence.api.impl.service.content.finder.AbstractFinder
expansions
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfetch()
fetchMany
(PageRequest pageRequest) withMember
(User person) Filter to groups that have the given person as a memberRestrict the fetched group to matching the given groupNameMethods inherited from class com.atlassian.confluence.api.impl.service.content.finder.AbstractFinder
getExpansions
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.SingleFetcher
fetchOneOrNull, fetchOrNull
-
Constructor Details
-
GroupFinderImpl
-
-
Method Details
-
fetchMany
- Specified by:
fetchMany
in interfaceManyFetcher<Group>
- Parameters:
pageRequest
- - a pageRequest to use to paginate the response, this will be limited if it exceeds system limits- Returns:
- a pageResponse of given type that matches the given restrictions
-
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
-
fetch
- Specified by:
fetch
in interfaceSingleFetcher<Group>
-