public class PersonServiceImpl extends Object implements PersonService
| Modifier and Type | Class and Description |
|---|---|
class |
PersonServiceImpl.PersonFinderImpl |
class |
PersonServiceImpl.ValidatorImpl |
PersonService.PersonFinder, PersonService.SinglePersonFetcher, PersonService.Validator| Constructor and Description |
|---|
PersonServiceImpl(PermissionManager permissionManager,
PersonFactory personFactory,
UserAccessor userAccessor,
com.atlassian.user.GroupManager groupManager,
FinderProxyFactory finderProxyFactory) |
| 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.
|
public PersonServiceImpl(PermissionManager permissionManager, PersonFactory personFactory, UserAccessor userAccessor, com.atlassian.user.GroupManager groupManager, FinderProxyFactory finderProxyFactory)
public Person getCurrentUser(Expansion... expansions)
PersonServicegetCurrentUser in interface PersonServicepublic PersonService.PersonFinder find(Expansion... expansions)
PersonServiceFor example:
personService.find()
.withKey("DEV")
.fetchOne()
find in interface PersonServicepublic PersonService.Validator validator()
PersonServicevalidator in interface PersonServiceCopyright © 2003–2017 Atlassian. All rights reserved.