public class ContentLabelsProvider extends Object implements com.atlassian.graphql.spi.GraphQLTypeContributor
Constructor and Description |
---|
ContentLabelsProvider(ContentLabelService contentLabelService) |
Modifier and Type | Method and Description |
---|---|
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) |
PageResponse<Label> |
labels(List<String> prefixes,
int offset,
String afterOffset,
int limit,
javax.ws.rs.core.UriInfo uriInfo,
graphql.schema.DataFetchingEnvironment env) |
public ContentLabelsProvider(ContentLabelService contentLabelService)
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 PageResponse<Label> labels(List<String> prefixes, int offset, String afterOffset, int limit, @Context javax.ws.rs.core.UriInfo uriInfo, graphql.schema.DataFetchingEnvironment env) throws ServiceException
ServiceException
Copyright © 2003–2020 Atlassian. All rights reserved.