Class RemotePersonServiceImpl.RemotePersonFinderImpl
- java.lang.Object
-
- com.atlassian.confluence.rest.client.AbstractRemoteService<PersonService.PersonFinder>
-
- com.atlassian.confluence.rest.client.RemotePersonServiceImpl.RemotePersonFinderImpl
-
- All Implemented Interfaces:
RemoteManyFetcher<Person>
,RemotePersonService.RemotePersonFinder
,RemotePersonService.RemotePersonManyFetcher<Person>
,RemotePersonService.RemotePersonSingleFetcher
,RemoteSingleFetcher<Person>
- Enclosing class:
- RemotePersonServiceImpl
public class RemotePersonServiceImpl.RemotePersonFinderImpl extends AbstractRemoteService<PersonService.PersonFinder> implements RemotePersonService.RemotePersonFinder
-
-
Field Summary
-
Fields inherited from class com.atlassian.confluence.rest.client.AbstractRemoteService
provider
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
RemotePersonFinderImpl(AbstractRemoteService other, Expansion... expansions)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description CompletionStage<Optional<Person>>
fetchCompletionStage()
com.atlassian.util.concurrent.Promise<PageResponse<Person>>
fetchMany(PageRequest pageRequest)
Deprecated.since 7.0.1.CompletionStage<PageResponse<Person>>
fetchManyCompletionStage(PageRequest pageRequest)
com.atlassian.util.concurrent.Promise<com.atlassian.fugue.Option<Person>>
fetchOne()
Deprecated.since 7.0.1.com.atlassian.util.concurrent.Promise<Person>
fetchOneOrNull()
Deprecated.since 7.0.1.CompletionStage<Person>
fetchOrNullCompletionStage()
RemotePersonService.RemotePersonFinder
withMembershipOf(Group group)
RemotePersonService.RemotePersonFinder
withUserKey(com.atlassian.sal.api.user.UserKey key)
RemotePersonService.RemotePersonFinder
withUsername(String username)
-
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
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.atlassian.confluence.rest.client.RemoteSingleFetcher
fetch, fetchOrNull
-
-
-
-
Constructor Detail
-
RemotePersonFinderImpl
protected RemotePersonFinderImpl(AbstractRemoteService other, Expansion... expansions)
-
-
Method Detail
-
withUserKey
public RemotePersonService.RemotePersonFinder withUserKey(com.atlassian.sal.api.user.UserKey key)
- Specified by:
withUserKey
in interfaceRemotePersonService.RemotePersonFinder
-
withUsername
public RemotePersonService.RemotePersonFinder withUsername(String username)
- Specified by:
withUsername
in interfaceRemotePersonService.RemotePersonFinder
-
withMembershipOf
public RemotePersonService.RemotePersonFinder withMembershipOf(Group group)
- Specified by:
withMembershipOf
in interfaceRemotePersonService.RemotePersonFinder
-
fetchOne
@Deprecated public com.atlassian.util.concurrent.Promise<com.atlassian.fugue.Option<Person>> fetchOne()
Deprecated.since 7.0.1. UsefetchCompletionStage()
instead.- Specified by:
fetchOne
in interfaceRemoteSingleFetcher<Person>
-
fetchOneOrNull
@Deprecated public com.atlassian.util.concurrent.Promise<Person> fetchOneOrNull()
Deprecated.since 7.0.1. UsefetchOrNullCompletionStage()
instead.- Specified by:
fetchOneOrNull
in interfaceRemoteSingleFetcher<Person>
-
fetchMany
@Deprecated public com.atlassian.util.concurrent.Promise<PageResponse<Person>> fetchMany(PageRequest pageRequest)
Deprecated.since 7.0.1. UsefetchManyCompletionStage(PageRequest)
instead.- Specified by:
fetchMany
in interfaceRemoteManyFetcher<Person>
- Specified by:
fetchMany
in interfaceRemotePersonService.RemotePersonManyFetcher<Person>
-
fetchCompletionStage
public CompletionStage<Optional<Person>> fetchCompletionStage()
- Specified by:
fetchCompletionStage
in interfaceRemoteSingleFetcher<Person>
- Since:
- 7.0.1
-
fetchOrNullCompletionStage
public CompletionStage<Person> fetchOrNullCompletionStage()
- Specified by:
fetchOrNullCompletionStage
in interfaceRemoteSingleFetcher<Person>
- Since:
- 7.0.1
-
fetchManyCompletionStage
public CompletionStage<PageResponse<Person>> fetchManyCompletionStage(PageRequest pageRequest)
- Specified by:
fetchManyCompletionStage
in interfaceRemoteManyFetcher<Person>
- Since:
- 7.0.1
-
-