public class ContentPropertyProvider extends Object implements com.atlassian.graphql.spi.GraphQLTypeContributor
| Constructor and Description | 
|---|
| ContentPropertyProvider(ContentPropertyService service) | 
| 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) | 
| RestList<JsonContentProperty> | properties(String key,
          String expand,
          int start,
          int limit,
          javax.ws.rs.core.UriInfo uriInfo,
          graphql.schema.DataFetchingEnvironment env) | 
public ContentPropertyProvider(ContentPropertyService service)
public String contributeTypeName(String typeName, Type type, com.atlassian.graphql.spi.GraphQLTypeBuilderContext context)
contributeTypeName in interface com.atlassian.graphql.spi.GraphQLTypeContributorpublic void contributeFields(String typeName, Type type, List<graphql.schema.GraphQLFieldDefinition> fields, com.atlassian.graphql.spi.GraphQLTypeBuilderContext context)
contributeFields in interface com.atlassian.graphql.spi.GraphQLTypeContributorpublic RestList<JsonContentProperty> properties(String key, String expand, int start, int limit, @Context javax.ws.rs.core.UriInfo uriInfo, graphql.schema.DataFetchingEnvironment env) throws ServiceException
ServiceExceptionCopyright © 2003–2023 Atlassian. All rights reserved.