public class PersonServiceImpl.PersonFinderImpl extends AbstractFinder<Person> implements PersonService.PersonFinder
expansions
Constructor and Description |
---|
PersonFinderImpl(Expansion... expansions) |
Modifier and Type | Method and Description |
---|---|
PageResponse<Person> |
fetchMany(PageRequest request) |
com.atlassian.fugue.Option<Person> |
fetchOne() |
PersonService.PersonFinder |
withMembershipOf(Group group)
Restrict the finder to just users that are members of the given group
|
PersonService.PersonFinder |
withUserKey(com.atlassian.sal.api.user.UserKey userKey)
Restrict the finder to just the user with the given userKey
|
PersonService.PersonFinder |
withUsername(String username)
Restrict the finder to just user with the given username
|
fetchOneOrNull, getExpansions
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
fetch, fetchOneOrNull, fetchOrNull
public PersonFinderImpl(Expansion... expansions)
public PersonService.PersonFinder withUserKey(com.atlassian.sal.api.user.UserKey userKey)
PersonService.PersonFinder
withUserKey
in interface PersonService.PersonFinder
public PersonService.PersonFinder withUsername(String username)
PersonService.PersonFinder
withUsername
in interface PersonService.PersonFinder
public PersonService.PersonFinder withMembershipOf(Group group)
PersonService.PersonFinder
withMembershipOf
in interface PersonService.PersonFinder
public PageResponse<Person> fetchMany(PageRequest request)
fetchMany
in interface ManyFetcher<Person>
request
- - a pageRequest to use to paginate the response, this will be limited if it exceeds system limitspublic com.atlassian.fugue.Option<Person> fetchOne()
fetchOne
in interface SingleFetcher<Person>
Copyright © 2003–2021 Atlassian. All rights reserved.