public class RemoteAttachmentServiceImpl.RemoteAttachmentFinderImpl extends AbstractRemoteService<AttachmentService.AttachmentFinder> implements RemoteAttachmentService.RemoteAttachmentFinder
Modifier and Type | Method and Description |
---|---|
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(String filename) |
RemoteContentService.RemoteSingleContentFetcher |
withId(ContentId attachmentId) |
RemoteAttachmentService.RemoteAttachmentFinder |
withMediaType(String mediaType) |
addExpansions, addPageRequest, addPageRequestParams, deleteFuture, deleteFuture, getFuture, getFutureGenericCollection, getFutureMap, getFutureMapOfPageResponses, getFutureOption, getFuturePageResponseList, newExperimentalRestWebResource, newRestWebResource, postFuture, postFuture, postFuture, postFutureToPageResponse, putFuture
public RemoteContentService.RemoteSingleContentFetcher withId(ContentId attachmentId)
withId
in interface RemoteAttachmentService.RemoteAttachmentFinder
public RemoteAttachmentService.RemoteAttachmentFinder withContainerId(ContentId containerId)
withContainerId
in interface RemoteAttachmentService.RemoteAttachmentFinder
public RemoteAttachmentService.RemoteAttachmentFinder withFilename(String filename)
withFilename
in interface RemoteAttachmentService.RemoteAttachmentFinder
public RemoteAttachmentService.RemoteAttachmentFinder withMediaType(String mediaType)
withMediaType
in interface RemoteAttachmentService.RemoteAttachmentFinder
public com.atlassian.util.concurrent.Promise<PageResponse<Content>> fetchMany(PageRequest request)
fetchMany
in interface RemoteAttachmentService.RemoteAttachmentFinder
public com.atlassian.util.concurrent.Promise<com.atlassian.fugue.Option<Content>> fetchOne()
fetchOne
in interface RemoteContentService.RemoteSingleContentFetcher
public com.atlassian.util.concurrent.Promise<Content> fetchOneOrNull()
fetchOneOrNull
in interface RemoteContentService.RemoteSingleContentFetcher
Copyright © 2003–2018 Atlassian. All rights reserved.