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.RemoteAttachmentFinderwithContainerId(ContentId containerId)RemoteAttachmentService.RemoteAttachmentFinderwithFilename(String filename)RemoteContentService.RemoteSingleContentFetcherwithId(ContentId attachmentId)RemoteAttachmentService.RemoteAttachmentFinderwithMediaType(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, 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
-
-
-
-
Method Detail
-
withId
public RemoteContentService.RemoteSingleContentFetcher withId(ContentId attachmentId)
- Specified by:
withIdin interfaceRemoteAttachmentService.RemoteAttachmentFinder
-
withContainerId
public RemoteAttachmentService.RemoteAttachmentFinder withContainerId(ContentId containerId)
- Specified by:
withContainerIdin interfaceRemoteAttachmentService.RemoteAttachmentFinder
-
withFilename
public RemoteAttachmentService.RemoteAttachmentFinder withFilename(String filename)
- Specified by:
withFilenamein interfaceRemoteAttachmentService.RemoteAttachmentFinder
-
withMediaType
public RemoteAttachmentService.RemoteAttachmentFinder withMediaType(String mediaType)
- Specified by:
withMediaTypein 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:
fetchManyin interfaceRemoteAttachmentService.RemoteAttachmentFinder- Specified by:
fetchManyin interfaceRemoteManyFetcher<Content>
-
fetchManyCompletionStage
public CompletionStage<PageResponse<Content>> fetchManyCompletionStage(PageRequest request)
- Specified by:
fetchManyCompletionStagein 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:
fetchOnein interfaceRemoteSingleFetcher<Content>
-
fetchCompletionStage
public CompletionStage<Optional<Content>> fetchCompletionStage()
- Specified by:
fetchCompletionStagein interfaceRemoteSingleFetcher<Content>
-
fetchOneOrNull
@Deprecated public com.atlassian.util.concurrent.Promise<Content> fetchOneOrNull()
Deprecated.since 7.0.1. UsefetchOrNullCompletionStage()instead.- Specified by:
fetchOneOrNullin interfaceRemoteSingleFetcher<Content>
-
fetchOrNullCompletionStage
public CompletionStage<Content> fetchOrNullCompletionStage()
- Specified by:
fetchOrNullCompletionStagein interfaceRemoteSingleFetcher<Content>
-
-