Index

A B C D E F G H I J L M N O P Q R S T U V W 
All Classes and Interfaces|All Packages

A

addFriend(DataFetchingEnvironment, String, String) - Method in class org.starwars.server.datafetchersdelegate.DataFetchersDelegateMutationTypeImpl
 
addFriend(DataFetchingEnvironment, String, String) - Method in interface org.starwars.server.util.DataFetchersDelegateMutationType
This method loads the data for MutationType.addFriend.
addFriend(DataFetchingEnvironment, String, String) - Method in class org.starwars.server.util.MutationTypeController
This method loads the data for ${dataFetcher.graphQLType}.addFriend.
addFriend(UUID, UUID) - Method in interface org.starwars.server.jpa.DroidRepository
 
addFriend(UUID, UUID) - Method in interface org.starwars.server.jpa.HumanRepository
 
appearsIn(DataFetchingEnvironment, Character) - Method in class org.starwars.server.datafetchersdelegate.DataFetchersDelegateCharacterImpl
 
appearsIn(DataFetchingEnvironment, Character) - Method in class org.starwars.server.util.CharacterController
This method loads the data for ${dataFetcher.graphQLType}.appearsIn.
appearsIn(DataFetchingEnvironment, Character) - Method in interface org.starwars.server.util.DataFetchersDelegateCharacter
This method loads the data for Character.appearsIn.
appearsIn(DataFetchingEnvironment, Droid) - Method in class org.starwars.server.datafetchersdelegate.DataFetchersDelegateDroidImpl
 
appearsIn(DataFetchingEnvironment, Droid) - Method in interface org.starwars.server.util.DataFetchersDelegateDroid
This method loads the data for Droid.appearsIn.
appearsIn(DataFetchingEnvironment, Droid) - Method in class org.starwars.server.util.DroidController
This method loads the data for ${dataFetcher.graphQLType}.appearsIn.
appearsIn(DataFetchingEnvironment, Human) - Method in class org.starwars.server.datafetchersdelegate.DataFetchersDelegateHumanImpl
 
appearsIn(DataFetchingEnvironment, Human) - Method in interface org.starwars.server.util.DataFetchersDelegateHuman
This method loads the data for Human.appearsIn.
appearsIn(DataFetchingEnvironment, Human) - Method in class org.starwars.server.util.HumanController
This method loads the data for ${dataFetcher.graphQLType}.appearsIn.
applicationContext - Variable in class org.starwars.server.util.GraphQLServerMain
 

B

batchLoader(List<UUID>) - Method in class org.starwars.server.datafetchersdelegate.CharacterHelper
 
batchLoader(List<UUID>) - Method in class org.starwars.server.datafetchersdelegate.DataFetchersDelegateCharacterImpl
 
batchLoader(List<UUID>) - Method in class org.starwars.server.datafetchersdelegate.DataFetchersDelegateDroidImpl
 
batchLoader(List<UUID>) - Method in class org.starwars.server.datafetchersdelegate.DataFetchersDelegateHumanImpl
 
batchLoader(List<UUID>) - Method in interface org.starwars.server.jpa.DroidRepository
 
batchLoader(List<UUID>) - Method in interface org.starwars.server.jpa.HumanRepository
 
batchLoader(List<UUID>) - Method in interface org.starwars.server.util.DataFetchersDelegateCharacter
This method loads a list of ${dataFetcher.field.name}, based on the list of id to be fetched.
batchLoader(List<UUID>) - Method in interface org.starwars.server.util.DataFetchersDelegateDroid
This method loads a list of ${dataFetcher.field.name}, based on the list of id to be fetched.
batchLoader(List<UUID>) - Method in interface org.starwars.server.util.DataFetchersDelegateHuman
This method loads a list of ${dataFetcher.field.name}, based on the list of id to be fetched.
build() - Method in class org.starwars.server.Droid.Builder
 
build() - Method in class org.starwars.server.Human.Builder
 
build() - Method in class org.starwars.server.MutationType.Builder
 
build() - Method in class org.starwars.server.QueryType.Builder
 
build() - Method in class org.starwars.server.SubscriptionType.Builder
 
builder() - Static method in class org.starwars.server.Droid
 
builder() - Static method in class org.starwars.server.Human
 
builder() - Static method in class org.starwars.server.MutationType
 
builder() - Static method in class org.starwars.server.QueryType
 
builder() - Static method in class org.starwars.server.SubscriptionType
 
Builder() - Constructor for class org.starwars.server.Droid.Builder
 
Builder() - Constructor for class org.starwars.server.Human.Builder
 
Builder() - Constructor for class org.starwars.server.MutationType.Builder
 
Builder() - Constructor for class org.starwars.server.QueryType.Builder
 
Builder() - Constructor for class org.starwars.server.SubscriptionType.Builder
 

C

Character - Interface in org.starwars.server
 
CharacterController - Class in org.starwars.server.util
 
CharacterController(BatchLoaderRegistry) - Constructor for class org.starwars.server.util.CharacterController
 
CharacterHelper - Class in org.starwars.server.datafetchersdelegate
 
CharacterHelper() - Constructor for class org.starwars.server.datafetchersdelegate.CharacterHelper
 
CharacterPublisher - Class in org.starwars.server.datafetchersdelegate
This class is responsible for Publishing new Characters.
CharacterPublisher() - Constructor for class org.starwars.server.datafetchersdelegate.CharacterPublisher
 
characters(DataFetchingEnvironment, String) - Method in class org.starwars.server.util.QueryTypeController
This method loads the data for ${dataFetcher.graphQLType}.characters.
characters(DataFetchingEnvironment, Episode) - Method in class org.starwars.server.datafetchersdelegate.DataFetchersDelegateQueryTypeImpl
 
