protected abstract class AbstractRemoteContentService.AbstractRemoteContentFinder extends AbstractRemoteService<ContentService.ContentFinder> implements RemoteContentService.RemoteContentFinder
| Modifier and Type | Field and Description |
|---|---|
protected ContentId |
contentId |
protected List<ContentType> |
contentTypes |
protected org.joda.time.LocalDate |
createdDate |
protected Expansion[] |
expansions |
protected String |
spaceKey |
protected com.google.common.collect.ImmutableList<ContentStatus> |
statuses |
protected String |
title |
protected int |
version |
provider| Modifier | Constructor and Description |
|---|---|
protected |
AbstractRemoteContentFinder(AbstractRemoteContentService otherService,
Expansion... expansions) |
addExpansions, addPageRequest, addPageRequestParams, deleteCompletionStage, deleteCompletionStage, deleteFuture, deleteFuture, getCompletionStage, getCompletionStageGenericCollection, getCompletionStageMap, getCompletionStageMapOfPageResponses, getCompletionStageOptional, getCompletionStagePageResponseList, getCompletionStageSearchPageResponseList, getExecutor, getFuture, getFutureGenericCollection, getFutureMap, getFutureMapOfPageResponses, getFutureOption, getFuturePageResponseList, newExperimentalRestWebResource, newRestWebResource, postCompletionStage, postCompletionStage, postCompletionStage, postCompletionStageToPageResponse, postFuture, postFuture, postFuture, postFutureToPageResponse, putCompletionStage, putFutureclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfetchMany, fetchManyCompletionStagefetch, fetchOrNullprotected final Expansion[] expansions
protected ContentId contentId
protected int version
protected String spaceKey
protected List<ContentType> contentTypes
protected org.joda.time.LocalDate createdDate
protected String title
protected com.google.common.collect.ImmutableList<ContentStatus> statuses
protected AbstractRemoteContentFinder(AbstractRemoteContentService otherService, Expansion... expansions)
public RemoteContentService.RemoteSingleContentFetcher withId(ContentId contentId)
withId in interface RemoteContentService.RemoteContentFinderpublic RemoteContentService.RemoteSingleContentFetcher withIdAndVersion(ContentId contentId, int version)
withIdAndVersion in interface RemoteContentService.RemoteContentFinderpublic RemoteContentService.RemoteSingleContentFetcher withId(ContentId first, ContentId... tail)
RemoteContentService.RemoteContentFinderwithId in interface RemoteContentService.RemoteContentFinderpublic RemoteContentService.RemoteSingleContentFetcher withId(Iterable<ContentId> contentIds)
RemoteContentService.RemoteContentFinderwithId in interface RemoteContentService.RemoteContentFindercontentIds - - the list of contentIds to restrict topublic RemoteContentService.RemoteSingleContentFetcher withLocator(ContentLocator locator)
RemoteContentService.RemoteContentFinderwithLocator in interface RemoteContentService.RemoteContentFinderlocator - the locator containing the criteria for the content you are looking forpublic RemoteContentService.RemoteParameterContentFinder withSpace(Space... spaces)
withSpace in interface RemoteContentService.RemoteParameterContentFinderpublic RemoteContentService.RemoteParameterContentFinder withType(ContentType... types)
withType in interface RemoteContentService.RemoteParameterContentFinderpublic RemoteContentService.RemoteParameterContentFinder withCreatedDate(org.joda.time.LocalDate time)
withCreatedDate in interface RemoteContentService.RemoteParameterContentFinderpublic RemoteContentService.RemoteParameterContentFinder withTitle(String title)
withTitle in interface RemoteContentService.RemoteParameterContentFinderpublic RemoteContentService.RemoteContentFinder withStatus(ContentStatus... status)
withStatus in interface RemoteContentService.RemoteContentFinderpublic RemoteContentService.RemoteContentFinder withAnyStatus()
withAnyStatus in interface RemoteContentService.RemoteContentFinderpublic com.atlassian.util.concurrent.Promise<Map<ContentType,PageResponse<Content>>> fetchMappedByContentType(PageRequest request)
fetchMappedByContentType in interface RemoteContentService.RemoteContentFetcherpublic CompletionStage<Map<ContentType,PageResponse<Content>>> fetchMappedByContentTypeCompletionStage(PageRequest request)
fetchMappedByContentTypeCompletionStage in interface RemoteContentService.RemoteContentFetcherpublic com.atlassian.util.concurrent.Promise<com.atlassian.fugue.Option<Content>> fetchOne()
fetchOne in interface RemoteSingleFetcher<Content>public com.atlassian.util.concurrent.Promise<Content> fetchOneOrNull()
fetchOneOrNull in interface RemoteSingleFetcher<Content>public CompletionStage<Optional<Content>> fetchCompletionStage()
fetchCompletionStage in interface RemoteSingleFetcher<Content>public CompletionStage<Content> fetchOrNullCompletionStage()
fetchOrNullCompletionStage in interface RemoteSingleFetcher<Content>@Deprecated protected abstract com.atlassian.util.concurrent.Promise<com.atlassian.fugue.Option<Content>> fetchOneById()
fetchByIdCompletionStage() instead.protected abstract CompletionStage<Optional<Content>> fetchByIdCompletionStage()
Copyright © 2003–2022 Atlassian. All rights reserved.