Class RemoteContentVersionServiceImpl.RemoteVersionFinderImpl
- java.lang.Object
-
- com.atlassian.confluence.rest.client.AbstractRemoteService<ContentVersionService.VersionFinder>
-
- com.atlassian.confluence.rest.client.impl.RemoteContentVersionServiceImpl.RemoteVersionFinderImpl
-
- All Implemented Interfaces:
RemoteContentVersionService.RemoteParameterVersionFinder
,RemoteContentVersionService.RemoteVersionFinder
,RemoteManyFetcher<Version>
,RemoteSingleFetcher<Version>
- Enclosing class:
- RemoteContentVersionServiceImpl
public class RemoteContentVersionServiceImpl.RemoteVersionFinderImpl extends AbstractRemoteService<ContentVersionService.VersionFinder> implements RemoteContentVersionService.RemoteVersionFinder
-
-
Field Summary
-
Fields inherited from class com.atlassian.confluence.rest.client.AbstractRemoteService
provider
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description CompletionStage<Optional<Version>>
fetchCompletionStage()
com.atlassian.util.concurrent.Promise<PageResponse<Version>>
fetchMany(PageRequest pageRequest)
Deprecated.since 7.0.1.CompletionStage<PageResponse<Version>>
fetchManyCompletionStage(PageRequest pageRequest)
com.atlassian.util.concurrent.Promise<com.atlassian.fugue.Option<Version>>
fetchOne()
Deprecated.since 7.0.1.com.atlassian.util.concurrent.Promise<Version>
fetchOneOrNull()
Deprecated.since 7.0.1.CompletionStage<Version>
fetchOrNullCompletionStage()
RemoteContentVersionService.RemoteParameterVersionFinder
withId(ContentId contentId)
RemoteSingleFetcher
withIdAndVersion(ContentId contentId, int version)
-
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
-
-
-
-
Method Detail
-
withIdAndVersion
public RemoteSingleFetcher withIdAndVersion(ContentId contentId, int version)
- Specified by:
withIdAndVersion
in interfaceRemoteContentVersionService.RemoteVersionFinder
-
fetchMany
@Deprecated public com.atlassian.util.concurrent.Promise<PageResponse<Version>> fetchMany(PageRequest pageRequest)
Deprecated.since 7.0.1. UsefetchManyCompletionStage(PageRequest)
instead.- Specified by:
fetchMany
in interfaceRemoteManyFetcher<Version>
-
fetchManyCompletionStage
public CompletionStage<PageResponse<Version>> fetchManyCompletionStage(PageRequest pageRequest)
- Specified by:
fetchManyCompletionStage
in interfaceRemoteManyFetcher<Version>
-
withId
public RemoteContentVersionService.RemoteParameterVersionFinder withId(ContentId contentId)
- Specified by:
withId
in interfaceRemoteContentVersionService.RemoteParameterVersionFinder
-
fetchOne
@Deprecated public com.atlassian.util.concurrent.Promise<com.atlassian.fugue.Option<Version>> fetchOne()
Deprecated.since 7.0.1. UsefetchCompletionStage()
instead.- Specified by:
fetchOne
in interfaceRemoteSingleFetcher<Version>
-
fetchOneOrNull
@Deprecated public com.atlassian.util.concurrent.Promise<Version> fetchOneOrNull()
Deprecated.since 7.0.1. UsefetchOrNullCompletionStage()
instead.- Specified by:
fetchOneOrNull
in interfaceRemoteSingleFetcher<Version>
-
fetchCompletionStage
public CompletionStage<Optional<Version>> fetchCompletionStage()
- Specified by:
fetchCompletionStage
in interfaceRemoteSingleFetcher<Version>
-
fetchOrNullCompletionStage
public CompletionStage<Version> fetchOrNullCompletionStage()
- Specified by:
fetchOrNullCompletionStage
in interfaceRemoteSingleFetcher<Version>
-
-