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) withAncestorOf(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.api.impl.service.content.finder.AbstractFinder
getExpansionsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.atlassian.confluence.api.service.finder.SingleFetcher
fetchOneOrNull, fetchOrNull
-
Constructor Details
-
GroupFinderImpl
-
-
Method Details
-
fetchMany
- Specified by:
fetchManyin 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.GroupFinderRestrict the fetched group to matching the given groupName- Specified by:
withNamein interfaceGroupService.GroupFinder- Parameters:
groupName- the name of the group to match- Returns:
- a fetcher with the filter applied.
-
withMember
Description copied from interface:GroupService.GroupFinderFilter to groups that have the given person as a member- Specified by:
withMemberin interfaceGroupService.GroupFinder- Returns:
- this
-
withMembershipOf
Description copied from interface:GroupService.GroupFinderRestrict the finder to find groups that are members of the given group- Specified by:
withMembershipOfin interfaceGroupService.GroupFinder- Returns:
- this
-
withParentOf
Description copied from interface:GroupService.GroupFinderRestrict the finder to find groups that are parents of the given group- Specified by:
withParentOfin interfaceGroupService.GroupFinder- Returns:
- this
-
withAncestorOf
Description copied from interface:GroupService.GroupFinderRestrict the finder to find groups that are ancestor of the given group- Specified by:
withAncestorOfin interfaceGroupService.GroupFinder- Returns:
- this
-
fetch
- Specified by:
fetchin interfaceSingleFetcher<Group>
-