Class RemotePersonServiceImpl
- java.lang.Object
-
- com.atlassian.confluence.rest.client.AbstractRemoteService<PersonService>
-
- com.atlassian.confluence.rest.client.RemotePersonServiceImpl
-
- All Implemented Interfaces:
RemotePersonService
public class RemotePersonServiceImpl extends AbstractRemoteService<PersonService> implements RemotePersonService
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
RemotePersonServiceImpl.RemotePersonFinderImpl
-
Nested classes/interfaces inherited from interface com.atlassian.confluence.rest.client.RemotePersonService
RemotePersonService.RemotePersonFinder, RemotePersonService.RemotePersonManyFetcher<T>, RemotePersonService.RemotePersonSearcher, RemotePersonService.RemotePersonSingleFetcher
-
-
Field Summary
-
Fields inherited from class com.atlassian.confluence.rest.client.AbstractRemoteService
provider
-
-
Constructor Summary
Constructors Constructor Description RemotePersonServiceImpl(AuthenticatedWebResourceProvider provider, com.google.common.util.concurrent.ListeningExecutorService executor)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description LongTaskSubmission
delete(Person personToDelete)
RemotePersonService.RemotePersonFinder
find(Expansion... expansions)
com.atlassian.util.concurrent.Promise<Person>
getCurrentUser(Expansion... expansions)
Deprecated.since 7.0.1.CompletionStage<Person>
getCurrentUserCompletionStage(Expansion... expansions)
RemotePersonService.RemotePersonSearcher
search()
PersonService.Validator
validator()
Get the validator of the Person Service.-
Methods inherited from class com.atlassian.confluence.rest.client.AbstractRemoteService
addExpansions, addPageRequest, addPageRequestParams, deleteCompletionStage, deleteCompletionStage, deleteFuture, deleteFuture, getCompletionStage, getCompletionStageGenericCollection, getCompletionStageMap, getCompletionStageMapOfPageResponses, getCompletionStageOptional, getCompletionStagePageResponseList, getCompletionStageSearchPageResponseList, getExecutor, getFuture, getFutureGenericCollection, getFutureMap, getFutureMapOfPageResponses, getFutureOption, getFuturePageResponseList, newExperimentalRestWebResource, newRestWebResource, postCompletionStage, postCompletionStage, postCompletionStage, postCompletionStageToPageResponse, postFuture, postFuture, postFuture, postFutureToPageResponse, putCompletionStage, putFuture
-
-
-
-
Constructor Detail
-
RemotePersonServiceImpl
public RemotePersonServiceImpl(AuthenticatedWebResourceProvider provider, com.google.common.util.concurrent.ListeningExecutorService executor)
-
-
Method Detail
-
getCurrentUser
@Deprecated public com.atlassian.util.concurrent.Promise<Person> getCurrentUser(Expansion... expansions)
Deprecated.since 7.0.1. UsegetCurrentUserCompletionStage(Expansion...)
instead.- Specified by:
getCurrentUser
in interfaceRemotePersonService
-
getCurrentUserCompletionStage
public CompletionStage<Person> getCurrentUserCompletionStage(Expansion... expansions)
- Specified by:
getCurrentUserCompletionStage
in interfaceRemotePersonService
- Since:
- 7.0.1
-
validator
public PersonService.Validator validator()
Description copied from interface:RemotePersonService
Get the validator of the Person Service.- Specified by:
validator
in interfaceRemotePersonService
-
find
public RemotePersonService.RemotePersonFinder find(Expansion... expansions)
- Specified by:
find
in interfaceRemotePersonService
-
delete
public LongTaskSubmission delete(Person personToDelete)
- Specified by:
delete
in interfaceRemotePersonService
-
search
public RemotePersonService.RemotePersonSearcher search()
- Specified by:
search
in interfaceRemotePersonService
-
-