Class ChildContentProvider
- java.lang.Object
 - 
- com.atlassian.confluence.plugins.graphql.providers.ChildContentProvider
 
 
- 
- All Implemented Interfaces:
 com.atlassian.graphql.spi.GraphQLTypeContributor
public class ChildContentProvider extends Object implements com.atlassian.graphql.spi.GraphQLTypeContributor
Graph-ql query field provider for theChildContentService.- Since:
 - 6.12.0
 
 
- 
- 
Constructor Summary
Constructors Constructor Description ChildContentProvider(ChildContentService childContentService) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GraphQLPagination<Content>attachments(graphql.schema.DataFetchingEnvironment env, String expand, Integer parentVersion, int offset, String afterOffset, int limit, javax.ws.rs.core.UriInfo uriInfo)GraphQLPagination<Content>children(graphql.schema.DataFetchingEnvironment env, String expand, String type, Integer parentVersion, int offset, String afterOffset, int limit, javax.ws.rs.core.UriInfo uriInfo)GraphQLPagination<Content>comments(graphql.schema.DataFetchingEnvironment env, String expand, Integer parentVersion, int offset, String afterOffset, int limit, Set<String> location, String depth, javax.ws.rs.core.UriInfo uriInfo)voidcontributeFields(String typeName, Type type, List<graphql.schema.GraphQLFieldDefinition> fields, com.atlassian.graphql.spi.GraphQLTypeBuilderContext context)StringcontributeTypeName(String typeName, Type type, com.atlassian.graphql.spi.GraphQLTypeBuilderContext context) 
 - 
 
- 
- 
Constructor Detail
- 
ChildContentProvider
public ChildContentProvider(ChildContentService childContentService)
 
 - 
 
- 
Method Detail
- 
contributeTypeName
public String contributeTypeName(String typeName, Type type, com.atlassian.graphql.spi.GraphQLTypeBuilderContext context)
- Specified by:
 contributeTypeNamein interfacecom.atlassian.graphql.spi.GraphQLTypeContributor
 
- 
contributeFields
public void contributeFields(String typeName, Type type, List<graphql.schema.GraphQLFieldDefinition> fields, com.atlassian.graphql.spi.GraphQLTypeBuilderContext context)
- Specified by:
 contributeFieldsin interfacecom.atlassian.graphql.spi.GraphQLTypeContributor
 
- 
children
public GraphQLPagination<Content> children(graphql.schema.DataFetchingEnvironment env, String expand, String type, Integer parentVersion, int offset, String afterOffset, int limit, javax.ws.rs.core.UriInfo uriInfo) throws ServiceException
- Throws:
 ServiceException
 
- 
attachments
public GraphQLPagination<Content> attachments(graphql.schema.DataFetchingEnvironment env, String expand, Integer parentVersion, int offset, String afterOffset, int limit, javax.ws.rs.core.UriInfo uriInfo) throws ServiceException
- Throws:
 ServiceException
 
- 
comments
public GraphQLPagination<Content> comments(graphql.schema.DataFetchingEnvironment env, String expand, Integer parentVersion, int offset, String afterOffset, int limit, Set<String> location, String depth, javax.ws.rs.core.UriInfo uriInfo) throws ServiceException
- Throws:
 ServiceException
 
 - 
 
 -