Class RemoteAttachmentServiceImpl.RemoteAttachmentFinderImpl
- java.lang.Object
-
- com.atlassian.confluence.rest.client.AbstractRemoteService<AttachmentService.AttachmentFinder>
-
- com.atlassian.confluence.rest.client.RemoteAttachmentServiceImpl.RemoteAttachmentFinderImpl
-
- All Implemented Interfaces:
RemoteAttachmentService.RemoteAttachmentFinder
,RemoteContentService.RemoteSingleContentFetcher
,RemoteManyFetcher<Content>
,RemoteSingleFetcher<Content>
- Enclosing class:
- RemoteAttachmentServiceImpl
public class RemoteAttachmentServiceImpl.RemoteAttachmentFinderImpl extends AbstractRemoteService<AttachmentService.AttachmentFinder> implements RemoteAttachmentService.RemoteAttachmentFinder
-
-
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<Content>>
fetchCompletionStage()
com.atlassian.util.concurrent.Promise<PageResponse<Content>>
fetchMany(PageRequest request)
Deprecated.since 7.0.1.CompletionStage<PageResponse<Content>>
fetchManyCompletionStage(PageRequest request)
com.atlassian.util.concurrent.Promise<com.atlassian.fugue.Option<Content>>
fetchOne()
Deprecated.since 7.0.1.com.atlassian.util.concurrent.Promise<Content>
fetchOneOrNull()
Deprecated.since 7.0.1.CompletionStage<Content>
fetchOrNullCompletionStage()
RemoteAttachmentService.RemoteAttachmentFinder
withContainerId(ContentId containerId)
RemoteAttachmentService.RemoteAttachmentFinder
withFilename(String filename)
RemoteContentService.RemoteSingleContentFetcher
withId(ContentId attachmentId)
RemoteAttachmentService.RemoteAttachmentFinder
withMediaType(String mediaType)
-
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
-
withId
public RemoteContentService.RemoteSingleContentFetcher withId(ContentId attachmentId)
- Specified by:
withId
in interfaceRemoteAttachmentService.RemoteAttachmentFinder
-
withContainerId
public RemoteAttachmentService.RemoteAttachmentFinder withContainerId(ContentId containerId)
- Specified by:
withContainerId
in interfaceRemoteAttachmentService.RemoteAttachmentFinder
-
withFilename
public RemoteAttachmentService.RemoteAttachmentFinder withFilename(String filename)
- Specified by:
withFilename
in interfaceRemoteAttachmentService.RemoteAttachmentFinder
-
withMediaType
public RemoteAttachmentService.RemoteAttachmentFinder withMediaType(String mediaType)
- Specified by:
withMediaType
in interfaceRemoteAttachmentService.RemoteAttachmentFinder
-
fetchMany
@Deprecated public com.atlassian.util.concurrent.Promise<PageResponse<Content>> fetchMany(PageRequest request)
Deprecated.since 7.0.1. UsefetchManyCompletionStage(PageRequest)
instead.- Specified by:
fetchMany
in interfaceRemoteAttachmentService.RemoteAttachmentFinder
- Specified by:
fetchMany
in interfaceRemoteManyFetcher<Content>
-
fetchManyCompletionStage
public CompletionStage<PageResponse<Content>> fetchManyCompletionStage(PageRequest request)
- Specified by:
fetchManyCompletionStage
in interfaceRemoteManyFetcher<Content>
-
fetchOne
@Deprecated public com.atlassian.util.concurrent.Promise<com.atlassian.fugue.Option<Content>> fetchOne()
Deprecated.since 7.0.1. UsefetchCompletionStage()
instead.- Specified by:
fetchOne
in interfaceRemoteSingleFetcher<Content>
-
fetchCompletionStage
public CompletionStage<Optional<Content>> fetchCompletionStage()
- Specified by:
fetchCompletionStage
in interfaceRemoteSingleFetcher<Content>
-
fetchOneOrNull
@Deprecated public com.atlassian.util.concurrent.Promise<Content> fetchOneOrNull()
Deprecated.since 7.0.1. UsefetchOrNullCompletionStage()
instead.- Specified by:
fetchOneOrNull
in interfaceRemoteSingleFetcher<Content>
-
fetchOrNullCompletionStage
public CompletionStage<Content> fetchOrNullCompletionStage()
- Specified by:
fetchOrNullCompletionStage
in interfaceRemoteSingleFetcher<Content>
-
-