Package org.allGraphQLCases.demo.impl
Class PartialDirectQueries
java.lang.Object
org.allGraphQLCases.demo.impl.PartialDirectQueries
- All Implemented Interfaces:
PartialQueries
This class implements the simplest way to call GraphQl partialQueries, with the GraphQL Java Generator
- Author:
- etienne-sf
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaBreak
(CEP_extends_CES test, String $if) allFieldCases
(CINP_AllFieldCasesInput_CINS allFieldCasesInput, Boolean uppercase, String textToAppendToTheForname, long nbItemsWithId, Date date, OffsetDateTime dateTime, List<Date> dates, Boolean uppercaseNameList, String textToAppendToTheFornameWithId, CINP_FieldParameterInput_CINS input, int nbItemsWithoutId, CINP_FieldParameterInput_CINS inputList, String textToAppendToTheFornameWithoutId) createHuman
(CINP_HumanInput_CINS human) withEnum
(CEP_Episode_CES episode) withList
(String name, List<CINP_CharacterInput_CINS> friends) withOneMandatoryParam
(CINP_CharacterInput_CINS character) withOneOptionalParam
(CINP_CharacterInput_CINS character)
-
Constructor Details
-
PartialDirectQueries
public PartialDirectQueries()
-
-
Method Details
-
withoutParameters
public List<CIP_Character_CIS> withoutParameters() throws GraphQLRequestExecutionException, GraphQLRequestPreparationException- Specified by:
withoutParameters
in interfacePartialQueries
- Throws:
GraphQLRequestExecutionException
GraphQLRequestPreparationException
-
withOneOptionalParam
public CIP_Character_CIS withOneOptionalParam(CINP_CharacterInput_CINS character) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException - Specified by:
withOneOptionalParam
in interfacePartialQueries
- Throws:
GraphQLRequestExecutionException
GraphQLRequestPreparationException
-
withOneMandatoryParam
public CIP_Character_CIS withOneMandatoryParam(CINP_CharacterInput_CINS character) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException - Specified by:
withOneMandatoryParam
in interfacePartialQueries
- Throws:
GraphQLRequestExecutionException
GraphQLRequestPreparationException
-
withEnum
public CIP_Character_CIS withEnum(CEP_Episode_CES episode) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException - Specified by:
withEnum
in interfacePartialQueries
- Throws:
GraphQLRequestExecutionException
GraphQLRequestPreparationException
-
withList
public List<CIP_Character_CIS> withList(String name, List<CINP_CharacterInput_CINS> friends) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException - Specified by:
withList
in interfacePartialQueries
- Throws:
GraphQLRequestExecutionException
GraphQLRequestPreparationException
-
allFieldCases
public CTP_AllFieldCases_CTS allFieldCases(CINP_AllFieldCasesInput_CINS allFieldCasesInput, Boolean uppercase, String textToAppendToTheForname, long nbItemsWithId, Date date, OffsetDateTime dateTime, List<Date> dates, Boolean uppercaseNameList, String textToAppendToTheFornameWithId, CINP_FieldParameterInput_CINS input, int nbItemsWithoutId, CINP_FieldParameterInput_CINS inputList, String textToAppendToTheFornameWithoutId) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException - Specified by:
allFieldCases
in interfacePartialQueries
- Throws:
GraphQLRequestExecutionException
GraphQLRequestPreparationException
-
error
public CIP_Character_CIS error(String errorLabel) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException - Specified by:
error
in interfacePartialQueries
- Throws:
GraphQLRequestExecutionException
GraphQLRequestPreparationException
-
aBreak
public CTP_break_CTS aBreak(CEP_extends_CES test, String $if) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException - Specified by:
aBreak
in interfacePartialQueries
- Throws:
GraphQLRequestExecutionException
GraphQLRequestPreparationException
-
createHuman
public CTP_Human_CTS createHuman(CINP_HumanInput_CINS human) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException - Specified by:
createHuman
in interfacePartialQueries
- Throws:
GraphQLRequestExecutionException
GraphQLRequestPreparationException
-