com.atlassian.confluence.rest.client
Class RemoteAttachmentServiceImpl.RemoteAttachmentFinderImpl

java.lang.Object
  extended by com.atlassian.confluence.rest.client.AbstractRemoteService<AttachmentService.AttachmentFinder>
      extended by 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


Method Summary
 com.atlassian.util.concurrent.Promise<PageResponse<Content>> fetchMany(PageRequest request)
           
 com.atlassian.util.concurrent.Promise<com.atlassian.fugue.Option<Content>> fetchOne()
           
 com.atlassian.util.concurrent.Promise<Content> fetchOneOrNull()
           
 RemoteAttachmentService.RemoteAttachmentFinder withContainerId(ContentId containerId)
           
 RemoteAttachmentService.RemoteAttachmentFinder withFilename(java.lang.String filename)
           
 RemoteContentService.RemoteSingleContentFetcher withId(ContentId attachmentId)
           
 RemoteAttachmentService.RemoteAttachmentFinder withMediaType(java.lang.String mediaType)
           
 
Methods inherited from class com.atlassian.confluence.rest.client.AbstractRemoteService
addExpansions, addPageRequest, addPageRequestParams, deleteFuture, getFutureGenericCollection, getFutureMapOfPageResponses, getFutureOption, getFuturePageResponseList, newRestWebResource, postFuture, postFuture, postFuture, postFutureToPageResponse, putFuture
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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(java.lang.String filename)
Specified by:
withFilename in interface RemoteAttachmentService.RemoteAttachmentFinder

withMediaType

public RemoteAttachmentService.RemoteAttachmentFinder withMediaType(java.lang.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-2014 Atlassian. All Rights Reserved.