characters(DataFetchingEnvironment, Episode) - Method in interface org.starwars.server.util.DataFetchersDelegateQueryType
This method loads the data for QueryType.characters.
classNameExtractor(Class<?>) - Method in class com.graphql_java_generator.server.util.GraphqlServerUtils
Implementation of a ClassNameTypeResolver to manage the possible prefix and suffix on the generated POJOs.
com.graphql_java_generator.annotation - package com.graphql_java_generator.annotation
All annotations used by the GraphQL-generator client part
com.graphql_java_generator.customscalars - package com.graphql_java_generator.customscalars
This package provide "as is" some GraphQLScalarTypes.
com.graphql_java_generator.server.util - package com.graphql_java_generator.server.util
 
com.graphql_java_generator.util - package com.graphql_java_generator.util
 
concatStreams(Class<T>, boolean, T, T, T, List<? extends T>...) - Method in class com.graphql_java_generator.util.GraphqlUtils
Concatenate a non limited number of lists into a stream.
configure(RuntimeWiring.Builder) - Method in class org.starwars.server.util.GraphQLWiring
 
createHuman(DataFetchingEnvironment, String, String) - Method in class org.starwars.server.datafetchersdelegate.DataFetchersDelegateMutationTypeImpl
 
createHuman(DataFetchingEnvironment, String, String) - Method in interface org.starwars.server.util.DataFetchersDelegateMutationType
This method loads the data for MutationType.createHuman.
createHuman(DataFetchingEnvironment, String, String) - Method in class org.starwars.server.util.MutationTypeController
This method loads the data for ${dataFetcher.graphQLType}.createHuman.
CustomScalar - Class in com.graphql_java_generator.customscalars
This class represents a custom scalar, with all the information to allow proper execution of the generated code
CustomScalar(GraphQLScalarType, Class<?>) - Constructor for class com.graphql_java_generator.customscalars.CustomScalar
 
CustomScalarRegistry - Interface in com.graphql_java_generator.customscalars
Registry for all GraphQLScalarType available.

D

dataFetchersDelegateCharacter - Variable in class org.starwars.server.util.CharacterController
 
DataFetchersDelegateCharacter - Interface in org.starwars.server.util
This interface contains the fata fetchers that are delegated in the bean that the implementation has to provide, when fetching fields for the Character GraphQL type, as defined in the provided GraphQL schema.
DataFetchersDelegateCharacterImpl - Class in org.starwars.server.datafetchersdelegate
 
DataFetchersDelegateCharacterImpl() - Constructor for class org.starwars.server.datafetchersdelegate.DataFetchersDelegateCharacterImpl
 
dataFetchersDelegateDroid - Variable in class org.starwars.server.util.DroidController
 
DataFetchersDelegateDroid - Interface in org.starwars.server.util
This interface contains the fata fetchers that are delegated in the bean that the implementation has to provide, when fetching fields for the Droid GraphQL type, as defined in the provided GraphQL schema.
DataFetchersDelegateDroidImpl - Class in org.starwars.server.datafetchersdelegate
 
DataFetchersDelegateDroidImpl() - Constructor for class org.starwars.server.datafetchersdelegate.DataFetchersDelegateDroidImpl
 
dataFetchersDelegateHuman - Variable in class org.starwars.server.util.HumanController
 
DataFetchersDelegateHuman - Interface in org.starwars.server.util
This interface contains the fata fetchers that are delegated in the bean that the implementation has to provide, when fetching fields for the Human GraphQL type, as defined in the provided GraphQL schema.
DataFetchersDelegateHumanImpl - Class in org.starwars.server.datafetchersdelegate
 
DataFetchersDelegateHumanImpl() - Constructor for class org.starwars.server.datafetchersdelegate.DataFetchersDelegateHumanImpl
 
dataFetchersDelegateMutationType - Variable in class org.starwars.server.util.MutationTypeController
 
DataFetchersDelegateMutationType - Interface in org.starwars.server.util
This interface contains the fata fetchers that are delegated in the bean that the implementation has to provide, when fetching fields for the MutationType GraphQL type, as defined in the provided GraphQL schema.
DataFetchersDelegateMutationTypeImpl - Class in org.starwars.server.datafetchersdelegate
 
DataFetchersDelegateMutationTypeImpl() - Constructor for class org.starwars.server.datafetchersdelegate.DataFetchersDelegateMutationTypeImpl
 
dataFetchersDelegateQueryType - Variable in class org.starwars.server.util.QueryTypeController
 
DataFetchersDelegateQueryType - Interface in org.starwars.server.util
This interface contains the fata fetchers that are delegated in the bean that the implementation has to provide, when fetching fields for the QueryType GraphQL type, as defined in the provided GraphQL schema.
DataFetchersDelegateQueryTypeImpl - Class in org.starwars.server.datafetchersdelegate
 
DataFetchersDelegateQueryTypeImpl() - Constructor for class org.starwars.server.datafetchersdelegate.DataFetchersDelegateQueryTypeImpl
 
dataFetchersDelegateRegistry - Static variable in class org.starwars.server.util.DataFetchersDelegateRegistry
 
DataFetchersDelegateRegistry - Class in org.starwars.server.util
This registry logs each DataFetchersDelegate spring component.
DataFetchersDelegateRegistry() - Constructor for class org.starwars.server.util.DataFetchersDelegateRegistry
 
dataFetchersDelegateSubscriptionType - Variable in class org.starwars.server.util.SubscriptionTypeController
 
DataFetchersDelegateSubscriptionType - Interface in org.starwars.server.util
This interface contains the fata fetchers that are delegated in the bean that the implementation has to provide, when fetching fields for the SubscriptionType GraphQL type, as defined in the provided GraphQL schema.
DataFetchersDelegateSubscriptionTypeImpl - Class in org.starwars.server.datafetchersdelegate
 
