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 protectedRemotePersonFinderImpl(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.RemotePersonFinderwithMembershipOf(Group group)RemotePersonService.RemotePersonFinderwithUserKey(com.atlassian.sal.api.user.UserKey key)RemotePersonService.RemotePersonFinderwithUsername(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, postVoidCompletionStage, 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:
withUserKeyin interfaceRemotePersonService.RemotePersonFinder
-
withUsername
public RemotePersonService.RemotePersonFinder withUsername(String username)
- Specified by:
withUsernamein interfaceRemotePersonService.RemotePersonFinder
-
withMembershipOf
public RemotePersonService.RemotePersonFinder withMembershipOf(Group group)
- Specified by:
withMembershipOfin 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:
fetchOnein interfaceRemoteSingleFetcher<Person>
-
fetchOneOrNull
@Deprecated public com.atlassian.util.concurrent.Promise<Person> fetchOneOrNull()
Deprecated.since 7.0.1. UsefetchOrNullCompletionStage()instead.- Specified by:
fetchOneOrNullin 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:
fetchManyin interfaceRemoteManyFetcher<Person>- Specified by:
fetchManyin interfaceRemotePersonService.RemotePersonManyFetcher<Person>
-
fetchCompletionStage
public CompletionStage<Optional<Person>> fetchCompletionStage()
- Specified by:
fetchCompletionStagein interfaceRemoteSingleFetcher<Person>- Since:
- 7.0.1
-
fetchOrNullCompletionStage
public CompletionStage<Person> fetchOrNullCompletionStage()
- Specified by:
fetchOrNullCompletionStagein interfaceRemoteSingleFetcher<Person>- Since:
- 7.0.1
-
fetchManyCompletionStage
public CompletionStage<PageResponse<Person>> fetchManyCompletionStage(PageRequest pageRequest)
- Specified by:
fetchManyCompletionStagein interfaceRemoteManyFetcher<Person>- Since:
- 7.0.1
-
-