Class GraphQLRemoteChildContentServiceImpl
- java.lang.Object
-
- com.atlassian.confluence.rest.client.AbstractRemoteService<ChildContentService>
-
- com.atlassian.confluence.rest.client.AbstractRemoteChildContentService
-
- com.atlassian.confluence.rest.client.graphql.GraphQLRemoteChildContentServiceImpl
-
- All Implemented Interfaces:
RemoteChildContentService
@Internal public class GraphQLRemoteChildContentServiceImpl extends AbstractRemoteChildContentService implements RemoteChildContentService
ChildContentService
implementation that communicates with Confluence remotely using the Confluence GraphQL API.- Since:
- 6.12.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GraphQLRemoteChildContentServiceImpl.GraphQLQueryChildContentResponse
class
GraphQLRemoteChildContentServiceImpl.RemoteChildContentFinderImpl
-
Nested classes/interfaces inherited from class com.atlassian.confluence.rest.client.AbstractRemoteChildContentService
AbstractRemoteChildContentService.AbstractRemoteChildContentFinder
-
Nested classes/interfaces inherited from interface com.atlassian.confluence.rest.client.RemoteChildContentService
RemoteChildContentService.RemoteChildContentFinder
-
-
Field Summary
-
Fields inherited from class com.atlassian.confluence.rest.client.AbstractRemoteService
provider
-
-
Constructor Summary
Constructors Constructor Description GraphQLRemoteChildContentServiceImpl(AuthenticatedWebResourceProvider provider, com.google.common.util.concurrent.ListeningExecutorService executor, String defaultGraphQLQuery)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RemoteChildContentService.RemoteChildContentFinder
findContent(ContentId parentId, Expansion... expansion)
Create a finder to find content in the given parent.-
Methods inherited from class com.atlassian.confluence.rest.client.AbstractRemoteService
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, postVoidCompletionStage, putCompletionStage, putFuture
-
-
-
-
Constructor Detail
-
GraphQLRemoteChildContentServiceImpl
public GraphQLRemoteChildContentServiceImpl(AuthenticatedWebResourceProvider provider, com.google.common.util.concurrent.ListeningExecutorService executor, String defaultGraphQLQuery)
-
-
Method Detail
-
findContent
public RemoteChildContentService.RemoteChildContentFinder findContent(ContentId parentId, Expansion... expansion)
Description copied from interface:RemoteChildContentService
Create a finder to find content in the given parent. Content will be returned upon calling one of the fetch methods on the returned finder- Specified by:
findContent
in interfaceRemoteChildContentService
- Parameters:
parentId
- - the id of the parent to fetch content forexpansion
- - the expansions to apply to the content- Returns:
- a new child content finder with the parent and expansions set
-
-