DataFetchersDelegateSubscriptionTypeImpl() - Constructor for class org.starwars.server.datafetchersdelegate.DataFetchersDelegateSubscriptionTypeImpl
 
Date - Static variable in class com.graphql_java_generator.customscalars.GraphQLScalarTypeDate
Custom Scalar for Date management.
DateTime - Static variable in class com.graphql_java_generator.customscalars.GraphQLScalarTypeDateTime
Custom Scalar for DateTime management.
defaultSourceBuilderCustomizer() - Method in class org.starwars.server.util.GraphQLServerMain
This GraphQlSourceBuilderCustomizer configures stuff that is mandatory for plugin.
droid(DataFetchingEnvironment, UUID) - Method in class org.starwars.server.datafetchersdelegate.DataFetchersDelegateQueryTypeImpl
 
droid(DataFetchingEnvironment, UUID) - Method in interface org.starwars.server.util.DataFetchersDelegateQueryType
This method loads the data for QueryType.droid.
droid(DataFetchingEnvironment, UUID) - Method in class org.starwars.server.util.QueryTypeController
This method loads the data for ${dataFetcher.graphQLType}.droid.
Droid - Class in org.starwars.server
 
Droid() - Constructor for class org.starwars.server.Droid
 
Droid.Builder - Class in org.starwars.server
The Builder that helps building instance of this POJO.
DroidController - Class in org.starwars.server.util
 
DroidController(BatchLoaderRegistry) - Constructor for class org.starwars.server.util.DroidController
 
DroidRepository - Interface in org.starwars.server.jpa
 

E

EMPIRE - Enum constant in enum org.starwars.server.Episode
 
enumValueToString(Object) - Method in class com.graphql_java_generator.server.util.GraphqlServerUtils
Returns the given enumValue transformed a String, based on the String representation for this enumValues.
This method is based on the graphQlValue() generated for each enum POJO.
Episode - Enum in org.starwars.server
 
EpisodeRepository - Interface in org.starwars.server.jpa
Repository is commented: so it's no more found by Spring
TODO remove if really useless

F

fieldName() - Element in annotation type com.graphql_java_generator.annotation.GraphQLNonScalar
The name of the field's attribute, as defined in the GraphQL schema.
fieldName() - Element in annotation type com.graphql_java_generator.annotation.GraphQLScalar
The name of the field's attribute, as defined in the GraphQL schema.
findAll() - Method in class org.starwars.server.datafetchersdelegate.CharacterHelper
 
findAll() - Method in interface org.starwars.server.jpa.DroidRepository
 
findAll() - Method in interface org.starwars.server.jpa.HumanRepository
 
findAppearsIn(UUID) - Method in interface org.starwars.server.jpa.EpisodeRepository
 
findAppearsInById(UUID) - Method in class org.starwars.server.datafetchersdelegate.CharacterHelper
 
findAppearsInById(UUID) - Method in interface org.starwars.server.jpa.DroidRepository
 
findAppearsInById(UUID) - Method in interface org.starwars.server.jpa.HumanRepository
 
findByAppearsIn(String) - Method in class org.starwars.server.datafetchersdelegate.CharacterHelper
 
findByAppearsIn(String) - Method in interface org.starwars.server.jpa.DroidRepository
 
findByAppearsIn(String) - Method in interface org.starwars.server.jpa.HumanRepository
 
findById(UUID) - Method in class org.starwars.server.datafetchersdelegate.CharacterHelper
Reads one Character, from its id
findById(UUID) - Method in interface org.starwars.server.jpa.DroidRepository
As in this implementation, we have separate tables for the concrete classes of the Character interface, we use a nativeQuery.
findById(UUID) - Method in interface org.starwars.server.jpa.HumanRepository
As in this implementation, we have separate tables for the concrete classes of the Character interface, we use a nativeQuery.
findFriends(UUID) - Method in interface org.starwars.server.jpa.DroidRepository
 
findFriends(UUID) - Method in interface org.starwars.server.jpa.HumanRepository
 
friends(DataFetchingEnvironment, Character) - Method in class org.starwars.server.datafetchersdelegate.DataFetchersDelegateCharacterImpl
 
friends(DataFetchingEnvironment, Character) - Method in class org.starwars.server.util.CharacterController
This method loads the data for ${dataFetcher.graphQLType}.friends.
friends(DataFetchingEnvironment, Character) - Method in interface org.starwars.server.util.DataFetchersDelegateCharacter
This method loads the data for Character.friends.
friends(DataFetchingEnvironment, Droid) - Method in class org.starwars.server.datafetchersdelegate.DataFetchersDelegateDroidImpl
 
friends(DataFetchingEnvironment, Droid) - Method in interface org.starwars.server.util.DataFetchersDelegateDroid
This method loads the data for Droid.friends.
friends(DataFetchingEnvironment, Droid) - Method in class org.starwars.server.util.DroidController
This method loads the data for ${dataFetcher.graphQLType}.friends.
friends(DataFetchingEnvironment, Human) - Method in class org.starwars.server.datafetchersdelegate.DataFetchersDelegateHumanImpl
 
friends(DataFetchingEnvironment, Human) - Method in interface org.starwars.server.util.DataFetchersDelegateHuman
This method loads the data for Human.friends.
friends(DataFetchingEnvironment, Human) - Method in class org.starwars.server.util.HumanController
This method loads the data for ${dataFetcher.graphQLType}.friends.
friends(UUID) - Method in class org.starwars.server.datafetchersdelegate.CharacterHelper
Retrieves the list of friends of the character which id is given.
from(String) - Static method in class com.graphql_java_generator.server.util.QueryParameters
 
fromGraphQlValue(String) - Static method in enum org.starwars.server.Episode
Returns the enum constant of this type with the specified name (as specified in the GraphQL schema).

G

getAddFriend() - Method in class org.starwars.server.MutationType
 
