public class ChildContentProvider extends Object implements com.atlassian.graphql.spi.GraphQLTypeContributor
ChildContentService
.Constructor and Description |
---|
ChildContentProvider(ChildContentService childContentService) |
Modifier and Type | Method and 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) |
void |
contributeFields(String typeName,
Type type,
List<graphql.schema.GraphQLFieldDefinition> fields,
com.atlassian.graphql.spi.GraphQLTypeBuilderContext context) |
String |
contributeTypeName(String typeName,
Type type,
com.atlassian.graphql.spi.GraphQLTypeBuilderContext context) |
public ChildContentProvider(ChildContentService childContentService)
public String contributeTypeName(String typeName, Type type, com.atlassian.graphql.spi.GraphQLTypeBuilderContext context)
contributeTypeName
in interface com.atlassian.graphql.spi.GraphQLTypeContributor
public void contributeFields(String typeName, Type type, List<graphql.schema.GraphQLFieldDefinition> fields, com.atlassian.graphql.spi.GraphQLTypeBuilderContext context)
contributeFields
in interface com.atlassian.graphql.spi.GraphQLTypeContributor
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
ServiceException
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
ServiceException
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
ServiceException
Copyright © 2003–2020 Atlassian. All rights reserved.