com.atlassian.confluence.rest.client
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
- Enclosing class:
- RemoteAttachmentServiceImpl
public class RemoteAttachmentServiceImpl.RemoteAttachmentFinderImpl
- extends AbstractRemoteService<AttachmentService.AttachmentFinder>
- implements RemoteAttachmentService.RemoteAttachmentFinder
| Methods inherited from class com.atlassian.confluence.rest.client.AbstractRemoteService |
addExpansions, addPageRequest, addPageRequestParams, deleteFuture, deleteFuture, getFuture, getFutureGenericCollection, getFutureMap, getFutureMapOfPageResponses, getFutureOption, getFuturePageResponseList, newExperimentalRestWebResource, newRestWebResource, postFuture, postFuture, postFuture, postFutureToPageResponse, putFuture |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
withId
public RemoteContentService.RemoteSingleContentFetcher withId(ContentId attachmentId)
- Specified by:
withId in interface RemoteAttachmentService.RemoteAttachmentFinder
withContainerId
public RemoteAttachmentService.RemoteAttachmentFinder withContainerId(ContentId containerId)
- Specified by:
withContainerId in interface RemoteAttachmentService.RemoteAttachmentFinder
withFilename
public RemoteAttachmentService.RemoteAttachmentFinder withFilename(String filename)
- Specified by:
withFilename in interface RemoteAttachmentService.RemoteAttachmentFinder
withMediaType
public RemoteAttachmentService.RemoteAttachmentFinder withMediaType(String mediaType)
- Specified by:
withMediaType in interface RemoteAttachmentService.RemoteAttachmentFinder
fetchMany
public com.atlassian.util.concurrent.Promise<PageResponse<Content>> fetchMany(PageRequest request)
- Specified by:
fetchMany in interface RemoteAttachmentService.RemoteAttachmentFinder
fetchOne
public com.atlassian.util.concurrent.Promise<com.atlassian.fugue.Option<Content>> fetchOne()
- Specified by:
fetchOne in interface RemoteContentService.RemoteSingleContentFetcher
fetchOneOrNull
public com.atlassian.util.concurrent.Promise<Content> fetchOneOrNull()
- Specified by:
fetchOneOrNull in interface RemoteContentService.RemoteSingleContentFetcher
Copyright © 2003–2015 Atlassian. All rights reserved.