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 the
ChildContentService
.- Since:
- 6.12.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionattachments
(graphql.schema.DataFetchingEnvironment env, String expand, Integer parentVersion, int offset, String afterOffset, int limit, javax.ws.rs.core.UriInfo uriInfo) children
(graphql.schema.DataFetchingEnvironment env, String expand, String type, Integer parentVersion, int offset, String afterOffset, int limit, javax.ws.rs.core.UriInfo uriInfo) 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) void
contributeFields
(String typeName, Type type, List<graphql.schema.GraphQLFieldDefinition> fields, com.atlassian.graphql.spi.GraphQLTypeBuilderContext context) contributeTypeName
(String typeName, Type type, com.atlassian.graphql.spi.GraphQLTypeBuilderContext context)
-
Constructor Details
-
ChildContentProvider
-
-
Method Details
-
contributeTypeName
public String contributeTypeName(String typeName, Type type, com.atlassian.graphql.spi.GraphQLTypeBuilderContext context) - Specified by:
contributeTypeName
in 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:
contributeFields
in interfacecom.atlassian.graphql.spi.GraphQLTypeContributor
-
children
public GraphQLPagination<Content> children(graphql.schema.DataFetchingEnvironment env, @DefaultValue("") String expand, @DefaultValue("page") String type, @DefaultValue("0") Integer parentVersion, int offset, String afterOffset, @DefaultValue("25") int limit, javax.ws.rs.core.UriInfo uriInfo) throws ServiceException - Throws:
ServiceException
-
attachments
public GraphQLPagination<Content> attachments(graphql.schema.DataFetchingEnvironment env, @DefaultValue("") String expand, @DefaultValue("0") Integer parentVersion, int offset, String afterOffset, @DefaultValue("25") int limit, javax.ws.rs.core.UriInfo uriInfo) throws ServiceException - Throws:
ServiceException
-
comments
public GraphQLPagination<Content> comments(graphql.schema.DataFetchingEnvironment env, @DefaultValue("") String expand, @DefaultValue("0") Integer parentVersion, int offset, String afterOffset, @DefaultValue("25") int limit, Set<String> location, @DefaultValue("") String depth, javax.ws.rs.core.UriInfo uriInfo) throws ServiceException - Throws:
ServiceException
-