public class LikesProvider extends Object implements com.atlassian.graphql.spi.GraphQLTypeContributor
| Modifier and Type | Class and Description |
|---|---|
static class |
LikesProvider.LikesResponse |
| Constructor and Description |
|---|
LikesProvider(LikeManager likeManager,
PersonService personService,
UserAccessor userAccessor,
NetworkService networkService,
ContentEntityManager contentEntityManager) |
| 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) |
LikesProvider.LikesResponse |
likes(graphql.schema.DataFetchingEnvironment env) |
public LikesProvider(LikeManager likeManager, PersonService personService, UserAccessor userAccessor, NetworkService networkService, ContentEntityManager contentEntityManager)
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 LikesProvider.LikesResponse likes(graphql.schema.DataFetchingEnvironment env)
Copyright © 2003–2022 Atlassian. All rights reserved.