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 |
withUserAccountId(String accountId) |
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, getExpansionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfetchOneOrNullpublic PersonFinderImpl(Expansion... expansions)
public PersonService.PersonFinder withUserKey(com.atlassian.sal.api.user.UserKey userKey)
PersonService.PersonFinderwithUserKey in interface PersonService.PersonFinderpublic PersonService.PersonFinder withUsername(String username)
PersonService.PersonFinderwithUsername in interface PersonService.PersonFinderpublic PersonService.PersonFinder withUserAccountId(String accountId)
withUserAccountId in interface PersonService.PersonFinderpublic PersonService.PersonFinder withMembershipOf(Group group)
PersonService.PersonFinderwithMembershipOf in interface PersonService.PersonFinderpublic 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–2017 Atlassian. All rights reserved.