Class RemoteContentServiceImpl.RemoteContentFinderImpl
- java.lang.Object
-
- com.atlassian.confluence.rest.client.AbstractRemoteService<ContentService.ContentFinder>
-
- com.atlassian.confluence.rest.client.AbstractRemoteContentService.AbstractRemoteContentFinder
-
- com.atlassian.confluence.rest.client.RemoteContentServiceImpl.RemoteContentFinderImpl
-
- All Implemented Interfaces:
RemoteContentService.RemoteContentFetcher
,RemoteContentService.RemoteContentFinder
,RemoteContentService.RemoteParameterContentFinder
,RemoteContentService.RemoteSingleContentFetcher
,RemoteSingleFetcher<Content>
- Enclosing class:
- RemoteContentServiceImpl
public class RemoteContentServiceImpl.RemoteContentFinderImpl extends AbstractRemoteContentService.AbstractRemoteContentFinder
-
-
Field Summary
-
Fields inherited from class com.atlassian.confluence.rest.client.AbstractRemoteContentService.AbstractRemoteContentFinder
contentId, contentTypes, createdDate, spaceKey, statuses, title, version
-
Fields inherited from class com.atlassian.confluence.rest.client.AbstractRemoteService
provider
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected com.sun.jersey.api.client.WebResource
addPageRequest(com.sun.jersey.api.client.WebResource resource, PageRequest pageRequest)
protected CompletionStage<Optional<Content>>
fetchByIdCompletionStage()
CompletionStage<PageResponse<Content>>
fetchManyCompletionStage(ContentType type, PageRequest request)
CompletionStage<Map<ContentType,PageResponse<Content>>>
fetchMappedByContentTypeCompletionStage(PageRequest request)
protected com.atlassian.util.concurrent.Promise<com.atlassian.fugue.Option<Content>>
fetchOneById()
Deprecated.since 7.0.1.-
Methods inherited from class com.atlassian.confluence.rest.client.AbstractRemoteContentService.AbstractRemoteContentFinder
fetchCompletionStage, getStatuses, withAnyStatus, withCreatedDate, withCreatedDate, withId, withId, withId, withIdAndVersion, withLocator, withSpace, withStatus, withTitle, withType
-
Methods inherited from class com.atlassian.confluence.rest.client.AbstractRemoteService
addExpansions, addPageRequestParams, deleteCompletionStage, deleteCompletionStage, deleteFuture, deleteFuture, getCompletionStage, getCompletionStageGenericCollection, getCompletionStageMap, getCompletionStageMapOfPageResponses, getCompletionStageOptional, getCompletionStagePageResponseList, getCompletionStageSearchPageResponseList, getExecutor, getFuture, getFutureGenericCollection, getFutureMap, getFutureMapOfPageResponses, getFutureOption, getFutureOptional, getFuturePageResponseList, newExperimentalRestWebResource, newRestWebResource, postCompletionStage, postCompletionStage, postCompletionStage, postCompletionStageToPageResponse, postFuture, postFuture, postFuture, postFutureToPageResponse, postVoidCompletionStage, putCompletionStage, putFuture
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.atlassian.confluence.rest.client.RemoteContentService.RemoteContentFetcher
fetchMany, fetchMappedByContentType
-
Methods inherited from interface com.atlassian.confluence.rest.client.RemoteSingleFetcher
fetch, fetchOne, fetchOneOrNull, fetchOrNull, fetchOrNullCompletionStage
-
-
-
-
Method Detail
-
fetchManyCompletionStage
public CompletionStage<PageResponse<Content>> fetchManyCompletionStage(ContentType type, PageRequest request)
-
fetchMappedByContentTypeCompletionStage
public CompletionStage<Map<ContentType,PageResponse<Content>>> fetchMappedByContentTypeCompletionStage(PageRequest request)
- Specified by:
fetchMappedByContentTypeCompletionStage
in interfaceRemoteContentService.RemoteContentFetcher
- Overrides:
fetchMappedByContentTypeCompletionStage
in classAbstractRemoteContentService.AbstractRemoteContentFinder
-
fetchOneById
@Deprecated protected com.atlassian.util.concurrent.Promise<com.atlassian.fugue.Option<Content>> fetchOneById()
Deprecated.since 7.0.1. UsefetchByIdCompletionStage()
instead.- Specified by:
fetchOneById
in classAbstractRemoteContentService.AbstractRemoteContentFinder
-
fetchByIdCompletionStage
protected CompletionStage<Optional<Content>> fetchByIdCompletionStage()
- Specified by:
fetchByIdCompletionStage
in classAbstractRemoteContentService.AbstractRemoteContentFinder
-
addPageRequest
protected com.sun.jersey.api.client.WebResource addPageRequest(com.sun.jersey.api.client.WebResource resource, PageRequest pageRequest)
- Overrides:
addPageRequest
in classAbstractRemoteService<ContentService.ContentFinder>
-
-