getAppearsIn() - Method in interface org.starwars.server.Character
 
getAppearsIn() - Method in class org.starwars.server.Droid
 
getAppearsIn() - Method in class org.starwars.server.Human
 
getAppearsInEpisode() - Method in class org.starwars.server.Droid
 
getAppearsInEpisode() - Method in class org.starwars.server.Human
 
getArgument(Object, String, String, Class<?>) - Method in class com.graphql_java_generator.server.util.GraphqlServerUtils
This method returns a GraphQL argument into the relevant Java object, within a data fetcher, from what has been parsed by the graphql-java engine from the incoming JSON request
getCamelCase(String) - Method in class com.graphql_java_generator.util.GraphqlUtils
Convert the given name, to a camel case name.
getCharacters() - Method in class org.starwars.server.QueryType
 
getClassSimpleName(String) - Method in class com.graphql_java_generator.util.GraphqlUtils
Extract the simple name for a class (without the package name), from its full class name (with the package name)
getCreateHuman() - Method in class org.starwars.server.MutationType
 
getCustomScalar(String) - Method in interface com.graphql_java_generator.customscalars.CustomScalarRegistry
Retrieves the registered GraphQLScalarType for this GraphQL CustomScalar.
getDataFetchersDelegateCharacter() - Method in class org.starwars.server.util.DataFetchersDelegateRegistry
 
getDataFetchersDelegateDroid() - Method in class org.starwars.server.util.DataFetchersDelegateRegistry
 
getDataFetchersDelegateHuman() - Method in class org.starwars.server.util.DataFetchersDelegateRegistry
 
getDataFetchersDelegateMutationType() - Method in class org.starwars.server.util.DataFetchersDelegateRegistry
 
getDataFetchersDelegateQueryType() - Method in class org.starwars.server.util.DataFetchersDelegateRegistry
 
getDataFetchersDelegateSubscriptionType() - Method in class org.starwars.server.util.DataFetchersDelegateRegistry
 
getDroid() - Method in class org.starwars.server.QueryType
 
getFriends() - Method in interface org.starwars.server.Character
 
getFriends() - Method in class org.starwars.server.Droid
 
getFriends() - Method in class org.starwars.server.Human
 
getFriendsCharacter() - Method in class org.starwars.server.Droid
 
getFriendsCharacter() - Method in class org.starwars.server.Human
 
getGetter(Class<?>, Field) - Method in class com.graphql_java_generator.util.GraphqlUtils
Retrieves the getter for the given field on the given field
getGraphQLCustomScalarType(String) - Method in interface com.graphql_java_generator.customscalars.CustomScalarRegistry
Retrieves the registered GraphQLScalarType for this GraphQL CustomScalar.
getGraphQLScalarType() - Method in class com.graphql_java_generator.customscalars.CustomScalar
 
getGraphQLTypeName() - Method in class com.graphql_java_generator.customscalars.CustomScalar
 
getHero() - Method in class org.starwars.server.QueryType
 
getHomePlanet() - Method in class org.starwars.server.Human
 
getHuman() - Method in class org.starwars.server.QueryType
 
getId() - Method in interface org.starwars.server.Character
 
getId() - Method in class org.starwars.server.Droid
 
getId() - Method in class org.starwars.server.Human
 
getJavaName(String) - Method in class com.graphql_java_generator.util.GraphqlUtils
Returns a valid java identifier for the given name.
getLastModified(File, boolean) - Method in class com.graphql_java_generator.util.GraphqlUtils
Returns the maximum or minimum value for the lastModified of the given file, or of all the files (not folders) contained into this folder.
getMethod(String, Class<?>, Class<?>...) - Method in class com.graphql_java_generator.util.GraphqlUtils
Retrieves the asked method, from its name, class and parameters.
getName() - Method in interface org.starwars.server.Character
 
getName() - Method in class org.starwars.server.Droid
 
getName() - Method in class org.starwars.server.Human
 
getNewCharacter() - Method in class org.starwars.server.SubscriptionType
 
getOperationName() - Method in class com.graphql_java_generator.server.util.QueryParameters
 
getPackageName(String) - Method in class com.graphql_java_generator.util.GraphqlUtils
Extract the package name for a class, from its full class name (with the package name)
getPascalCase(String) - Method in class com.graphql_java_generator.util.GraphqlUtils
Convert the given name, which is supposed to be in camel case (for instance: thisIsCamelCase) to a pascal case string (for instance: ThisIsCamelCase).
getPrimaryFunction() - Method in class org.starwars.server.Droid
 
getQuery() - Method in class com.graphql_java_generator.server.util.QueryParameters
 
getQuotedScanBasePackages(String) - Method in class com.graphql_java_generator.util.GraphqlUtils
 
getRuntimeVersion() - Method in class com.graphql_java_generator.util.GraphqlUtils
Returns the version of the runtime, that is used to check that the runtime's version is the same as the Maven or Gradle plugin's version.
getSetter(Class<T>, Field) - Method in class com.graphql_java_generator.util.GraphqlUtils
Retrieves the setter for the given field on the given field
getValueAsString(Value<?>) - Method in class com.graphql_java_generator.util.GraphqlUtils
Returns the given value, as string, as it can be written into the GraphQLDirective.parameterValues() of the GraphQLDirective java annotation.
A str string default value will be returned as "str",a JEDI enum value will be returned as "JEDI", an object will be returned as "{name:\"specific name\",appearsIn:[NEWHOPE,EMPIRE],type:\"Human\"}"...
getValueAsText(Value<?>) - Method in class com.graphql_java_generator.util.GraphqlUtils
Returns the given value, as text, as it can be written into a generated GraphQL schema.
A str string default value will be returned as "str",a JEDI enum value will be returned as JEDI, ...
getValueClazz() - Method in class com.graphql_java_generator.customscalars.CustomScalar
 
