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, putFuture
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
fetchMany, fetchManyCompletionStage
fetch, fetchOrNull
protected 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.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<Map<ContentType,PageResponse<Content>>> fetchMappedByContentType(PageRequest request)
fetchMappedByContentType
in interface RemoteContentService.RemoteContentFetcher
public CompletionStage<Map<ContentType,PageResponse<Content>>> fetchMappedByContentTypeCompletionStage(PageRequest request)
fetchMappedByContentTypeCompletionStage
in interface RemoteContentService.RemoteContentFetcher
public 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–2021 Atlassian. All rights reserved.
View cookie preferences