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)
PersonService
getCurrentUser
in interface PersonService
public PersonService.PersonFinder find(Expansion... expansions)
PersonService
For example:
personService.find()
.withKey("DEV")
.fetchOne()
find
in interface PersonService
public PersonService.Validator validator()
PersonService
validator
in interface PersonService
Copyright © 2003–2017 Atlassian. All rights reserved.