getVariables() - Method in class com.graphql_java_generator.server.util.QueryParameters
 
GraphQLBase64String - Static variable in class com.graphql_java_generator.customscalars.GraphQLScalarTypeBase64String
 
GraphQLDeprecatedResponseForRequestObject - Annotation Type in com.graphql_java_generator.annotation
 
GraphQLDirective - Annotation Type in com.graphql_java_generator.annotation
This annotation contains the information for a directive that was applied to a GraphQL item in the GraphQL schema used to generate the code.
GraphQLDirectives - Annotation Type in com.graphql_java_generator.annotation
List of all directives that apply to this GraphQL type, field or parameter
GraphQLEnumType - Annotation Type in com.graphql_java_generator.annotation
 
GraphQLIgnore - Annotation Type in com.graphql_java_generator.annotation
This annotation marks the type, field or method as a non GraphQL one.
GraphQLInputParameters - Annotation Type in com.graphql_java_generator.annotation
This class indicates that this field has at least one input parameter.
GraphQLInputType - Annotation Type in com.graphql_java_generator.annotation
This annotation marks all generated classes that are generated to match a GraphQL input type, as defined in the GraphQL schema.
GraphQLInterfaceType - Annotation Type in com.graphql_java_generator.annotation
 
GraphQLNonScalar - Annotation Type in com.graphql_java_generator.annotation
This annotation marks all fields in the generated classes, that are non scalar.
GraphQLObjectType - Annotation Type in com.graphql_java_generator.annotation
 
GraphQLPluginAutoConfiguration - Class in org.starwars.server_spring_autoconfiguration
This Spring autoconfiguration class is used to declare default beans, that can then be overridden, thanks to the &Primary spring annotation.
GraphQLPluginAutoConfiguration() - Constructor for class org.starwars.server_spring_autoconfiguration.GraphQLPluginAutoConfiguration
 
GraphQLQuery - Annotation Type in com.graphql_java_generator.annotation
This annotation marks all generated classes that are queries/mutations/subscription, as defined in the GraphQL schema.
GraphQLScalar - Annotation Type in com.graphql_java_generator.annotation
This annotation marks all fields in the generated classes, that are standard GraphQL scalar.
GraphQLScalarTypeBase64String - Class in com.graphql_java_generator.customscalars
 
GraphQLScalarTypeBase64String() - Constructor for class com.graphql_java_generator.customscalars.GraphQLScalarTypeBase64String
 
GraphQLScalarTypeDate - Class in com.graphql_java_generator.customscalars
A proposed Date scalar, that stores dates in String, formatted as: YYYY-MM-DD
This Scalar is proposed to be used, for integration testing (checks that the plugin correctly manages Custom Scalars, see samples) and with more documentation to help people to create their own Custom Scalar implementations.
GraphQLScalarTypeDate() - Constructor for class com.graphql_java_generator.customscalars.GraphQLScalarTypeDate
 
GraphQLScalarTypeDateTime - Class in com.graphql_java_generator.customscalars
A proposed DateTime scalar, that stores dates in String, formatted as: 2019-07-03T20:47:55Z
This Scalar is proposed to be used, for integration testing (checks that the plugin correctly manages Custom Scalars, see samples) and with more documentation to help people to create their own Custom Scalar implementations.
GraphQLScalarTypeDateTime() - Constructor for class com.graphql_java_generator.customscalars.GraphQLScalarTypeDateTime
 
GraphQLScalarTypeIDClient - Class in com.graphql_java_generator.customscalars
ID are managed as String, on client side.
GraphQLScalarTypeIDClient() - Constructor for class com.graphql_java_generator.customscalars.GraphQLScalarTypeIDClient
 
GraphQLScalarTypeIDServer - Class in com.graphql_java_generator.customscalars
ID are managed as UUID, on server side.
GraphQLScalarTypeIDServer() - Constructor for class com.graphql_java_generator.customscalars.GraphQLScalarTypeIDServer
 
GraphQLScalarTypeString - Class in com.graphql_java_generator.customscalars
Useless String scalar.
It's used both as a sample, to be completed by a developper, according to his/her needs, and for the use in some tests of the plugin logic (like in the Shopify sample, to handle (badly) various scalar as based on strings).
It's actually a bad management, as this custom scalars does nothing, but read basic strings.
GraphQLScalarTypeString() - Constructor for class com.graphql_java_generator.customscalars.GraphQLScalarTypeString
 
GraphQLServerMain - Class in org.starwars.server.util
 
GraphQLServerMain() - Constructor for class org.starwars.server.util.GraphQLServerMain
 
graphqlServerUtils - Static variable in class com.graphql_java_generator.server.util.GraphqlServerUtils
 
graphqlServerUtils - Variable in class org.starwars.server.util.CharacterController
 
graphqlServerUtils - Variable in class org.starwars.server.util.DroidController
 
graphqlServerUtils - Variable in class org.starwars.server.util.HumanController
 
graphqlServerUtils - Variable in class org.starwars.server.util.MutationTypeController
 
graphqlServerUtils - Variable in class org.starwars.server.util.QueryTypeController
 
graphqlServerUtils - Variable in class org.starwars.server.util.SubscriptionTypeController
 
GraphqlServerUtils - Class in com.graphql_java_generator.server.util
A class that contains utility method for the server mode
GraphqlServerUtils() - Constructor for class com.graphql_java_generator.server.util.GraphqlServerUtils
 
graphQLTypeSimpleName() - Element in annotation type com.graphql_java_generator.annotation.GraphQLNonScalar
The name of the Scalar type, as defined in the GraphQL schema, without indication of list or mandatory.
graphQLTypeSimpleName() - Element in annotation type com.graphql_java_generator.annotation.GraphQLScalar
The name of the Scalar type, as defined in the GraphQL schema, without indication of list or mandatory.
GraphQLUnionType - Annotation Type in com.graphql_java_generator.annotation
 
