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 Details

  • Method Details

    • contributeTypeName

      public String contributeTypeName(String typeName, Type type, com.atlassian.graphql.spi.GraphQLTypeBuilderContext context)
      Specified by:
      contributeTypeName in interface com.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 interface com.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