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, getExpansions
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
fetch, fetchOneOrNull, fetchOrNull
public 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.GroupFinder
withName
in interface GroupService.GroupFinder
groupName
- the name of the group to matchpublic GroupService.GroupFinder withMember(User person)
GroupService.GroupFinder
withMember
in interface GroupService.GroupFinder
public com.atlassian.fugue.Option<Group> fetchOne()
fetchOne
in interface SingleFetcher<Group>
Copyright © 2003–2018 Atlassian. All rights reserved.