graphqlUtils - Static variable in class com.graphql_java_generator.util.GraphqlUtils
This singleton is usable in default method, within interfaces
GraphqlUtils - Class in com.graphql_java_generator.util
 
GraphqlUtils() - Constructor for class com.graphql_java_generator.util.GraphqlUtils
 
graphQlValue() - Method in enum org.starwars.server.Episode
Returns the value of this constant, as specified in the GraphQL schema.
GraphQLWiring - Class in org.starwars.server.util
Thanks to spring-graphql, the POJO classes are auto-magically discovered and mapped.
GraphQLWiring() - Constructor for class org.starwars.server.util.GraphQLWiring
 

H

hero(DataFetchingEnvironment, String) - Method in class org.starwars.server.util.QueryTypeController
This method loads the data for ${dataFetcher.graphQLType}.hero.
hero(DataFetchingEnvironment, Episode) - Method in class org.starwars.server.datafetchersdelegate.DataFetchersDelegateQueryTypeImpl
 
hero(DataFetchingEnvironment, Episode) - Method in interface org.starwars.server.util.DataFetchersDelegateQueryType
This method loads the data for QueryType.hero.
human(DataFetchingEnvironment, UUID) - Method in class org.starwars.server.datafetchersdelegate.DataFetchersDelegateQueryTypeImpl
 
human(DataFetchingEnvironment, UUID) - Method in interface org.starwars.server.util.DataFetchersDelegateQueryType
This method loads the data for QueryType.human.
human(DataFetchingEnvironment, UUID) - Method in class org.starwars.server.util.QueryTypeController
This method loads the data for ${dataFetcher.graphQLType}.human.
Human - Class in org.starwars.server
 
Human() - Constructor for class org.starwars.server.Human
 
Human.Builder - Class in org.starwars.server
The Builder that helps building instance of this POJO.
HumanController - Class in org.starwars.server.util
 
HumanController(BatchLoaderRegistry) - Constructor for class org.starwars.server.util.HumanController
 
HumanRepository - Interface in org.starwars.server.jpa
 

I

