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 Modifier and Type Method Description CompletionStage<Optional<Content>>
fetchCompletionStage()
CompletionStage<PageResponse<Content>>
fetchManyCompletionStage(PageRequest request)
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, getFutureOptional, 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.RemoteManyFetcher
fetchMany
-
Methods inherited from interface com.atlassian.confluence.rest.client.RemoteSingleFetcher
fetch, fetchOne, fetchOneOrNull, fetchOrNull, fetchOrNullCompletionStage
-
-
-
-
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
-
fetchManyCompletionStage
public CompletionStage<PageResponse<Content>> fetchManyCompletionStage(PageRequest request)
- Specified by:
fetchManyCompletionStage
in interfaceRemoteAttachmentService.RemoteAttachmentFinder
- Specified by:
fetchManyCompletionStage
in interfaceRemoteManyFetcher<Content>
-
fetchCompletionStage
public CompletionStage<Optional<Content>> fetchCompletionStage()
- Specified by:
fetchCompletionStage
in interfaceRemoteSingleFetcher<Content>
-
-