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:
- 9.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
class
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
ConstructorsConstructorDescriptionGraphQLRemoteChildContentServiceImpl
(AuthenticatedWebResourceProvider provider, ExecutorService executor, String defaultGraphQLQuery) -
Method Summary
Modifier and TypeMethodDescriptionfindContent
(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, getCompletionStage, getCompletionStageGenericCollection, getCompletionStageMap, getCompletionStageMapOfGenericListResponse, getCompletionStageMapOfPageResponses, getCompletionStageOptional, getCompletionStagePageResponseList, getCompletionStageSearchPageResponseList, getExecutor, newExperimentalRestWebTarget, newWebTarget, postCompletionStage, postCompletionStage, postCompletionStage, postCompletionStageToPageResponse, postVoidCompletionStage, putCompletionStage, putVoidCompletionStage
-
Constructor Details
-
GraphQLRemoteChildContentServiceImpl
public GraphQLRemoteChildContentServiceImpl(AuthenticatedWebResourceProvider provider, ExecutorService executor, String defaultGraphQLQuery) - Since:
- 9.0
-
-
Method Details
-
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
-