public class RemoteContentServiceImpl.RemoteContentFinderImpl extends AbstractRemoteService<ContentService.ContentFinder> implements RemoteContentService.RemoteContentFinder
addExpansions, addPageRequest, addPageRequestParams, deleteFuture, deleteFuture, getFuture, getFutureGenericCollection, getFutureMap, getFutureMapOfPageResponses, getFutureOption, getFuturePageResponseList, newExperimentalRestWebResource, newRestWebResource, postFuture, postFuture, postFuture, postFutureToPageResponse, putFuture
public RemoteContentService.RemoteSingleContentFetcher withId(ContentId contentId)
withId
in interface RemoteContentService.RemoteContentFinder
public RemoteContentService.RemoteSingleContentFetcher withIdAndVersion(ContentId contentId, int version)
withIdAndVersion
in interface RemoteContentService.RemoteContentFinder
public RemoteContentService.RemoteSingleContentFetcher withId(ContentId first, ContentId... tail)
RemoteContentService.RemoteContentFinder
withId
in interface RemoteContentService.RemoteContentFinder
public RemoteContentService.RemoteSingleContentFetcher withId(Iterable<ContentId> contentIds)
RemoteContentService.RemoteContentFinder
withId
in interface RemoteContentService.RemoteContentFinder
contentIds
- - the list of contentIds to restrict topublic RemoteContentService.RemoteSingleContentFetcher withLocator(ContentLocator locator)
RemoteContentService.RemoteContentFinder
withLocator
in interface RemoteContentService.RemoteContentFinder
locator
- the locator containing the criteria for the content you are looking forpublic RemoteContentService.RemoteParameterContentFinder withSpace(Space... spaces)
withSpace
in interface RemoteContentService.RemoteParameterContentFinder
public RemoteContentService.RemoteParameterContentFinder withType(ContentType... types)
withType
in interface RemoteContentService.RemoteParameterContentFinder
public RemoteContentService.RemoteParameterContentFinder withCreatedDate(org.joda.time.LocalDate time)
withCreatedDate
in interface RemoteContentService.RemoteParameterContentFinder
public RemoteContentService.RemoteParameterContentFinder withTitle(String title)
withTitle
in interface RemoteContentService.RemoteParameterContentFinder
public RemoteContentService.RemoteContentFinder withStatus(ContentStatus... status)
withStatus
in interface RemoteContentService.RemoteContentFinder
public RemoteContentService.RemoteContentFinder withAnyStatus()
withAnyStatus
in interface RemoteContentService.RemoteContentFinder
public com.atlassian.util.concurrent.Promise<PageResponse<Content>> fetchMany(ContentType type, PageRequest request)
fetchMany
in interface RemoteContentService.RemoteContentFetcher
public com.atlassian.util.concurrent.Promise<Map<ContentType,PageResponse<Content>>> fetchMappedByContentType(PageRequest request)
fetchMappedByContentType
in interface RemoteContentService.RemoteContentFetcher
@Internal public com.atlassian.util.concurrent.Promise<com.atlassian.fugue.Option<Content>> fetchOneUsingExperimental()
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.