Package org.allGraphQLCases.server.impl
Class DataFetchersDelegateAnotherMutationTypeImpl
java.lang.Object
org.allGraphQLCases.server.impl.DataFetchersDelegateAnotherMutationTypeImpl
- All Implemented Interfaces:
DataFetchersDelegateAnotherMutationType
@Component
public class DataFetchersDelegateAnotherMutationTypeImpl
extends Object
implements DataFetchersDelegateAnotherMutationType
- Author:
- etienne-sf
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription_if
(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment) Description for the if field:
test for issue #139 (use of java reserved keyword)
This method loads the data for AnotherMutationType.if._implements
(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment) This method loads the data for AnotherMutationType.implements.createAllFieldCases
(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment, SINP_AllFieldCasesInput_SINS input) This method loads the data for AnotherMutationType.createAllFieldCases.createHuman
(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment, SINP_HumanInput_SINS human) This method loads the data for AnotherMutationType.createHuman.deleteSnacks
(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment, List<UUID> id) To check the serialization and deserialization of the requests, we check the content of the given list.
Expected: a list that contains these three items:
"11111111-1111-1111-1111-111111111111"
"22222222-2222-2222-2222-222222222222"
"33333333-3333-3333-3333-333333333333"
-
Field Details
-
logger
protected static org.slf4j.Logger logger
-
-
Constructor Details
-
DataFetchersDelegateAnotherMutationTypeImpl
public DataFetchersDelegateAnotherMutationTypeImpl()
-
-
Method Details
-
createHuman
public STP_Human_STS createHuman(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment, SINP_HumanInput_SINS human) Description copied from interface:DataFetchersDelegateAnotherMutationType
This method loads the data for AnotherMutationType.createHuman.- Specified by:
createHuman
in interfaceDataFetchersDelegateAnotherMutationType
- Parameters:
dataFetchingEnvironment
- The GraphQLDataFetchingEnvironment
. It gives you access to the full GraphQL context for this DataFetcherhuman
- The input parameter sent in the query by the GraphQL consumer, as defined in the GraphQL schema.
-
createAllFieldCases
public STP_AllFieldCases_STS createAllFieldCases(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment, SINP_AllFieldCasesInput_SINS input) Description copied from interface:DataFetchersDelegateAnotherMutationType
This method loads the data for AnotherMutationType.createAllFieldCases.- Specified by:
createAllFieldCases
in interfaceDataFetchersDelegateAnotherMutationType
- Parameters:
dataFetchingEnvironment
- The GraphQLDataFetchingEnvironment
. It gives you access to the full GraphQL context for this DataFetcherinput
- The input parameter sent in the query by the GraphQL consumer, as defined in the GraphQL schema.
-
deleteSnacks
public Boolean deleteSnacks(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment, List<UUID> id) To check the serialization and deserialization of the requests, we check the content of the given list.
Expected: a list that contains these three items:
"11111111-1111-1111-1111-111111111111"
"22222222-2222-2222-2222-222222222222"
"33333333-3333-3333-3333-333333333333"- Specified by:
deleteSnacks
in interfaceDataFetchersDelegateAnotherMutationType
- Parameters:
dataFetchingEnvironment
- The GraphQLDataFetchingEnvironment
. It gives you access to the full GraphQL context for this DataFetcherid
- The input parameter sent in the query by the GraphQL consumer, as defined in the GraphQL schema.- Returns:
- Returns true, if this condition is true
-
_if
Description copied from interface:DataFetchersDelegateAnotherMutationType
Description for the if field:
test for issue #139 (use of java reserved keyword)
This method loads the data for AnotherMutationType.if.- Specified by:
_if
in interfaceDataFetchersDelegateAnotherMutationType
- Parameters:
dataFetchingEnvironment
- The GraphQLDataFetchingEnvironment
. It gives you access to the full GraphQL context for this DataFetcher
-
_implements
Description copied from interface:DataFetchersDelegateAnotherMutationType
This method loads the data for AnotherMutationType.implements.- Specified by:
_implements
in interfaceDataFetchersDelegateAnotherMutationType
- Parameters:
dataFetchingEnvironment
- The GraphQLDataFetchingEnvironment
. It gives you access to the full GraphQL context for this DataFetcher
-