@ExperimentalApi
public interface PersonService
Modifier and Type | Interface and Description |
---|---|
static interface |
PersonService.PersonFinder
A finder for locating persons.
|
static interface |
PersonService.SinglePersonFetcher
only here so that the remote person service can proxy it.
|
static interface |
PersonService.Validator
Provides methods for validating the view method.
|
Modifier and Type | Method and Description |
---|---|
PersonService.PersonFinder |
find(Expansion... expansions)
Create a person finder to locate persons
Restrictions can be applied to the finder using the appropriate withFoo() method
|
Person |
getCurrentUser(Expansion... expansions)
Get the currently logged in user
|
PersonService.Validator |
validator()
Get the validator of the Person Service.
|
Person getCurrentUser(Expansion... expansions)
PersonService.PersonFinder find(Expansion... expansions)
For example:
personService.find()
.withKey("DEV")
.fetchOne()
PersonService.Validator validator()
Copyright © 2003–2016 Atlassian. All rights reserved.