public class GroupServiceImpl.GroupFinderImpl extends AbstractFinder<Group> implements GroupService.GroupFinder
expansions| Constructor and Description |
|---|
GroupFinderImpl(Expansion[] expansions) |
| Modifier and Type | Method and Description |
|---|---|
PageResponse<Group> |
fetchMany(PageRequest pageRequest) |
com.atlassian.fugue.Option<Group> |
fetchOne() |
GroupService.GroupFinder |
withMember(User person)
Filter to groups that have the given person as a member
|
GroupService.GroupFinder |
withName(String groupName)
Restrict the fetched group to matching the given groupName
|
fetchOneOrNull, getExpansionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfetch, fetchOneOrNull, fetchOrNullpublic GroupFinderImpl(Expansion[] expansions)
public PageResponse<Group> fetchMany(PageRequest pageRequest)
fetchMany in interface ManyFetcher<Group>pageRequest - - a pageRequest to use to paginate the response, this will be limited if it exceeds system limitspublic GroupService.GroupFinder withName(String groupName)
GroupService.GroupFinderwithName in interface GroupService.GroupFindergroupName - the name of the group to matchpublic GroupService.GroupFinder withMember(User person)
GroupService.GroupFinderwithMember in interface GroupService.GroupFinderpublic com.atlassian.fugue.Option<Group> fetchOne()
fetchOne in interface SingleFetcher<Group>Copyright © 2003–2019 Atlassian. All rights reserved.