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 classRemotePersonServiceImpl.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 LongTaskSubmissiondelete(Person personToDelete)RemotePersonService.RemotePersonFinderfind(Expansion... expansions)com.atlassian.util.concurrent.Promise<Person>getCurrentUser(Expansion... expansions)Deprecated.since 7.0.1.CompletionStage<Person>getCurrentUserCompletionStage(Expansion... expansions)RemotePersonService.RemotePersonSearchersearch()PersonService.Validatorvalidator()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:
getCurrentUserin interfaceRemotePersonService
-
getCurrentUserCompletionStage
public CompletionStage<Person> getCurrentUserCompletionStage(Expansion... expansions)
- Specified by:
getCurrentUserCompletionStagein interfaceRemotePersonService- Since:
- 7.0.1
-
validator
public PersonService.Validator validator()
Description copied from interface:RemotePersonServiceGet the validator of the Person Service.- Specified by:
validatorin interfaceRemotePersonService
-
find
public RemotePersonService.RemotePersonFinder find(Expansion... expansions)
- Specified by:
findin interfaceRemotePersonService
-
delete
public LongTaskSubmission delete(Person personToDelete)
- Specified by:
deletein interfaceRemotePersonService
-
search
public RemotePersonService.RemotePersonSearcher search()
- Specified by:
searchin interfaceRemotePersonService
-
-