ID - Static variable in class com.graphql_java_generator.customscalars.GraphQLScalarTypeIDClient
UUID are managed as String, on client side.
ID - Static variable in class com.graphql_java_generator.customscalars.GraphQLScalarTypeIDServer
UUID are managed as String, on client side.
invokeGetter(Object, String) - Method in class com.graphql_java_generator.util.GraphqlUtils
Invoke the getter for the given field name, on the given object.
invokeMethod(Method, Object, Object...) - Method in class com.graphql_java_generator.util.GraphqlUtils
Invoke the given setter on the given object, with the given value.
invokeMethod(String, Object, Object...) - Method in class com.graphql_java_generator.util.GraphqlUtils
Calls the 'methodName' method on the given object.
invokeSetter(Object, Field, Object) - Method in class com.graphql_java_generator.util.GraphqlUtils
Invoke the setter for the given field, on the given object.
invokeSetter(Object, String, Object) - Method in class com.graphql_java_generator.util.GraphqlUtils
Invoke the setter for the Field of the given name, on the given object.
invokeStaticMethod(String, Class<?>) - Method in class com.graphql_java_generator.util.GraphqlUtils
Calls the 'methodName' method on the given class.
isJavaReservedWords(String) - Method in class com.graphql_java_generator.util.GraphqlUtils
Returns true if name is a reserved java keyword
itemsMandatory() - Element in annotation type com.graphql_java_generator.annotation.GraphQLInputParameters
Contains for each input parameters named in GraphQLInputParameters.names(), true if this parameter is a list and its items are mandatory (according to GraphQL list's specification), and false otherwise.
iterableConcreteClassToListInterface(Iterable<? extends I>) - Method in class com.graphql_java_generator.util.GraphqlUtils
Transform an Iterable (which can be a List) of a concrete class, into a List of the I interface or superclass.
iterableToList(Iterable<I>) - Method in class com.graphql_java_generator.util.GraphqlUtils
Transform an Iterable (which can be a List), into a List of items of the same type.

J

JAVA_KEYWORD_PREFIX - Static variable in class com.graphql_java_generator.util.GraphqlUtils
 
javaClass() - Element in annotation type com.graphql_java_generator.annotation.GraphQLNonScalar
Contains the java data type that is has used to store the data, on both the client and the server side.
javaClass() - Element in annotation type com.graphql_java_generator.annotation.GraphQLScalar
Contains the java data type that is has used to store the data, on both the client and the server side.
JEDI - Enum constant in enum org.starwars.server.Episode
 

L

listDepth() - Element in annotation type com.graphql_java_generator.annotation.GraphQLNonScalar
The list depth for this field.
listDepth() - Element in annotation type com.graphql_java_generator.annotation.GraphQLScalar
The list depth for this field.
listDepths() - Element in annotation type com.graphql_java_generator.annotation.GraphQLInputParameters
Contains for each input parameters named in GraphQLInputParameters.names(), 0 if this parameter is not a list, and a positive number if this input parameter is a list (2, for instance for [[Int]]).
logger - Variable in class org.starwars.server.datafetchersdelegate.CharacterPublisher
The logger for this instance
logger - Variable in class org.starwars.server.datafetchersdelegate.DataFetchersDelegateCharacterImpl
The logger for this instance
logger - Variable in class org.starwars.server.datafetchersdelegate.DataFetchersDelegateDroidImpl
The logger for this instance
logger - Variable in class org.starwars.server.datafetchersdelegate.DataFetchersDelegateHumanImpl
The logger for this instance
logger - Variable in class org.starwars.server.util.GraphQLWiring
The logger for this instance

M

main(String[]) - Static method in class org.starwars.server.util.GraphQLServerMain
 
mandatories() - Element in annotation type com.graphql_java_generator.annotation.GraphQLInputParameters
Contains for each input parameters named in GraphQLInputParameters.names(), true if this parameter is mandatory, and false otherwise.
mapArgumentToRelevantPojoOrScalar(Object, Class<?>, int, String, String) - Method in class com.graphql_java_generator.server.util.GraphqlServerUtils
Maps an object received from spring-graphql to an ObjectNode (or a list of ObjectNode of any depth).
mutation - Enum constant in enum com.graphql_java_generator.annotation.RequestType
 
MutationType - Class in org.starwars.server
 
MutationType() - Constructor for class org.starwars.server.MutationType
 
MutationType.Builder - Class in org.starwars.server
The Builder that helps building instance of this POJO.
MutationTypeController - Class in org.starwars.server.util
 
MutationTypeController() - Constructor for class org.starwars.server.util.MutationTypeController
 

N

name() - Element in annotation type com.graphql_java_generator.annotation.GraphQLDirective
The name of the Directive, as defined in the GraphQL schema.
name() - Element in annotation type com.graphql_java_generator.annotation.GraphQLQuery
The name of the query/mutation/subscription, that is represented by the annotated java class, as defined in the GraphQL schema.
names() - Element in annotation type com.graphql_java_generator.annotation.GraphQLInputParameters
Contains the list of the names for each of the input parameters of this field.
newCharacter(DataFetchingEnvironment) - Method in class org.starwars.server.datafetchersdelegate.DataFetchersDelegateSubscriptionTypeImpl
 
newCharacter(DataFetchingEnvironment) - Method in interface org.starwars.server.util.DataFetchersDelegateSubscriptionType
This method loads the data for SubscriptionType.newCharacter.
newCharacter(DataFetchingEnvironment) - Method in class org.starwars.server.util.SubscriptionTypeController
This method loads the data for ${dataFetcher.graphQLType}.newCharacter.
NEWHOPE - Enum constant in enum org.starwars.server.Episode
 

O

optionalToObject(Optional<T>) - Method in class com.graphql_java_generator.util.GraphqlUtils
Transform an Optional, as returned by Spring Data repositories, into a standard Java, which is null if there is no value.
orderList(List<?>, List<T>, String) - Method in class com.graphql_java_generator.util.GraphqlUtils
Reads a non ordered list, and return the same content sorted according the keys list.
org.starwars.server - package org.starwars.server
 
org.starwars.server_spring_autoconfiguration - package org.starwars.server_spring_autoconfiguration
 
org.starwars.server.datafetchersdelegate - package org.starwars.server.datafetchersdelegate
 
org.starwars.server.jpa - package org.starwars.server.jpa
 
org.starwars.server.util - package org.starwars.server.util
 

P

parameterNames() - Element in annotation type com.graphql_java_generator.annotation.GraphQLDirective
The list of parameter names for each parameter of this directive applied to the current item.
parameterTypes() - Element in annotation type com.graphql_java_generator.annotation.GraphQLDirective
The list of parameter types for each parameter of this directive applied to the current item.
parameterValues() - Element in annotation type com.graphql_java_generator.annotation.GraphQLDirective
The list of values types for each parameter of this directive applied to the current item, in their string representation.

Q

query - Enum constant in enum com.graphql_java_generator.annotation.RequestType
 
QueryParameters - Class in com.graphql_java_generator.server.util
Graphql clients can send GET or POST HTTP requests.
QueryParameters() - Constructor for class com.graphql_java_generator.server.util.QueryParameters
 
QueryType - Class in org.starwars.server
 
QueryType() - Constructor for class org.starwars.server.QueryType
 
QueryType.Builder - Class in org.starwars.server
The Builder that helps building instance of this POJO.
QueryTypeController - Class in org.starwars.server.util
 
QueryTypeController() - Constructor for class org.starwars.server.util.QueryTypeController
 

R

registerGraphQLScalarType(String, GraphQLScalarType, Class<?>) - Method in interface com.graphql_java_generator.customscalars.CustomScalarRegistry
Manually register one GraphQLScalarType.
repeat(String, int) - Method in class com.graphql_java_generator.util.VelocityUtils
 
RequestType - Enum in com.graphql_java_generator.annotation
List of the three GraphQL kind of requests: query, mutation and subscription

S

setAddFriend(Character) - Method in class org.starwars.server.MutationType
 
setAppearsIn(List<Episode>) - Method in interface org.starwars.server.Character
 
setAppearsIn(List<Episode>) - Method in class org.starwars.server.Droid
 
setAppearsIn(List<Episode>) - Method in class org.starwars.server.Human
 
setCharacters(List<Character>) - Method in class org.starwars.server.QueryType
 
setCreateHuman(Human) - Method in class org.starwars.server.MutationType
 
setDroid(Droid) - Method in class org.starwars.server.QueryType
 
setFriends(List<Character>) - Method in interface org.starwars.server.Character
 
setFriends(List<Character>) - Method in class org.starwars.server.Droid
 
setFriends(List<Character>) - Method in class org.starwars.server.Human
 
setGraphQLScalarType(GraphQLScalarType) - Method in class com.graphql_java_generator.customscalars.CustomScalar
 
setHero(Character) - Method in class org.starwars.server.QueryType
 
setHomePlanet(String) - Method in class org.starwars.server.Human
 
setHuman(Human) - Method in class org.starwars.server.QueryType
 
setId(UUID) - Method in interface org.starwars.server.Character
 
setId(UUID) - Method in class org.starwars.server.Droid
 
setId(UUID) - Method in class org.starwars.server.Human
 
setName(String) - Method in interface org.starwars.server.Character
 
setName(String) - Method in class org.starwars.server.Droid
 
setName(String) - Method in class org.starwars.server.Human
 
setNewCharacter(Character) - Method in class org.starwars.server.SubscriptionType
 
setPrimaryFunction(String) - Method in class org.starwars.server.Droid
 
setValueClazz(Class<?>) - Method in class com.graphql_java_generator.customscalars.CustomScalar
 
String - Static variable in class com.graphql_java_generator.customscalars.GraphQLScalarTypeString
Useless String scalar.
It's used both as a sample, to be completed by a developper, according to his/her needs, and for the use in some tests of the plugin logic (like in the Shopify sample, to handle (badly) various scalar as based on strings).
It's actually a bad management, as this custom scalars does nothing, but read basic strings.
stringToEnumValue(Object, Class<?>) - Method in class com.graphql_java_generator.util.GraphqlUtils
Returns the given enumValue given as a String, into the enum value from the generated POJO of the given class.
This can not be a parameterized method as the return value may be either an enum, a list of enums...
subscription - Enum constant in enum com.graphql_java_generator.annotation.RequestType
 
SubscriptionType - Class in org.starwars.server
 
SubscriptionType() - Constructor for class org.starwars.server.SubscriptionType
 
SubscriptionType.Builder - Class in org.starwars.server
The Builder that helps building instance of this POJO.
SubscriptionTypeController - Class in org.starwars.server.util
 
SubscriptionTypeController() - Constructor for class org.starwars.server.util.SubscriptionTypeController
 

T

toString() - Method in class org.starwars.server.Droid
 
toString() - Method in class org.starwars.server.Human
 
toString() - Method in class org.starwars.server.MutationType
 
toString() - Method in class org.starwars.server.QueryType
 
toString() - Method in class org.starwars.server.SubscriptionType
 
type() - Element in annotation type com.graphql_java_generator.annotation.GraphQLQuery
The type : query, mutation or subscription, as defined in the GraphQL schema.
types() - Element in annotation type com.graphql_java_generator.annotation.GraphQLInputParameters
Contains the list of the types for each of the input parameters of this field.

U

unorderedReturnBatchLoader(List<UUID>) - Method in interface org.starwars.server.util.DataFetchersDelegateCharacter
This method loads a list of ${dataFetcher.field.name}, based on the list of id to be fetched.
unorderedReturnBatchLoader(List<UUID>) - Method in interface org.starwars.server.util.DataFetchersDelegateDroid
This method loads a list of ${dataFetcher.field.name}, based on the list of id to be fetched.
unorderedReturnBatchLoader(List<UUID>) - Method in interface org.starwars.server.util.DataFetchersDelegateHuman
This method loads a list of ${dataFetcher.field.name}, based on the list of id to be fetched.

V

value() - Element in annotation type com.graphql_java_generator.annotation.GraphQLDeprecatedResponseForRequestObject
The full name of the query, mutation or subscription that this generated ResponseType overrides
value() - Element in annotation type com.graphql_java_generator.annotation.GraphQLDirectives
The directives that were defined in the GraphQL schema for this item
value() - Element in annotation type com.graphql_java_generator.annotation.GraphQLEnumType
The name of the enum that is represented by the annotated java class, as defined in the GraphQL schema.
value() - Element in annotation type com.graphql_java_generator.annotation.GraphQLInputType
The name of the type that is represented by the annotated java class, as defined in the GraphQL schema.
value() - Element in annotation type com.graphql_java_generator.annotation.GraphQLInterfaceType
The name of the interface that is represented by the annotated java class, as defined in the GraphQL schema.
value() - Element in annotation type com.graphql_java_generator.annotation.GraphQLObjectType
The name of the type that is represented by the annotated java class, as defined in the GraphQL schema.
value() - Element in annotation type com.graphql_java_generator.annotation.GraphQLUnionType
The name of the union that is represented by the annotated java class, as defined in the GraphQL schema.
valueOf(String) - Static method in enum com.graphql_java_generator.annotation.RequestType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.starwars.server.Episode
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.graphql_java_generator.annotation.RequestType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.starwars.server.Episode
Returns an array containing the constants of this enum type, in the order they are declared.
velocityUtils - Static variable in class com.graphql_java_generator.util.VelocityUtils
 
VelocityUtils - Class in com.graphql_java_generator.util
Various methods used by the velocity templates while generating the code.
VelocityUtils() - Constructor for class com.graphql_java_generator.util.VelocityUtils
 

W

withAddFriend(Character) - Method in class org.starwars.server.MutationType.Builder
 
withAppearsIn(List<Episode>) - Method in class org.starwars.server.Droid.Builder
 
withAppearsIn(List<Episode>) - Method in class org.starwars.server.Human.Builder
 
withCharacters(List<Character>) - Method in class org.starwars.server.QueryType.Builder
 
withCreateHuman(Human) - Method in class org.starwars.server.MutationType.Builder
 
withDroid(Droid) - Method in class org.starwars.server.QueryType.Builder
 
withFriends(List<Character>) - Method in class org.starwars.server.Droid.Builder
 
withFriends(List<Character>) - Method in class org.starwars.server.Human.Builder
 
withHero(Character) - Method in class org.starwars.server.QueryType.Builder
 
withHomePlanet(String) - Method in class org.starwars.server.Human.Builder
 
withHuman(Human) - Method in class org.starwars.server.QueryType.Builder
 
withId(UUID) - Method in class org.starwars.server.Droid.Builder
 
withId(UUID) - Method in class org.starwars.server.Human.Builder
 
withName(String) - Method in class org.starwars.server.Droid.Builder
 
withName(String) - Method in class org.starwars.server.Human.Builder
 
withNewCharacter(Character) - Method in class org.starwars.server.SubscriptionType.Builder
 
withPrimaryFunction(String) - Method in class org.starwars.server.Droid.Builder
 
A B C D E F G H I J L M N O P Q R S T U V W 
All Classes and Interfaces|All Packages