Package org.allGraphQLCases.client.util
Class TheSubscriptionTypeExecutorAllGraphQLCases
java.lang.Object
org.allGraphQLCases.client.util.TheSubscriptionTypeExecutorAllGraphQLCases
- All Implemented Interfaces:
GraphQLSubscriptionExecutor
- Direct Known Subclasses:
CTP_TheSubscriptionType_CTS
@Component
public class TheSubscriptionTypeExecutorAllGraphQLCases
extends Object
implements GraphQLSubscriptionExecutor
A mono line description for TheSubscriptionType
This class contains the methods that allows the execution of the subscriptions that are defined in the TheSubscriptionType of the GraphQL schema.
These methods allows:
These methods allows:
- Preparation of partial subscription requests
- Execution of partial prepared subscription requests
- Execution of partial direct subscription requests
- Author:
- generated by graphql-java-generator
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription_if
(ObjectResponse objectResponse, SubscriptionCallback<String> subscriptionCallback, Object... paramsAndValues) This method registers a subscription, by executing a direct partial if subscription against the GraphQL server._if
(String queryResponseDef, SubscriptionCallback<String> subscriptionCallback, Object... paramsAndValues) This method registers a subscription, by executing a direct partial if subscription against the GraphQL server._ifWithBindValues
(ObjectResponse objectResponse, SubscriptionCallback<String> subscriptionCallback, Map<String, Object> parameters) This method registers a subscription, by executing a direct partial if subscription against the GraphQL server._ifWithBindValues
(String queryResponseDef, SubscriptionCallback<String> subscriptionCallback, Map<String, Object> parameters) This method registers a subscription, by executing a direct partial if subscription against the GraphQL server._implements
(ObjectResponse objectResponse, SubscriptionCallback<String> subscriptionCallback, Object... paramsAndValues) This method registers a subscription, by executing a direct partial implements subscription against the GraphQL server._implements
(String queryResponseDef, SubscriptionCallback<String> subscriptionCallback, Object... paramsAndValues) This method registers a subscription, by executing a direct partial implements subscription against the GraphQL server._implementsWithBindValues
(ObjectResponse objectResponse, SubscriptionCallback<String> subscriptionCallback, Map<String, Object> parameters) This method registers a subscription, by executing a direct partial implements subscription against the GraphQL server._implementsWithBindValues
(String queryResponseDef, SubscriptionCallback<String> subscriptionCallback, Map<String, Object> parameters) This method registers a subscription, by executing a direct partial implements subscription against the GraphQL server._null
(ObjectResponse objectResponse, SubscriptionCallback<String> subscriptionCallback, Object... paramsAndValues) Issue #188: null is not identified as a java keyword
This method registers a subscription, by executing a direct partial null subscription against the GraphQL server._null
(String queryResponseDef, SubscriptionCallback<String> subscriptionCallback, Object... paramsAndValues) Issue #188: null is not identified as a java keyword
This method registers a subscription, by executing a direct partial null subscription against the GraphQL server._nullWithBindValues
(ObjectResponse objectResponse, SubscriptionCallback<String> subscriptionCallback, Map<String, Object> parameters) Issue #188: null is not identified as a java keyword
This method registers a subscription, by executing a direct partial null subscription against the GraphQL server._nullWithBindValues
(String queryResponseDef, SubscriptionCallback<String> subscriptionCallback, Map<String, Object> parameters) Issue #188: null is not identified as a java keyword
This method registers a subscription, by executing a direct partial null subscription against the GraphQL server.allGraphQLCasesInput
(ObjectResponse objectResponse, SubscriptionCallback<CTP_AllFieldCases_CTS> subscriptionCallback, CINP_AllFieldCasesInput_CINS input, Object... paramsAndValues) Some subscriptions to test all kind of input parameters (to check proper serialization and deserialization)
This method registers a subscription, by executing a direct partial allGraphQLCasesInput subscription against the GraphQL server.allGraphQLCasesInput
(String queryResponseDef, SubscriptionCallback<CTP_AllFieldCases_CTS> subscriptionCallback, CINP_AllFieldCasesInput_CINS input, Object... paramsAndValues) Some subscriptions to test all kind of input parameters (to check proper serialization and deserialization)
This method registers a subscription, by executing a direct partial allGraphQLCasesInput subscription against the GraphQL server.allGraphQLCasesInputWithBindValues
(ObjectResponse objectResponse, SubscriptionCallback<CTP_AllFieldCases_CTS> subscriptionCallback, CINP_AllFieldCasesInput_CINS input, Map<String, Object> parameters) Some subscriptions to test all kind of input parameters (to check proper serialization and deserialization)
This method registers a subscription, by executing a direct partial allGraphQLCasesInput subscription against the GraphQL server.allGraphQLCasesInputWithBindValues
(String queryResponseDef, SubscriptionCallback<CTP_AllFieldCases_CTS> subscriptionCallback, CINP_AllFieldCasesInput_CINS input, Map<String, Object> parameters) Some subscriptions to test all kind of input parameters (to check proper serialization and deserialization)
This method registers a subscription, by executing a direct partial allGraphQLCasesInput subscription against the GraphQL server.allGraphQLCasesParam
(ObjectResponse objectResponse, SubscriptionCallback<CTP_AllFieldCases_CTS> subscriptionCallback, String id, String name, Long age, Integer integer, Date date, List<Date> dates, List<List<Double>> matrix, CINP_AllFieldCasesWithoutIdSubtypeInput_CINS oneWithoutIdSubtype, List<CINP_AllFieldCasesWithoutIdSubtypeInput_CINS> listWithoutIdSubtype, Object... paramsAndValues) This method registers a subscription, by executing a direct partial allGraphQLCasesParam subscription against the GraphQL server.allGraphQLCasesParam
(String queryResponseDef, SubscriptionCallback<CTP_AllFieldCases_CTS> subscriptionCallback, String id, String name, Long age, Integer integer, Date date, List<Date> dates, List<List<Double>> matrix, CINP_AllFieldCasesWithoutIdSubtypeInput_CINS oneWithoutIdSubtype, List<CINP_AllFieldCasesWithoutIdSubtypeInput_CINS> listWithoutIdSubtype, Object... paramsAndValues) This method registers a subscription, by executing a direct partial allGraphQLCasesParam subscription against the GraphQL server.allGraphQLCasesParamWithBindValues
(ObjectResponse objectResponse, SubscriptionCallback<CTP_AllFieldCases_CTS> subscriptionCallback, String id, String name, Long age, Integer integer, Date date, List<Date> dates, List<List<Double>> matrix, CINP_AllFieldCasesWithoutIdSubtypeInput_CINS oneWithoutIdSubtype, List<CINP_AllFieldCasesWithoutIdSubtypeInput_CINS> listWithoutIdSubtype, Map<String, Object> parameters) This method registers a subscription, by executing a direct partial allGraphQLCasesParam subscription against the GraphQL server.allGraphQLCasesParamWithBindValues
(String queryResponseDef, SubscriptionCallback<CTP_AllFieldCases_CTS> subscriptionCallback, String id, String name, Long age, Integer integer, Date date, List<Date> dates, List<List<Double>> matrix, CINP_AllFieldCasesWithoutIdSubtypeInput_CINS oneWithoutIdSubtype, List<CINP_AllFieldCasesWithoutIdSubtypeInput_CINS> listWithoutIdSubtype, Map<String, Object> parameters) This method registers a subscription, by executing a direct partial allGraphQLCasesParam subscription against the GraphQL server.enumWithReservedJavaKeywordAsValues
(ObjectResponse objectResponse, SubscriptionCallback<CEP_EnumWithReservedJavaKeywordAsValues_CES> subscriptionCallback, Object... paramsAndValues) test for issue #139 (use of java reserved keyword)
This method registers a subscription, by executing a direct partial enumWithReservedJavaKeywordAsValues subscription against the GraphQL server.enumWithReservedJavaKeywordAsValues
(String queryResponseDef, SubscriptionCallback<CEP_EnumWithReservedJavaKeywordAsValues_CES> subscriptionCallback, Object... paramsAndValues) test for issue #139 (use of java reserved keyword)
This method registers a subscription, by executing a direct partial enumWithReservedJavaKeywordAsValues subscription against the GraphQL server.enumWithReservedJavaKeywordAsValuesWithBindValues
(ObjectResponse objectResponse, SubscriptionCallback<CEP_EnumWithReservedJavaKeywordAsValues_CES> subscriptionCallback, Map<String, Object> parameters) test for issue #139 (use of java reserved keyword)
This method registers a subscription, by executing a direct partial enumWithReservedJavaKeywordAsValues subscription against the GraphQL server.enumWithReservedJavaKeywordAsValuesWithBindValues
(String queryResponseDef, SubscriptionCallback<CEP_EnumWithReservedJavaKeywordAsValues_CES> subscriptionCallback, Map<String, Object> parameters) test for issue #139 (use of java reserved keyword)
This method registers a subscription, by executing a direct partial enumWithReservedJavaKeywordAsValues subscription against the GraphQL server.exec
(ObjectResponse objectResponse, SubscriptionCallback<?> subscriptionCallback, Object... paramsAndValues) This method takes a full request definition, and executes it against the GraphQL server.exec
(String queryResponseDef, SubscriptionCallback<?> subscriptionCallback, Object... paramsAndValues) This method takes a full request definition, and executes it against the GraphQL server.execWithBindValues
(ObjectResponse objectResponse, SubscriptionCallback<?> subscriptionCallback, Map<String, Object> parameters) This method takes a full request definition, and executes it against the GraphQL server.execWithBindValues
(String queryResponseDef, SubscriptionCallback<?> subscriptionCallback, Map<String, Object> parameters) This method takes a full request definition, and executes it against the GraphQL server.getAllGraphQLCasesInputGraphQLRequest
(String partialRequest) Some subscriptions to test all kind of input parameters (to check proper serialization and deserialization)
Get theGraphQLRequestAllGraphQLCases
for the allGraphQLCasesInput EXECUTOR, created with the given Partial request.Some subscriptions to test all kind of input parameters (to check proper serialization and deserialization)
Get theBuilder
for the CTP_AllFieldCases_CTS, as expected by the allGraphQLCasesInput subscription.getAllGraphQLCasesParamGraphQLRequest
(String partialRequest) Get theGraphQLRequestAllGraphQLCases
for the allGraphQLCasesParam EXECUTOR, created with the given Partial request.Get theBuilder
for the CTP_AllFieldCases_CTS, as expected by the allGraphQLCasesParam subscription.getEnumWithReservedJavaKeywordAsValuesGraphQLRequest
(String partialRequest) test for issue #139 (use of java reserved keyword)
Get theGraphQLRequestAllGraphQLCases
for the enumWithReservedJavaKeywordAsValues EXECUTOR, created with the given Partial request.test for issue #139 (use of java reserved keyword)
Get theBuilder
for the CEP_EnumWithReservedJavaKeywordAsValues_CES, as expected by the enumWithReservedJavaKeywordAsValues subscription.getGraphQLRequest
(String fullRequest) Get theGraphQLRequestAllGraphQLCases
, to obtain a prepared full request.getIfGraphQLRequest
(String partialRequest) Get theGraphQLRequestAllGraphQLCases
for the if EXECUTOR, created with the given Partial request.Get theBuilder
for the String, as expected by the if subscription.getImplementsGraphQLRequest
(String partialRequest) Get theGraphQLRequestAllGraphQLCases
for the implements EXECUTOR, created with the given Partial request.Get theBuilder
for the String, as expected by the implements subscription.getIssue53GraphQLRequest
(String partialRequest) issue53 is about custom scalars as parameter for a query/mutation/subscription, that was not properly serialized/deserialized
Get theGraphQLRequestAllGraphQLCases
for the issue53 EXECUTOR, created with the given Partial request.issue53 is about custom scalars as parameter for a query/mutation/subscription, that was not properly serialized/deserialized
Get theBuilder
for the Date, as expected by the issue53 subscription.getJsonGraphQLRequest
(String partialRequest) Test of JSON scalar, for issue #205
Get theGraphQLRequestAllGraphQLCases
for the json EXECUTOR, created with the given Partial request.Test of JSON scalar, for issue #205
Get theBuilder
for the ObjectNode, as expected by the json subscription.getJsonsGraphQLRequest
(String partialRequest) Get theGraphQLRequestAllGraphQLCases
for the jsons EXECUTOR, created with the given Partial request.Get theBuilder
for the ObjectNode, as expected by the jsons subscription.getJsonsWithInputGraphQLRequest
(String partialRequest) Get theGraphQLRequestAllGraphQLCases
for the jsonsWithInput EXECUTOR, created with the given Partial request.Get theBuilder
for the CTP_TypeWithJson_CTS, as expected by the jsonsWithInput subscription.getListOfEnumWithReservedJavaKeywordAsValuesGraphQLRequest
(String partialRequest) Get theGraphQLRequestAllGraphQLCases
for the listOfEnumWithReservedJavaKeywordAsValues EXECUTOR, created with the given Partial request.Get theBuilder
for the CEP_EnumWithReservedJavaKeywordAsValues_CES, as expected by the listOfEnumWithReservedJavaKeywordAsValues subscription.getNullGraphQLRequest
(String partialRequest) Issue #188: null is not identified as a java keyword
Get theGraphQLRequestAllGraphQLCases
for the null EXECUTOR, created with the given Partial request.Issue #188: null is not identified as a java keyword
Get theBuilder
for the String, as expected by the null subscription.getObjectsWithInputGraphQLRequest
(String partialRequest) Get theGraphQLRequestAllGraphQLCases
for the objectsWithInput EXECUTOR, created with the given Partial request.Get theBuilder
for the CTP_TypeWithObject_CTS, as expected by the objectsWithInput subscription.Get theBuilder
for a full request, as expected by the exec and execWithBindValues methods.getReturnEnumGraphQLRequest
(String partialRequest) Get theGraphQLRequestAllGraphQLCases
for the returnEnum EXECUTOR, created with the given Partial request.Get theBuilder
for the CEP_EnumWithReservedJavaKeywordAsValues_CES, as expected by the returnEnum subscription.getReturnListOfEnumsGraphQLRequest
(String partialRequest) Get theGraphQLRequestAllGraphQLCases
for the returnListOfEnums EXECUTOR, created with the given Partial request.Get theBuilder
for the CEP_EnumWithReservedJavaKeywordAsValues_CES, as expected by the returnListOfEnums subscription.getReturnListOfListOfEnumsGraphQLRequest
(String partialRequest) Get theGraphQLRequestAllGraphQLCases
for the returnListOfListOfEnums EXECUTOR, created with the given Partial request.Get theBuilder
for the CEP_EnumWithReservedJavaKeywordAsValues_CES, as expected by the returnListOfListOfEnums subscription.getReturnListOfMandatoryEnumsGraphQLRequest
(String partialRequest) Get theGraphQLRequestAllGraphQLCases
for the returnListOfMandatoryEnums EXECUTOR, created with the given Partial request.Get theBuilder
for the CEP_EnumWithReservedJavaKeywordAsValues_CES, as expected by the returnListOfMandatoryEnums subscription.getReturnMandatoryEnumGraphQLRequest
(String partialRequest) Get theGraphQLRequestAllGraphQLCases
for the returnMandatoryEnum EXECUTOR, created with the given Partial request.Get theBuilder
for the CEP_EnumWithReservedJavaKeywordAsValues_CES, as expected by the returnMandatoryEnum subscription.getReturnMandatoryListOfEnumsGraphQLRequest
(String partialRequest) Get theGraphQLRequestAllGraphQLCases
for the returnMandatoryListOfEnums EXECUTOR, created with the given Partial request.Get theBuilder
for the CEP_EnumWithReservedJavaKeywordAsValues_CES, as expected by the returnMandatoryListOfEnums subscription.getReturnMandatoryListOfMandatoryEnumsGraphQLRequest
(String partialRequest) Get theGraphQLRequestAllGraphQLCases
for the returnMandatoryListOfMandatoryEnums EXECUTOR, created with the given Partial request.Get theBuilder
for the CEP_EnumWithReservedJavaKeywordAsValues_CES, as expected by the returnMandatoryListOfMandatoryEnums subscription.getSubscribeNewHumanForEpisodeGraphQLRequest
(String partialRequest) Will be notified for each Human added to this Episode
Get theGraphQLRequestAllGraphQLCases
for the subscribeNewHumanForEpisode EXECUTOR, created with the given Partial request.Will be notified for each Human added to this Episode
Get theBuilder
for the CTP_Human_CTS, as expected by the subscribeNewHumanForEpisode subscription.getSubscribeToAListGraphQLRequest
(String partialRequest) Issue 54
Get theGraphQLRequestAllGraphQLCases
for the subscribeToAList EXECUTOR, created with the given Partial request.getSubscribeToAListOfScalarsGraphQLRequest
(String partialRequest) Get theGraphQLRequestAllGraphQLCases
for the subscribeToAListOfScalars EXECUTOR, created with the given Partial request.Get theBuilder
for the Date, as expected by the subscribeToAListOfScalars subscription.Issue 54
Get theBuilder
for the Integer, as expected by the subscribeToAList subscription.getSubscriptionTestGraphQLRequest
(String partialRequest)
A dummy subscription, that allows to test errors (and other strange behavior), and their return to the subscription's client
Get theGraphQLRequestAllGraphQLCases
for the subscriptionTest EXECUTOR, created with the given Partial request.
A dummy subscription, that allows to test errors (and other strange behavior), and their return to the subscription's client
Get theBuilder
for the String, as expected by the subscriptionTest subscription.getSubscriptionWithNullResponseGraphQLRequest
(String partialRequest) Issue 122: Check Subscription behavior when notification response is null
Get theGraphQLRequestAllGraphQLCases
for the subscriptionWithNullResponse EXECUTOR, created with the given Partial request.Issue 122: Check Subscription behavior when notification response is null
Get theBuilder
for the String, as expected by the subscriptionWithNullResponse subscription.issue53
(ObjectResponse objectResponse, SubscriptionCallback<Date> subscriptionCallback, Date date, Object... paramsAndValues) issue53 is about custom scalars as parameter for a query/mutation/subscription, that was not properly serialized/deserialized
This method registers a subscription, by executing a direct partial issue53 subscription against the GraphQL server.issue53
(String queryResponseDef, SubscriptionCallback<Date> subscriptionCallback, Date date, Object... paramsAndValues) issue53 is about custom scalars as parameter for a query/mutation/subscription, that was not properly serialized/deserialized
This method registers a subscription, by executing a direct partial issue53 subscription against the GraphQL server.issue53WithBindValues
(ObjectResponse objectResponse, SubscriptionCallback<Date> subscriptionCallback, Date date, Map<String, Object> parameters) issue53 is about custom scalars as parameter for a query/mutation/subscription, that was not properly serialized/deserialized
This method registers a subscription, by executing a direct partial issue53 subscription against the GraphQL server.issue53WithBindValues
(String queryResponseDef, SubscriptionCallback<Date> subscriptionCallback, Date date, Map<String, Object> parameters) issue53 is about custom scalars as parameter for a query/mutation/subscription, that was not properly serialized/deserialized
This method registers a subscription, by executing a direct partial issue53 subscription against the GraphQL server.json
(ObjectResponse objectResponse, SubscriptionCallback<com.fasterxml.jackson.databind.node.ObjectNode> subscriptionCallback, com.fasterxml.jackson.databind.node.ObjectNode json, Object... paramsAndValues) Test of JSON scalar, for issue #205
This method registers a subscription, by executing a direct partial json subscription against the GraphQL server.json
(String queryResponseDef, SubscriptionCallback<com.fasterxml.jackson.databind.node.ObjectNode> subscriptionCallback, com.fasterxml.jackson.databind.node.ObjectNode json, Object... paramsAndValues) Test of JSON scalar, for issue #205
This method registers a subscription, by executing a direct partial json subscription against the GraphQL server.jsons
(ObjectResponse objectResponse, SubscriptionCallback<List<com.fasterxml.jackson.databind.node.ObjectNode>> subscriptionCallback, List<com.fasterxml.jackson.databind.node.ObjectNode> jsons, Object... paramsAndValues) This method registers a subscription, by executing a direct partial jsons subscription against the GraphQL server.jsons
(String queryResponseDef, SubscriptionCallback<List<com.fasterxml.jackson.databind.node.ObjectNode>> subscriptionCallback, List<com.fasterxml.jackson.databind.node.ObjectNode> jsons, Object... paramsAndValues) This method registers a subscription, by executing a direct partial jsons subscription against the GraphQL server.jsonsWithBindValues
(ObjectResponse objectResponse, SubscriptionCallback<List<com.fasterxml.jackson.databind.node.ObjectNode>> subscriptionCallback, List<com.fasterxml.jackson.databind.node.ObjectNode> jsons, Map<String, Object> parameters) This method registers a subscription, by executing a direct partial jsons subscription against the GraphQL server.jsonsWithBindValues
(String queryResponseDef, SubscriptionCallback<List<com.fasterxml.jackson.databind.node.ObjectNode>> subscriptionCallback, List<com.fasterxml.jackson.databind.node.ObjectNode> jsons, Map<String, Object> parameters) This method registers a subscription, by executing a direct partial jsons subscription against the GraphQL server.jsonsWithInput
(ObjectResponse objectResponse, SubscriptionCallback<List<CTP_TypeWithJson_CTS>> subscriptionCallback, List<CINP_InputWithJson_CINS> input, Object... paramsAndValues) This method registers a subscription, by executing a direct partial jsonsWithInput subscription against the GraphQL server.jsonsWithInput
(String queryResponseDef, SubscriptionCallback<List<CTP_TypeWithJson_CTS>> subscriptionCallback, List<CINP_InputWithJson_CINS> input, Object... paramsAndValues) This method registers a subscription, by executing a direct partial jsonsWithInput subscription against the GraphQL server.jsonsWithInputWithBindValues
(ObjectResponse objectResponse, SubscriptionCallback<List<CTP_TypeWithJson_CTS>> subscriptionCallback, List<CINP_InputWithJson_CINS> input, Map<String, Object> parameters) This method registers a subscription, by executing a direct partial jsonsWithInput subscription against the GraphQL server.jsonsWithInputWithBindValues
(String queryResponseDef, SubscriptionCallback<List<CTP_TypeWithJson_CTS>> subscriptionCallback, List<CINP_InputWithJson_CINS> input, Map<String, Object> parameters) This method registers a subscription, by executing a direct partial jsonsWithInput subscription against the GraphQL server.jsonWithBindValues
(ObjectResponse objectResponse, SubscriptionCallback<com.fasterxml.jackson.databind.node.ObjectNode> subscriptionCallback, com.fasterxml.jackson.databind.node.ObjectNode json, Map<String, Object> parameters) Test of JSON scalar, for issue #205
This method registers a subscription, by executing a direct partial json subscription against the GraphQL server.jsonWithBindValues
(String queryResponseDef, SubscriptionCallback<com.fasterxml.jackson.databind.node.ObjectNode> subscriptionCallback, com.fasterxml.jackson.databind.node.ObjectNode json, Map<String, Object> parameters) Test of JSON scalar, for issue #205
This method registers a subscription, by executing a direct partial json subscription against the GraphQL server.listOfEnumWithReservedJavaKeywordAsValues
(ObjectResponse objectResponse, SubscriptionCallback<List<CEP_EnumWithReservedJavaKeywordAsValues_CES>> subscriptionCallback, Object... paramsAndValues) This method registers a subscription, by executing a direct partial listOfEnumWithReservedJavaKeywordAsValues subscription against the GraphQL server.listOfEnumWithReservedJavaKeywordAsValues
(String queryResponseDef, SubscriptionCallback<List<CEP_EnumWithReservedJavaKeywordAsValues_CES>> subscriptionCallback, Object... paramsAndValues) This method registers a subscription, by executing a direct partial listOfEnumWithReservedJavaKeywordAsValues subscription against the GraphQL server.listOfEnumWithReservedJavaKeywordAsValuesWithBindValues
(ObjectResponse objectResponse, SubscriptionCallback<List<CEP_EnumWithReservedJavaKeywordAsValues_CES>> subscriptionCallback, Map<String, Object> parameters) This method registers a subscription, by executing a direct partial listOfEnumWithReservedJavaKeywordAsValues subscription against the GraphQL server.listOfEnumWithReservedJavaKeywordAsValuesWithBindValues
(String queryResponseDef, SubscriptionCallback<List<CEP_EnumWithReservedJavaKeywordAsValues_CES>> subscriptionCallback, Map<String, Object> parameters) This method registers a subscription, by executing a direct partial listOfEnumWithReservedJavaKeywordAsValues subscription against the GraphQL server.objectsWithInput
(ObjectResponse objectResponse, SubscriptionCallback<List<CTP_TypeWithObject_CTS>> subscriptionCallback, List<CINP_InputWithObject_CINS> input, Object... paramsAndValues) This method registers a subscription, by executing a direct partial objectsWithInput subscription against the GraphQL server.objectsWithInput
(String queryResponseDef, SubscriptionCallback<List<CTP_TypeWithObject_CTS>> subscriptionCallback, List<CINP_InputWithObject_CINS> input, Object... paramsAndValues) This method registers a subscription, by executing a direct partial objectsWithInput subscription against the GraphQL server.objectsWithInputWithBindValues
(ObjectResponse objectResponse, SubscriptionCallback<List<CTP_TypeWithObject_CTS>> subscriptionCallback, List<CINP_InputWithObject_CINS> input, Map<String, Object> parameters) This method registers a subscription, by executing a direct partial objectsWithInput subscription against the GraphQL server.objectsWithInputWithBindValues
(String queryResponseDef, SubscriptionCallback<List<CTP_TypeWithObject_CTS>> subscriptionCallback, List<CINP_InputWithObject_CINS> input, Map<String, Object> parameters) This method registers a subscription, by executing a direct partial objectsWithInput subscription against the GraphQL server.returnEnum
(ObjectResponse objectResponse, SubscriptionCallback<CEP_EnumWithReservedJavaKeywordAsValues_CES> subscriptionCallback, Object... paramsAndValues) This method registers a subscription, by executing a direct partial returnEnum subscription against the GraphQL server.returnEnum
(String queryResponseDef, SubscriptionCallback<CEP_EnumWithReservedJavaKeywordAsValues_CES> subscriptionCallback, Object... paramsAndValues) This method registers a subscription, by executing a direct partial returnEnum subscription against the GraphQL server.returnEnumWithBindValues
(ObjectResponse objectResponse, SubscriptionCallback<CEP_EnumWithReservedJavaKeywordAsValues_CES> subscriptionCallback, Map<String, Object> parameters) This method registers a subscription, by executing a direct partial returnEnum subscription against the GraphQL server.returnEnumWithBindValues
(String queryResponseDef, SubscriptionCallback<CEP_EnumWithReservedJavaKeywordAsValues_CES> subscriptionCallback, Map<String, Object> parameters) This method registers a subscription, by executing a direct partial returnEnum subscription against the GraphQL server.returnListOfEnums
(ObjectResponse objectResponse, SubscriptionCallback<List<CEP_EnumWithReservedJavaKeywordAsValues_CES>> subscriptionCallback, Object... paramsAndValues) This method registers a subscription, by executing a direct partial returnListOfEnums subscription against the GraphQL server.returnListOfEnums
(String queryResponseDef, SubscriptionCallback<List<CEP_EnumWithReservedJavaKeywordAsValues_CES>> subscriptionCallback, Object... paramsAndValues) This method registers a subscription, by executing a direct partial returnListOfEnums subscription against the GraphQL server.returnListOfEnumsWithBindValues
(ObjectResponse objectResponse, SubscriptionCallback<List<CEP_EnumWithReservedJavaKeywordAsValues_CES>> subscriptionCallback, Map<String, Object> parameters) This method registers a subscription, by executing a direct partial returnListOfEnums subscription against the GraphQL server.returnListOfEnumsWithBindValues
(String queryResponseDef, SubscriptionCallback<List<CEP_EnumWithReservedJavaKeywordAsValues_CES>> subscriptionCallback, Map<String, Object> parameters) This method registers a subscription, by executing a direct partial returnListOfEnums subscription against the GraphQL server.returnListOfListOfEnums
(ObjectResponse objectResponse, SubscriptionCallback<List<List<CEP_EnumWithReservedJavaKeywordAsValues_CES>>> subscriptionCallback, Object... paramsAndValues) This method registers a subscription, by executing a direct partial returnListOfListOfEnums subscription against the GraphQL server.returnListOfListOfEnums
(String queryResponseDef, SubscriptionCallback<List<List<CEP_EnumWithReservedJavaKeywordAsValues_CES>>> subscriptionCallback, Object... paramsAndValues) This method registers a subscription, by executing a direct partial returnListOfListOfEnums subscription against the GraphQL server.returnListOfListOfEnumsWithBindValues
(ObjectResponse objectResponse, SubscriptionCallback<List<List<CEP_EnumWithReservedJavaKeywordAsValues_CES>>> subscriptionCallback, Map<String, Object> parameters) This method registers a subscription, by executing a direct partial returnListOfListOfEnums subscription against the GraphQL server.returnListOfListOfEnumsWithBindValues
(String queryResponseDef, SubscriptionCallback<List<List<CEP_EnumWithReservedJavaKeywordAsValues_CES>>> subscriptionCallback, Map<String, Object> parameters) This method registers a subscription, by executing a direct partial returnListOfListOfEnums subscription against the GraphQL server.returnListOfMandatoryEnums
(ObjectResponse objectResponse, SubscriptionCallback<List<CEP_EnumWithReservedJavaKeywordAsValues_CES>> subscriptionCallback, Object... paramsAndValues) This method registers a subscription, by executing a direct partial returnListOfMandatoryEnums subscription against the GraphQL server.returnListOfMandatoryEnums
(String queryResponseDef, SubscriptionCallback<List<CEP_EnumWithReservedJavaKeywordAsValues_CES>> subscriptionCallback, Object... paramsAndValues) This method registers a subscription, by executing a direct partial returnListOfMandatoryEnums subscription against the GraphQL server.returnListOfMandatoryEnumsWithBindValues
(ObjectResponse objectResponse, SubscriptionCallback<List<CEP_EnumWithReservedJavaKeywordAsValues_CES>> subscriptionCallback, Map<String, Object> parameters) This method registers a subscription, by executing a direct partial returnListOfMandatoryEnums subscription against the GraphQL server.returnListOfMandatoryEnumsWithBindValues
(String queryResponseDef, SubscriptionCallback<List<CEP_EnumWithReservedJavaKeywordAsValues_CES>> subscriptionCallback, Map<String, Object> parameters) This method registers a subscription, by executing a direct partial returnListOfMandatoryEnums subscription against the GraphQL server.returnMandatoryEnum
(ObjectResponse objectResponse, SubscriptionCallback<CEP_EnumWithReservedJavaKeywordAsValues_CES> subscriptionCallback, CEP_EnumWithReservedJavaKeywordAsValues_CES _enum, Object... paramsAndValues) This method registers a subscription, by executing a direct partial returnMandatoryEnum subscription against the GraphQL server.returnMandatoryEnum
(String queryResponseDef, SubscriptionCallback<CEP_EnumWithReservedJavaKeywordAsValues_CES> subscriptionCallback, CEP_EnumWithReservedJavaKeywordAsValues_CES _enum, Object... paramsAndValues) This method registers a subscription, by executing a direct partial returnMandatoryEnum subscription against the GraphQL server.returnMandatoryEnumWithBindValues
(ObjectResponse objectResponse, SubscriptionCallback<CEP_EnumWithReservedJavaKeywordAsValues_CES> subscriptionCallback, CEP_EnumWithReservedJavaKeywordAsValues_CES _enum, Map<String, Object> parameters) This method registers a subscription, by executing a direct partial returnMandatoryEnum subscription against the GraphQL server.returnMandatoryEnumWithBindValues
(String queryResponseDef, SubscriptionCallback<CEP_EnumWithReservedJavaKeywordAsValues_CES> subscriptionCallback, CEP_EnumWithReservedJavaKeywordAsValues_CES _enum, Map<String, Object> parameters) This method registers a subscription, by executing a direct partial returnMandatoryEnum subscription against the GraphQL server.returnMandatoryListOfEnums
(ObjectResponse objectResponse, SubscriptionCallback<List<CEP_EnumWithReservedJavaKeywordAsValues_CES>> subscriptionCallback, Object... paramsAndValues) This method registers a subscription, by executing a direct partial returnMandatoryListOfEnums subscription against the GraphQL server.returnMandatoryListOfEnums
(String queryResponseDef, SubscriptionCallback<List<CEP_EnumWithReservedJavaKeywordAsValues_CES>> subscriptionCallback, Object... paramsAndValues) This method registers a subscription, by executing a direct partial returnMandatoryListOfEnums subscription against the GraphQL server.returnMandatoryListOfEnumsWithBindValues
(ObjectResponse objectResponse, SubscriptionCallback<List<CEP_EnumWithReservedJavaKeywordAsValues_CES>> subscriptionCallback, Map<String, Object> parameters) This method registers a subscription, by executing a direct partial returnMandatoryListOfEnums subscription against the GraphQL server.returnMandatoryListOfEnumsWithBindValues
(String queryResponseDef, SubscriptionCallback<List<CEP_EnumWithReservedJavaKeywordAsValues_CES>> subscriptionCallback, Map<String, Object> parameters) This method registers a subscription, by executing a direct partial returnMandatoryListOfEnums subscription against the GraphQL server.returnMandatoryListOfMandatoryEnums
(ObjectResponse objectResponse, SubscriptionCallback<List<CEP_EnumWithReservedJavaKeywordAsValues_CES>> subscriptionCallback, Object... paramsAndValues) This method registers a subscription, by executing a direct partial returnMandatoryListOfMandatoryEnums subscription against the GraphQL server.returnMandatoryListOfMandatoryEnums
(String queryResponseDef, SubscriptionCallback<List<CEP_EnumWithReservedJavaKeywordAsValues_CES>> subscriptionCallback, Object... paramsAndValues) This method registers a subscription, by executing a direct partial returnMandatoryListOfMandatoryEnums subscription against the GraphQL server.returnMandatoryListOfMandatoryEnumsWithBindValues
(ObjectResponse objectResponse, SubscriptionCallback<List<CEP_EnumWithReservedJavaKeywordAsValues_CES>> subscriptionCallback, Map<String, Object> parameters) This method registers a subscription, by executing a direct partial returnMandatoryListOfMandatoryEnums subscription against the GraphQL server.returnMandatoryListOfMandatoryEnumsWithBindValues
(String queryResponseDef, SubscriptionCallback<List<CEP_EnumWithReservedJavaKeywordAsValues_CES>> subscriptionCallback, Map<String, Object> parameters) This method registers a subscription, by executing a direct partial returnMandatoryListOfMandatoryEnums subscription against the GraphQL server.subscribeNewHumanForEpisode
(ObjectResponse objectResponse, SubscriptionCallback<CTP_Human_CTS> subscriptionCallback, CEP_Episode_CES episode, Object... paramsAndValues) Will be notified for each Human added to this Episode
This method registers a subscription, by executing a direct partial subscribeNewHumanForEpisode subscription against the GraphQL server.subscribeNewHumanForEpisode
(String queryResponseDef, SubscriptionCallback<CTP_Human_CTS> subscriptionCallback, CEP_Episode_CES episode, Object... paramsAndValues) Will be notified for each Human added to this Episode
This method registers a subscription, by executing a direct partial subscribeNewHumanForEpisode subscription against the GraphQL server.subscribeNewHumanForEpisodeWithBindValues
(ObjectResponse objectResponse, SubscriptionCallback<CTP_Human_CTS> subscriptionCallback, CEP_Episode_CES episode, Map<String, Object> parameters) Will be notified for each Human added to this Episode
This method registers a subscription, by executing a direct partial subscribeNewHumanForEpisode subscription against the GraphQL server.subscribeNewHumanForEpisodeWithBindValues
(String queryResponseDef, SubscriptionCallback<CTP_Human_CTS> subscriptionCallback, CEP_Episode_CES episode, Map<String, Object> parameters) Will be notified for each Human added to this Episode
This method registers a subscription, by executing a direct partial subscribeNewHumanForEpisode subscription against the GraphQL server.subscribeToAList
(ObjectResponse objectResponse, SubscriptionCallback<List<Integer>> subscriptionCallback, Object... paramsAndValues) Issue 54
This method registers a subscription, by executing a direct partial subscribeToAList subscription against the GraphQL server.subscribeToAList
(String queryResponseDef, SubscriptionCallback<List<Integer>> subscriptionCallback, Object... paramsAndValues) Issue 54
This method registers a subscription, by executing a direct partial subscribeToAList subscription against the GraphQL server.subscribeToAListOfScalars
(ObjectResponse objectResponse, SubscriptionCallback<List<Date>> subscriptionCallback, Object... paramsAndValues) This method registers a subscription, by executing a direct partial subscribeToAListOfScalars subscription against the GraphQL server.subscribeToAListOfScalars
(String queryResponseDef, SubscriptionCallback<List<Date>> subscriptionCallback, Object... paramsAndValues) This method registers a subscription, by executing a direct partial subscribeToAListOfScalars subscription against the GraphQL server.subscribeToAListOfScalarsWithBindValues
(ObjectResponse objectResponse, SubscriptionCallback<List<Date>> subscriptionCallback, Map<String, Object> parameters) This method registers a subscription, by executing a direct partial subscribeToAListOfScalars subscription against the GraphQL server.subscribeToAListOfScalarsWithBindValues
(String queryResponseDef, SubscriptionCallback<List<Date>> subscriptionCallback, Map<String, Object> parameters) This method registers a subscription, by executing a direct partial subscribeToAListOfScalars subscription against the GraphQL server.subscribeToAListWithBindValues
(ObjectResponse objectResponse, SubscriptionCallback<List<Integer>> subscriptionCallback, Map<String, Object> parameters) Issue 54
This method registers a subscription, by executing a direct partial subscribeToAList subscription against the GraphQL server.subscribeToAListWithBindValues
(String queryResponseDef, SubscriptionCallback<List<Integer>> subscriptionCallback, Map<String, Object> parameters) Issue 54
This method registers a subscription, by executing a direct partial subscribeToAList subscription against the GraphQL server.subscriptionTest
(ObjectResponse objectResponse, SubscriptionCallback<String> subscriptionCallback, CINP_SubscriptionTestParam_CINS param, Object... paramsAndValues)
A dummy subscription, that allows to test errors (and other strange behavior), and their return to the subscription's client
This method registers a subscription, by executing a direct partial subscriptionTest subscription against the GraphQL server.subscriptionTest
(String queryResponseDef, SubscriptionCallback<String> subscriptionCallback, CINP_SubscriptionTestParam_CINS param, Object... paramsAndValues)
A dummy subscription, that allows to test errors (and other strange behavior), and their return to the subscription's client
This method registers a subscription, by executing a direct partial subscriptionTest subscription against the GraphQL server.subscriptionTestWithBindValues
(ObjectResponse objectResponse, SubscriptionCallback<String> subscriptionCallback, CINP_SubscriptionTestParam_CINS param, Map<String, Object> parameters)
A dummy subscription, that allows to test errors (and other strange behavior), and their return to the subscription's client
This method registers a subscription, by executing a direct partial subscriptionTest subscription against the GraphQL server.subscriptionTestWithBindValues
(String queryResponseDef, SubscriptionCallback<String> subscriptionCallback, CINP_SubscriptionTestParam_CINS param, Map<String, Object> parameters)
A dummy subscription, that allows to test errors (and other strange behavior), and their return to the subscription's client
This method registers a subscription, by executing a direct partial subscriptionTest subscription against the GraphQL server.subscriptionWithNullResponse
(ObjectResponse objectResponse, SubscriptionCallback<String> subscriptionCallback, Object... paramsAndValues) Issue 122: Check Subscription behavior when notification response is null
This method registers a subscription, by executing a direct partial subscriptionWithNullResponse subscription against the GraphQL server.subscriptionWithNullResponse
(String queryResponseDef, SubscriptionCallback<String> subscriptionCallback, Object... paramsAndValues) Issue 122: Check Subscription behavior when notification response is null
This method registers a subscription, by executing a direct partial subscriptionWithNullResponse subscription against the GraphQL server.subscriptionWithNullResponseWithBindValues
(ObjectResponse objectResponse, SubscriptionCallback<String> subscriptionCallback, Map<String, Object> parameters) Issue 122: Check Subscription behavior when notification response is null
This method registers a subscription, by executing a direct partial subscriptionWithNullResponse subscription against the GraphQL server.subscriptionWithNullResponseWithBindValues
(String queryResponseDef, SubscriptionCallback<String> subscriptionCallback, Map<String, Object> parameters) Issue 122: Check Subscription behavior when notification response is null
This method registers a subscription, by executing a direct partial subscriptionWithNullResponse subscription against the GraphQL server.
-
Constructor Details
-
TheSubscriptionTypeExecutorAllGraphQLCases
public TheSubscriptionTypeExecutorAllGraphQLCases()
-
-
Method Details
-
execWithBindValues
public SubscriptionClient execWithBindValues(String queryResponseDef, SubscriptionCallback<?> subscriptionCallback, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionThis method takes a full request definition, and executes it against the GraphQL server. As this class is a subscription executor, the provided request must be a subscription full request. It may only return one subscription's field.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the subscription, in the native GraphQL format (see here above). It's a full request, as you would write it in graphiql. Is must include the subscription keyword.subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the class of the subscription, that is the GraphQL type of the subscription's field that is subscribed.parameters
- The map of values, for the bind variables defined in the query. If there is no bind variable in the defined Query, this argument may be null or an emptyMap
. The key is the parameter name, as defined in the query (in the above sample: heroParam is an optional parameter and skip is a mandatory one). The value is the parameter vale in its Java type (for instance aDate
for theGraphQLScalarTypeDate
). The parameters which value is missing in this map will no be transmitted toward the GraphQL server.- Returns:
- The
SubscriptionClient
that allows the caller to act on the subscribed subscription. - Throws:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
exec
public SubscriptionClient exec(String queryResponseDef, SubscriptionCallback<?> subscriptionCallback, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException This method takes a full request definition, and executes it against the GraphQL server. As this class is a subscription executor, the provided request must be a subscription full request. It may only return one subscription's field.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the subscription, in the native GraphQL format (see here above). It's a full request, as you would write it in graphiql. Is must include the subscription keyword.subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the class of the subscription, that is the GraphQL type of the subscription's field that is subscribed.paramsAndValues
- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters: it must be a series of name and values : (paramName1, paramValue1, paramName2, paramValue2...)- Returns:
- The
SubscriptionClient
that allows the caller to act on the subscribed subscription. - Throws:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
execWithBindValues
public SubscriptionClient execWithBindValues(ObjectResponse objectResponse, SubscriptionCallback<?> subscriptionCallback, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionThis method takes a full request definition, and executes it against the GraphQL server. As this class is a subscription executor, the provided request must be a subscription full request. It may only return one subscription's field.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
Here is a sample on how to use it:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases POJO, as returned by thegetGraphQLRequest(java.lang.String)
method or one of thegetXxxxGraphQLRequest(String)
methods.subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the class of the subscription, that is the GraphQL type of the subscription's field that is subscribed.parameters
- The map of values, for the bind variables defined in the query. If there is no bind variable in the defined Query, this argument may be null or an emptyMap
- Returns:
- The
SubscriptionClient
that allows the caller to act on the subscribed subscription. - Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
exec
public SubscriptionClient exec(ObjectResponse objectResponse, SubscriptionCallback<?> subscriptionCallback, Object... paramsAndValues) throws GraphQLRequestExecutionException This method takes a full request definition, and executes it against the GraphQL server. As this class is a subscription executor, the provided request must be a subscription full request. It may only return one subscription's field.
You must also provide a callback instance of theSubscriptionCallback
, that will be called each time a message or an error is sent by this subscribed subscription.
It offers a logging of the call (if in debug mode), or of the call and its parameters (if in trace mode).
Here is a sample on how to use it:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases POJO, as returned by thegetGraphQLRequest(java.lang.String)
method or one of thegetXxxxGraphQLRequest(String)
methods.subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the class of the subscription, that is the GraphQL type of the subscription's field that is subscribed.paramsAndValues
- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters: it must be a series of name and values : (paramName1, paramValue1, paramName2, paramValue2...)- Returns:
- The
SubscriptionClient
that allows the caller to act on the subscribed subscription. - Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getResponseBuilder
Get theBuilder
for a full request, as expected by the exec and execWithBindValues methods.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getGraphQLRequest
public GraphQLRequestAllGraphQLCases getGraphQLRequest(String fullRequest) throws GraphQLRequestPreparationException Get theGraphQLRequestAllGraphQLCases
, to obtain a prepared full request. For instance:GraphQLRequestAllGraphQLCases request = new GraphQLRequestAllGraphQLCases(fullRequest);
- Parameters:
fullRequest
- The full GraphQL request, as specified in the GraphQL specification- Returns:
- Throws:
GraphQLRequestPreparationException
-
subscribeNewHumanForEpisodeWithBindValues
public SubscriptionClient subscribeNewHumanForEpisodeWithBindValues(String queryResponseDef, SubscriptionCallback<CTP_Human_CTS> subscriptionCallback, CEP_Episode_CES episode, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionWill be notified for each Human added to this Episode
This method registers a subscription, by executing a direct partial subscribeNewHumanForEpisode subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.subscribeNewHumanForEpisode
is of typeCTP_Human_CTS
. Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the subscribeNewHumanForEpisode subscription field.episode
- Parameter for the subscribeNewHumanForEpisode field of TheSubscriptionType, as defined in the GraphQL schemaparameters
- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap
- Throws:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
subscribeNewHumanForEpisode
public SubscriptionClient subscribeNewHumanForEpisode(String queryResponseDef, SubscriptionCallback<CTP_Human_CTS> subscriptionCallback, CEP_Episode_CES episode, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException Will be notified for each Human added to this Episode
This method registers a subscription, by executing a direct partial subscribeNewHumanForEpisode subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.subscribeNewHumanForEpisode
is of typeCTP_Human_CTS
. Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the subscribeNewHumanForEpisode subscription field.episode
- Parameter for the subscribeNewHumanForEpisode field of TheSubscriptionType, as defined in the GraphQL schemaparameters
- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap
- Throws:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
subscribeNewHumanForEpisodeWithBindValues
public SubscriptionClient subscribeNewHumanForEpisodeWithBindValues(ObjectResponse objectResponse, SubscriptionCallback<CTP_Human_CTS> subscriptionCallback, CEP_Episode_CES episode, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionWill be notified for each Human added to this Episode
This method registers a subscription, by executing a direct partial subscribeNewHumanForEpisode subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.subscribeNewHumanForEpisode
is of typeCTP_Human_CTS
. Here is a sample on how to use it:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases POJO, as returned by thegetSubscribeNewHumanForEpisodeGraphQLRequest(java.lang.String)
method.subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the subscribeNewHumanForEpisode subscription field.episode
- Parameter for the subscribeNewHumanForEpisode field of TheSubscriptionType, as defined in the GraphQL schemaparameters
- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined Query, this argument may be null or an emptyMap
- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
subscribeNewHumanForEpisode
public SubscriptionClient subscribeNewHumanForEpisode(ObjectResponse objectResponse, SubscriptionCallback<CTP_Human_CTS> subscriptionCallback, CEP_Episode_CES episode, Object... paramsAndValues) throws GraphQLRequestExecutionException Will be notified for each Human added to this Episode
This method registers a subscription, by executing a direct partial subscribeNewHumanForEpisode subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.subscribeNewHumanForEpisode
is of typeCTP_Human_CTS
. Here is a sample on how to use it:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases POJO, as returned by thegetSubscribeNewHumanForEpisodeGraphQLRequest(java.lang.String)
method.subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the subscribeNewHumanForEpisode subscription field.episode
- Parameter for the subscribeNewHumanForEpisode field of TheSubscriptionType, as defined in the GraphQL schemaparamsAndValues
- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters. It must be a series of name and values, like : paramName1, paramValue1, paramName2, paramValue2...- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getSubscribeNewHumanForEpisodeResponseBuilder
public Builder getSubscribeNewHumanForEpisodeResponseBuilder() throws GraphQLRequestPreparationExceptionWill be notified for each Human added to this Episode
Get theBuilder
for the CTP_Human_CTS, as expected by the subscribeNewHumanForEpisode subscription.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getSubscribeNewHumanForEpisodeGraphQLRequest
public GraphQLRequestAllGraphQLCases getSubscribeNewHumanForEpisodeGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Will be notified for each Human added to this Episode
Get theGraphQLRequestAllGraphQLCases
for the subscribeNewHumanForEpisode EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
subscribeToAListWithBindValues
public SubscriptionClient subscribeToAListWithBindValues(String queryResponseDef, SubscriptionCallback<List<Integer>> subscriptionCallback, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionIssue 54
This method registers a subscription, by executing a direct partial subscribeToAList subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.subscribeToAList
is of typeInteger
. Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the subscribeToAList subscription field.parameters
- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap
- Throws:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
subscribeToAList
public SubscriptionClient subscribeToAList(String queryResponseDef, SubscriptionCallback<List<Integer>> subscriptionCallback, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException Issue 54
This method registers a subscription, by executing a direct partial subscribeToAList subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.subscribeToAList
is of typeInteger
. Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the subscribeToAList subscription field.parameters
- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap
- Throws:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
subscribeToAListWithBindValues
public SubscriptionClient subscribeToAListWithBindValues(ObjectResponse objectResponse, SubscriptionCallback<List<Integer>> subscriptionCallback, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionIssue 54
This method registers a subscription, by executing a direct partial subscribeToAList subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.subscribeToAList
is of typeInteger
. Here is a sample on how to use it:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases POJO, as returned by thegetSubscribeToAListGraphQLRequest(java.lang.String)
method.subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the subscribeToAList subscription field.parameters
- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined Query, this argument may be null or an emptyMap
- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
subscribeToAList
public SubscriptionClient subscribeToAList(ObjectResponse objectResponse, SubscriptionCallback<List<Integer>> subscriptionCallback, Object... paramsAndValues) throws GraphQLRequestExecutionException Issue 54
This method registers a subscription, by executing a direct partial subscribeToAList subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.subscribeToAList
is of typeInteger
. Here is a sample on how to use it:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases POJO, as returned by thegetSubscribeToAListGraphQLRequest(java.lang.String)
method.subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the subscribeToAList subscription field.paramsAndValues
- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters. It must be a series of name and values, like : paramName1, paramValue1, paramName2, paramValue2...- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getSubscribeToAListResponseBuilder
Issue 54
Get theBuilder
for the Integer, as expected by the subscribeToAList subscription.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getSubscribeToAListGraphQLRequest
public GraphQLRequestAllGraphQLCases getSubscribeToAListGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Issue 54
Get theGraphQLRequestAllGraphQLCases
for the subscribeToAList EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
subscribeToAListOfScalarsWithBindValues
public SubscriptionClient subscribeToAListOfScalarsWithBindValues(String queryResponseDef, SubscriptionCallback<List<Date>> subscriptionCallback, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionThis method registers a subscription, by executing a direct partial subscribeToAListOfScalars subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.subscribeToAListOfScalars
is of typeDate
. Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the subscribeToAListOfScalars subscription field.parameters
- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap
- Throws:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
subscribeToAListOfScalars
public SubscriptionClient subscribeToAListOfScalars(String queryResponseDef, SubscriptionCallback<List<Date>> subscriptionCallback, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException This method registers a subscription, by executing a direct partial subscribeToAListOfScalars subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.subscribeToAListOfScalars
is of typeDate
. Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the subscribeToAListOfScalars subscription field.parameters
- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap
- Throws:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
subscribeToAListOfScalarsWithBindValues
public SubscriptionClient subscribeToAListOfScalarsWithBindValues(ObjectResponse objectResponse, SubscriptionCallback<List<Date>> subscriptionCallback, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionThis method registers a subscription, by executing a direct partial subscribeToAListOfScalars subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.subscribeToAListOfScalars
is of typeDate
. Here is a sample on how to use it:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases POJO, as returned by thegetSubscribeToAListOfScalarsGraphQLRequest(java.lang.String)
method.subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the subscribeToAListOfScalars subscription field.parameters
- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined Query, this argument may be null or an emptyMap
- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
subscribeToAListOfScalars
public SubscriptionClient subscribeToAListOfScalars(ObjectResponse objectResponse, SubscriptionCallback<List<Date>> subscriptionCallback, Object... paramsAndValues) throws GraphQLRequestExecutionException This method registers a subscription, by executing a direct partial subscribeToAListOfScalars subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.subscribeToAListOfScalars
is of typeDate
. Here is a sample on how to use it:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases POJO, as returned by thegetSubscribeToAListOfScalarsGraphQLRequest(java.lang.String)
method.subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the subscribeToAListOfScalars subscription field.paramsAndValues
- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters. It must be a series of name and values, like : paramName1, paramValue1, paramName2, paramValue2...- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getSubscribeToAListOfScalarsResponseBuilder
public Builder getSubscribeToAListOfScalarsResponseBuilder() throws GraphQLRequestPreparationExceptionGet theBuilder
for the Date, as expected by the subscribeToAListOfScalars subscription.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getSubscribeToAListOfScalarsGraphQLRequest
public GraphQLRequestAllGraphQLCases getSubscribeToAListOfScalarsGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Get theGraphQLRequestAllGraphQLCases
for the subscribeToAListOfScalars EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
issue53WithBindValues
public SubscriptionClient issue53WithBindValues(String queryResponseDef, SubscriptionCallback<Date> subscriptionCallback, Date date, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionissue53 is about custom scalars as parameter for a query/mutation/subscription, that was not properly serialized/deserialized
This method registers a subscription, by executing a direct partial issue53 subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.issue53
is of typeDate
. Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the issue53 subscription field.date
- Parameter for the issue53 field of TheSubscriptionType, as defined in the GraphQL schemaparameters
- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap
- Throws:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
issue53
public SubscriptionClient issue53(String queryResponseDef, SubscriptionCallback<Date> subscriptionCallback, Date date, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException issue53 is about custom scalars as parameter for a query/mutation/subscription, that was not properly serialized/deserialized
This method registers a subscription, by executing a direct partial issue53 subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.issue53
is of typeDate
. Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the issue53 subscription field.date
- Parameter for the issue53 field of TheSubscriptionType, as defined in the GraphQL schemaparameters
- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap
- Throws:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
issue53WithBindValues
public SubscriptionClient issue53WithBindValues(ObjectResponse objectResponse, SubscriptionCallback<Date> subscriptionCallback, Date date, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionissue53 is about custom scalars as parameter for a query/mutation/subscription, that was not properly serialized/deserialized
This method registers a subscription, by executing a direct partial issue53 subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.issue53
is of typeDate
. Here is a sample on how to use it:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases POJO, as returned by thegetIssue53GraphQLRequest(java.lang.String)
method.subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the issue53 subscription field.date
- Parameter for the issue53 field of TheSubscriptionType, as defined in the GraphQL schemaparameters
- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined Query, this argument may be null or an emptyMap
- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
issue53
public SubscriptionClient issue53(ObjectResponse objectResponse, SubscriptionCallback<Date> subscriptionCallback, Date date, Object... paramsAndValues) throws GraphQLRequestExecutionException issue53 is about custom scalars as parameter for a query/mutation/subscription, that was not properly serialized/deserialized
This method registers a subscription, by executing a direct partial issue53 subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.issue53
is of typeDate
. Here is a sample on how to use it:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases POJO, as returned by thegetIssue53GraphQLRequest(java.lang.String)
method.subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the issue53 subscription field.date
- Parameter for the issue53 field of TheSubscriptionType, as defined in the GraphQL schemaparamsAndValues
- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters. It must be a series of name and values, like : paramName1, paramValue1, paramName2, paramValue2...- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getIssue53ResponseBuilder
issue53 is about custom scalars as parameter for a query/mutation/subscription, that was not properly serialized/deserialized
Get theBuilder
for the Date, as expected by the issue53 subscription.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getIssue53GraphQLRequest
public GraphQLRequestAllGraphQLCases getIssue53GraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException issue53 is about custom scalars as parameter for a query/mutation/subscription, that was not properly serialized/deserialized
Get theGraphQLRequestAllGraphQLCases
for the issue53 EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
allGraphQLCasesInputWithBindValues
public SubscriptionClient allGraphQLCasesInputWithBindValues(String queryResponseDef, SubscriptionCallback<CTP_AllFieldCases_CTS> subscriptionCallback, CINP_AllFieldCasesInput_CINS input, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionSome subscriptions to test all kind of input parameters (to check proper serialization and deserialization)
This method registers a subscription, by executing a direct partial allGraphQLCasesInput subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.allGraphQLCasesInput
is of typeCTP_AllFieldCases_CTS
. Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the allGraphQLCasesInput subscription field.input
- Parameter for the allGraphQLCasesInput field of TheSubscriptionType, as defined in the GraphQL schemaparameters
- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap
- Throws:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
allGraphQLCasesInput
public SubscriptionClient allGraphQLCasesInput(String queryResponseDef, SubscriptionCallback<CTP_AllFieldCases_CTS> subscriptionCallback, CINP_AllFieldCasesInput_CINS input, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException Some subscriptions to test all kind of input parameters (to check proper serialization and deserialization)
This method registers a subscription, by executing a direct partial allGraphQLCasesInput subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.allGraphQLCasesInput
is of typeCTP_AllFieldCases_CTS
. Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the allGraphQLCasesInput subscription field.input
- Parameter for the allGraphQLCasesInput field of TheSubscriptionType, as defined in the GraphQL schemaparameters
- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap
- Throws:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
allGraphQLCasesInputWithBindValues
public SubscriptionClient allGraphQLCasesInputWithBindValues(ObjectResponse objectResponse, SubscriptionCallback<CTP_AllFieldCases_CTS> subscriptionCallback, CINP_AllFieldCasesInput_CINS input, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionSome subscriptions to test all kind of input parameters (to check proper serialization and deserialization)
This method registers a subscription, by executing a direct partial allGraphQLCasesInput subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.allGraphQLCasesInput
is of typeCTP_AllFieldCases_CTS
. Here is a sample on how to use it:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases POJO, as returned by thegetAllGraphQLCasesInputGraphQLRequest(java.lang.String)
method.subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the allGraphQLCasesInput subscription field.input
- Parameter for the allGraphQLCasesInput field of TheSubscriptionType, as defined in the GraphQL schemaparameters
- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined Query, this argument may be null or an emptyMap
- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
allGraphQLCasesInput
public SubscriptionClient allGraphQLCasesInput(ObjectResponse objectResponse, SubscriptionCallback<CTP_AllFieldCases_CTS> subscriptionCallback, CINP_AllFieldCasesInput_CINS input, Object... paramsAndValues) throws GraphQLRequestExecutionException Some subscriptions to test all kind of input parameters (to check proper serialization and deserialization)
This method registers a subscription, by executing a direct partial allGraphQLCasesInput subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.allGraphQLCasesInput
is of typeCTP_AllFieldCases_CTS
. Here is a sample on how to use it:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases POJO, as returned by thegetAllGraphQLCasesInputGraphQLRequest(java.lang.String)
method.subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the allGraphQLCasesInput subscription field.input
- Parameter for the allGraphQLCasesInput field of TheSubscriptionType, as defined in the GraphQL schemaparamsAndValues
- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters. It must be a series of name and values, like : paramName1, paramValue1, paramName2, paramValue2...- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getAllGraphQLCasesInputResponseBuilder
Some subscriptions to test all kind of input parameters (to check proper serialization and deserialization)
Get theBuilder
for the CTP_AllFieldCases_CTS, as expected by the allGraphQLCasesInput subscription.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getAllGraphQLCasesInputGraphQLRequest
public GraphQLRequestAllGraphQLCases getAllGraphQLCasesInputGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Some subscriptions to test all kind of input parameters (to check proper serialization and deserialization)
Get theGraphQLRequestAllGraphQLCases
for the allGraphQLCasesInput EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
allGraphQLCasesParamWithBindValues
public SubscriptionClient allGraphQLCasesParamWithBindValues(String queryResponseDef, SubscriptionCallback<CTP_AllFieldCases_CTS> subscriptionCallback, String id, String name, Long age, Integer integer, Date date, List<Date> dates, List<List<Double>> matrix, CINP_AllFieldCasesWithoutIdSubtypeInput_CINS oneWithoutIdSubtype, List<CINP_AllFieldCasesWithoutIdSubtypeInput_CINS> listWithoutIdSubtype, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionThis method registers a subscription, by executing a direct partial allGraphQLCasesParam subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.allGraphQLCasesParam
is of typeCTP_AllFieldCases_CTS
. Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the allGraphQLCasesParam subscription field.id
- Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schemaname
- Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schemaage
- Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schemainteger
- Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schemadate
- Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schemadates
- Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schemamatrix
- Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schemaoneWithoutIdSubtype
- Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schemalistWithoutIdSubtype
- Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schemaparameters
- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap
- Throws:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
allGraphQLCasesParam
public SubscriptionClient allGraphQLCasesParam(String queryResponseDef, SubscriptionCallback<CTP_AllFieldCases_CTS> subscriptionCallback, String id, String name, Long age, Integer integer, Date date, List<Date> dates, List<List<Double>> matrix, CINP_AllFieldCasesWithoutIdSubtypeInput_CINS oneWithoutIdSubtype, List<CINP_AllFieldCasesWithoutIdSubtypeInput_CINS> listWithoutIdSubtype, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException This method registers a subscription, by executing a direct partial allGraphQLCasesParam subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.allGraphQLCasesParam
is of typeCTP_AllFieldCases_CTS
. Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the allGraphQLCasesParam subscription field.id
- Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schemaname
- Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schemaage
- Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schemainteger
- Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schemadate
- Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schemadates
- Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schemamatrix
- Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schemaoneWithoutIdSubtype
- Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schemalistWithoutIdSubtype
- Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schemaparameters
- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap
- Throws:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
allGraphQLCasesParamWithBindValues
public SubscriptionClient allGraphQLCasesParamWithBindValues(ObjectResponse objectResponse, SubscriptionCallback<CTP_AllFieldCases_CTS> subscriptionCallback, String id, String name, Long age, Integer integer, Date date, List<Date> dates, List<List<Double>> matrix, CINP_AllFieldCasesWithoutIdSubtypeInput_CINS oneWithoutIdSubtype, List<CINP_AllFieldCasesWithoutIdSubtypeInput_CINS> listWithoutIdSubtype, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionThis method registers a subscription, by executing a direct partial allGraphQLCasesParam subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.allGraphQLCasesParam
is of typeCTP_AllFieldCases_CTS
. Here is a sample on how to use it:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases POJO, as returned by thegetAllGraphQLCasesParamGraphQLRequest(java.lang.String)
method.subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the allGraphQLCasesParam subscription field.id
- Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schemaname
- Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schemaage
- Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schemainteger
- Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schemadate
- Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schemadates
- Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schemamatrix
- Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schemaoneWithoutIdSubtype
- Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schemalistWithoutIdSubtype
- Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schemaparameters
- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined Query, this argument may be null or an emptyMap
- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
allGraphQLCasesParam
public SubscriptionClient allGraphQLCasesParam(ObjectResponse objectResponse, SubscriptionCallback<CTP_AllFieldCases_CTS> subscriptionCallback, String id, String name, Long age, Integer integer, Date date, List<Date> dates, List<List<Double>> matrix, CINP_AllFieldCasesWithoutIdSubtypeInput_CINS oneWithoutIdSubtype, List<CINP_AllFieldCasesWithoutIdSubtypeInput_CINS> listWithoutIdSubtype, Object... paramsAndValues) throws GraphQLRequestExecutionException This method registers a subscription, by executing a direct partial allGraphQLCasesParam subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.allGraphQLCasesParam
is of typeCTP_AllFieldCases_CTS
. Here is a sample on how to use it:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases POJO, as returned by thegetAllGraphQLCasesParamGraphQLRequest(java.lang.String)
method.subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the allGraphQLCasesParam subscription field.id
- Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schemaname
- Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schemaage
- Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schemainteger
- Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schemadate
- Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schemadates
- Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schemamatrix
- Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schemaoneWithoutIdSubtype
- Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schemalistWithoutIdSubtype
- Parameter for the allGraphQLCasesParam field of TheSubscriptionType, as defined in the GraphQL schemaparamsAndValues
- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters. It must be a series of name and values, like : paramName1, paramValue1, paramName2, paramValue2...- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getAllGraphQLCasesParamResponseBuilder
Get theBuilder
for the CTP_AllFieldCases_CTS, as expected by the allGraphQLCasesParam subscription.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getAllGraphQLCasesParamGraphQLRequest
public GraphQLRequestAllGraphQLCases getAllGraphQLCasesParamGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Get theGraphQLRequestAllGraphQLCases
for the allGraphQLCasesParam EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
subscriptionTestWithBindValues
public SubscriptionClient subscriptionTestWithBindValues(String queryResponseDef, SubscriptionCallback<String> subscriptionCallback, CINP_SubscriptionTestParam_CINS param, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException
A dummy subscription, that allows to test errors (and other strange behavior), and their return to the subscription's client
This method registers a subscription, by executing a direct partial subscriptionTest subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.subscriptionTest
is of typeString
. Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the subscriptionTest subscription field.param
- Parameter for the subscriptionTest field of TheSubscriptionType, as defined in the GraphQL schemaparameters
- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap
- Throws:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
subscriptionTest
public SubscriptionClient subscriptionTest(String queryResponseDef, SubscriptionCallback<String> subscriptionCallback, CINP_SubscriptionTestParam_CINS param, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException
A dummy subscription, that allows to test errors (and other strange behavior), and their return to the subscription's client
This method registers a subscription, by executing a direct partial subscriptionTest subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.subscriptionTest
is of typeString
. Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the subscriptionTest subscription field.param
- Parameter for the subscriptionTest field of TheSubscriptionType, as defined in the GraphQL schemaparameters
- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap
- Throws:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
subscriptionTestWithBindValues
public SubscriptionClient subscriptionTestWithBindValues(ObjectResponse objectResponse, SubscriptionCallback<String> subscriptionCallback, CINP_SubscriptionTestParam_CINS param, Map<String, Object> parameters) throws GraphQLRequestExecutionException
A dummy subscription, that allows to test errors (and other strange behavior), and their return to the subscription's client
This method registers a subscription, by executing a direct partial subscriptionTest subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.subscriptionTest
is of typeString
. Here is a sample on how to use it:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases POJO, as returned by thegetSubscriptionTestGraphQLRequest(java.lang.String)
method.subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the subscriptionTest subscription field.param
- Parameter for the subscriptionTest field of TheSubscriptionType, as defined in the GraphQL schemaparameters
- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined Query, this argument may be null or an emptyMap
- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
subscriptionTest
public SubscriptionClient subscriptionTest(ObjectResponse objectResponse, SubscriptionCallback<String> subscriptionCallback, CINP_SubscriptionTestParam_CINS param, Object... paramsAndValues) throws GraphQLRequestExecutionException
A dummy subscription, that allows to test errors (and other strange behavior), and their return to the subscription's client
This method registers a subscription, by executing a direct partial subscriptionTest subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.subscriptionTest
is of typeString
. Here is a sample on how to use it:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases POJO, as returned by thegetSubscriptionTestGraphQLRequest(java.lang.String)
method.subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the subscriptionTest subscription field.param
- Parameter for the subscriptionTest field of TheSubscriptionType, as defined in the GraphQL schemaparamsAndValues
- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters. It must be a series of name and values, like : paramName1, paramValue1, paramName2, paramValue2...- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getSubscriptionTestResponseBuilder
A dummy subscription, that allows to test errors (and other strange behavior), and their return to the subscription's client
Get theBuilder
for the String, as expected by the subscriptionTest subscription.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getSubscriptionTestGraphQLRequest
public GraphQLRequestAllGraphQLCases getSubscriptionTestGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException
A dummy subscription, that allows to test errors (and other strange behavior), and their return to the subscription's client
Get theGraphQLRequestAllGraphQLCases
for the subscriptionTest EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
returnEnumWithBindValues
public SubscriptionClient returnEnumWithBindValues(String queryResponseDef, SubscriptionCallback<CEP_EnumWithReservedJavaKeywordAsValues_CES> subscriptionCallback, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionThis method registers a subscription, by executing a direct partial returnEnum subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.returnEnum
is of typeCEP_EnumWithReservedJavaKeywordAsValues_CES
. Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the returnEnum subscription field.parameters
- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap
- Throws:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
returnEnum
public SubscriptionClient returnEnum(String queryResponseDef, SubscriptionCallback<CEP_EnumWithReservedJavaKeywordAsValues_CES> subscriptionCallback, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException This method registers a subscription, by executing a direct partial returnEnum subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.returnEnum
is of typeCEP_EnumWithReservedJavaKeywordAsValues_CES
. Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the returnEnum subscription field.parameters
- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap
- Throws:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
returnEnumWithBindValues
public SubscriptionClient returnEnumWithBindValues(ObjectResponse objectResponse, SubscriptionCallback<CEP_EnumWithReservedJavaKeywordAsValues_CES> subscriptionCallback, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionThis method registers a subscription, by executing a direct partial returnEnum subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.returnEnum
is of typeCEP_EnumWithReservedJavaKeywordAsValues_CES
. Here is a sample on how to use it:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases POJO, as returned by thegetReturnEnumGraphQLRequest(java.lang.String)
method.subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the returnEnum subscription field.parameters
- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined Query, this argument may be null or an emptyMap
- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
returnEnum
public SubscriptionClient returnEnum(ObjectResponse objectResponse, SubscriptionCallback<CEP_EnumWithReservedJavaKeywordAsValues_CES> subscriptionCallback, Object... paramsAndValues) throws GraphQLRequestExecutionException This method registers a subscription, by executing a direct partial returnEnum subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.returnEnum
is of typeCEP_EnumWithReservedJavaKeywordAsValues_CES
. Here is a sample on how to use it:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases POJO, as returned by thegetReturnEnumGraphQLRequest(java.lang.String)
method.subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the returnEnum subscription field.paramsAndValues
- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters. It must be a series of name and values, like : paramName1, paramValue1, paramName2, paramValue2...- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getReturnEnumResponseBuilder
Get theBuilder
for the CEP_EnumWithReservedJavaKeywordAsValues_CES, as expected by the returnEnum subscription.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getReturnEnumGraphQLRequest
public GraphQLRequestAllGraphQLCases getReturnEnumGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Get theGraphQLRequestAllGraphQLCases
for the returnEnum EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
returnMandatoryEnumWithBindValues
public SubscriptionClient returnMandatoryEnumWithBindValues(String queryResponseDef, SubscriptionCallback<CEP_EnumWithReservedJavaKeywordAsValues_CES> subscriptionCallback, CEP_EnumWithReservedJavaKeywordAsValues_CES _enum, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionThis method registers a subscription, by executing a direct partial returnMandatoryEnum subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.returnMandatoryEnum
is of typeCEP_EnumWithReservedJavaKeywordAsValues_CES
. Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the returnMandatoryEnum subscription field.enum
- Parameter for the returnMandatoryEnum field of TheSubscriptionType, as defined in the GraphQL schemaparameters
- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap
- Throws:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
returnMandatoryEnum
public SubscriptionClient returnMandatoryEnum(String queryResponseDef, SubscriptionCallback<CEP_EnumWithReservedJavaKeywordAsValues_CES> subscriptionCallback, CEP_EnumWithReservedJavaKeywordAsValues_CES _enum, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException This method registers a subscription, by executing a direct partial returnMandatoryEnum subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.returnMandatoryEnum
is of typeCEP_EnumWithReservedJavaKeywordAsValues_CES
. Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the returnMandatoryEnum subscription field.enum
- Parameter for the returnMandatoryEnum field of TheSubscriptionType, as defined in the GraphQL schemaparameters
- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap
- Throws:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
returnMandatoryEnumWithBindValues
public SubscriptionClient returnMandatoryEnumWithBindValues(ObjectResponse objectResponse, SubscriptionCallback<CEP_EnumWithReservedJavaKeywordAsValues_CES> subscriptionCallback, CEP_EnumWithReservedJavaKeywordAsValues_CES _enum, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionThis method registers a subscription, by executing a direct partial returnMandatoryEnum subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.returnMandatoryEnum
is of typeCEP_EnumWithReservedJavaKeywordAsValues_CES
. Here is a sample on how to use it:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases POJO, as returned by thegetReturnMandatoryEnumGraphQLRequest(java.lang.String)
method.subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the returnMandatoryEnum subscription field.enum
- Parameter for the returnMandatoryEnum field of TheSubscriptionType, as defined in the GraphQL schemaparameters
- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined Query, this argument may be null or an emptyMap
- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
returnMandatoryEnum
public SubscriptionClient returnMandatoryEnum(ObjectResponse objectResponse, SubscriptionCallback<CEP_EnumWithReservedJavaKeywordAsValues_CES> subscriptionCallback, CEP_EnumWithReservedJavaKeywordAsValues_CES _enum, Object... paramsAndValues) throws GraphQLRequestExecutionException This method registers a subscription, by executing a direct partial returnMandatoryEnum subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.returnMandatoryEnum
is of typeCEP_EnumWithReservedJavaKeywordAsValues_CES
. Here is a sample on how to use it:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases POJO, as returned by thegetReturnMandatoryEnumGraphQLRequest(java.lang.String)
method.subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the returnMandatoryEnum subscription field.enum
- Parameter for the returnMandatoryEnum field of TheSubscriptionType, as defined in the GraphQL schemaparamsAndValues
- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters. It must be a series of name and values, like : paramName1, paramValue1, paramName2, paramValue2...- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getReturnMandatoryEnumResponseBuilder
Get theBuilder
for the CEP_EnumWithReservedJavaKeywordAsValues_CES, as expected by the returnMandatoryEnum subscription.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getReturnMandatoryEnumGraphQLRequest
public GraphQLRequestAllGraphQLCases getReturnMandatoryEnumGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Get theGraphQLRequestAllGraphQLCases
for the returnMandatoryEnum EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
returnListOfEnumsWithBindValues
public SubscriptionClient returnListOfEnumsWithBindValues(String queryResponseDef, SubscriptionCallback<List<CEP_EnumWithReservedJavaKeywordAsValues_CES>> subscriptionCallback, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionThis method registers a subscription, by executing a direct partial returnListOfEnums subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.returnListOfEnums
is of typeCEP_EnumWithReservedJavaKeywordAsValues_CES
. Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the returnListOfEnums subscription field.parameters
- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap
- Throws:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
returnListOfEnums
public SubscriptionClient returnListOfEnums(String queryResponseDef, SubscriptionCallback<List<CEP_EnumWithReservedJavaKeywordAsValues_CES>> subscriptionCallback, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException This method registers a subscription, by executing a direct partial returnListOfEnums subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.returnListOfEnums
is of typeCEP_EnumWithReservedJavaKeywordAsValues_CES
. Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the returnListOfEnums subscription field.parameters
- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap
- Throws:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
returnListOfEnumsWithBindValues
public SubscriptionClient returnListOfEnumsWithBindValues(ObjectResponse objectResponse, SubscriptionCallback<List<CEP_EnumWithReservedJavaKeywordAsValues_CES>> subscriptionCallback, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionThis method registers a subscription, by executing a direct partial returnListOfEnums subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.returnListOfEnums
is of typeCEP_EnumWithReservedJavaKeywordAsValues_CES
. Here is a sample on how to use it:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases POJO, as returned by thegetReturnListOfEnumsGraphQLRequest(java.lang.String)
method.subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the returnListOfEnums subscription field.parameters
- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined Query, this argument may be null or an emptyMap
- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
returnListOfEnums
public SubscriptionClient returnListOfEnums(ObjectResponse objectResponse, SubscriptionCallback<List<CEP_EnumWithReservedJavaKeywordAsValues_CES>> subscriptionCallback, Object... paramsAndValues) throws GraphQLRequestExecutionException This method registers a subscription, by executing a direct partial returnListOfEnums subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.returnListOfEnums
is of typeCEP_EnumWithReservedJavaKeywordAsValues_CES
. Here is a sample on how to use it:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases POJO, as returned by thegetReturnListOfEnumsGraphQLRequest(java.lang.String)
method.subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the returnListOfEnums subscription field.paramsAndValues
- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters. It must be a series of name and values, like : paramName1, paramValue1, paramName2, paramValue2...- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getReturnListOfEnumsResponseBuilder
Get theBuilder
for the CEP_EnumWithReservedJavaKeywordAsValues_CES, as expected by the returnListOfEnums subscription.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getReturnListOfEnumsGraphQLRequest
public GraphQLRequestAllGraphQLCases getReturnListOfEnumsGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Get theGraphQLRequestAllGraphQLCases
for the returnListOfEnums EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
returnListOfMandatoryEnumsWithBindValues
public SubscriptionClient returnListOfMandatoryEnumsWithBindValues(String queryResponseDef, SubscriptionCallback<List<CEP_EnumWithReservedJavaKeywordAsValues_CES>> subscriptionCallback, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionThis method registers a subscription, by executing a direct partial returnListOfMandatoryEnums subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.returnListOfMandatoryEnums
is of typeCEP_EnumWithReservedJavaKeywordAsValues_CES
. Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the returnListOfMandatoryEnums subscription field.parameters
- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap
- Throws:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
returnListOfMandatoryEnums
public SubscriptionClient returnListOfMandatoryEnums(String queryResponseDef, SubscriptionCallback<List<CEP_EnumWithReservedJavaKeywordAsValues_CES>> subscriptionCallback, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException This method registers a subscription, by executing a direct partial returnListOfMandatoryEnums subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.returnListOfMandatoryEnums
is of typeCEP_EnumWithReservedJavaKeywordAsValues_CES
. Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the returnListOfMandatoryEnums subscription field.parameters
- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap
- Throws:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
returnListOfMandatoryEnumsWithBindValues
public SubscriptionClient returnListOfMandatoryEnumsWithBindValues(ObjectResponse objectResponse, SubscriptionCallback<List<CEP_EnumWithReservedJavaKeywordAsValues_CES>> subscriptionCallback, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionThis method registers a subscription, by executing a direct partial returnListOfMandatoryEnums subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.returnListOfMandatoryEnums
is of typeCEP_EnumWithReservedJavaKeywordAsValues_CES
. Here is a sample on how to use it:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases POJO, as returned by thegetReturnListOfMandatoryEnumsGraphQLRequest(java.lang.String)
method.subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the returnListOfMandatoryEnums subscription field.parameters
- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined Query, this argument may be null or an emptyMap
- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
returnListOfMandatoryEnums
public SubscriptionClient returnListOfMandatoryEnums(ObjectResponse objectResponse, SubscriptionCallback<List<CEP_EnumWithReservedJavaKeywordAsValues_CES>> subscriptionCallback, Object... paramsAndValues) throws GraphQLRequestExecutionException This method registers a subscription, by executing a direct partial returnListOfMandatoryEnums subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.returnListOfMandatoryEnums
is of typeCEP_EnumWithReservedJavaKeywordAsValues_CES
. Here is a sample on how to use it:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases POJO, as returned by thegetReturnListOfMandatoryEnumsGraphQLRequest(java.lang.String)
method.subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the returnListOfMandatoryEnums subscription field.paramsAndValues
- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters. It must be a series of name and values, like : paramName1, paramValue1, paramName2, paramValue2...- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getReturnListOfMandatoryEnumsResponseBuilder
public Builder getReturnListOfMandatoryEnumsResponseBuilder() throws GraphQLRequestPreparationExceptionGet theBuilder
for the CEP_EnumWithReservedJavaKeywordAsValues_CES, as expected by the returnListOfMandatoryEnums subscription.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getReturnListOfMandatoryEnumsGraphQLRequest
public GraphQLRequestAllGraphQLCases getReturnListOfMandatoryEnumsGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Get theGraphQLRequestAllGraphQLCases
for the returnListOfMandatoryEnums EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
returnListOfListOfEnumsWithBindValues
public SubscriptionClient returnListOfListOfEnumsWithBindValues(String queryResponseDef, SubscriptionCallback<List<List<CEP_EnumWithReservedJavaKeywordAsValues_CES>>> subscriptionCallback, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionThis method registers a subscription, by executing a direct partial returnListOfListOfEnums subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.returnListOfListOfEnums
is of typeCEP_EnumWithReservedJavaKeywordAsValues_CES
. Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the returnListOfListOfEnums subscription field.parameters
- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap
- Throws:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
returnListOfListOfEnums
public SubscriptionClient returnListOfListOfEnums(String queryResponseDef, SubscriptionCallback<List<List<CEP_EnumWithReservedJavaKeywordAsValues_CES>>> subscriptionCallback, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException This method registers a subscription, by executing a direct partial returnListOfListOfEnums subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.returnListOfListOfEnums
is of typeCEP_EnumWithReservedJavaKeywordAsValues_CES
. Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the returnListOfListOfEnums subscription field.parameters
- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap
- Throws:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
returnListOfListOfEnumsWithBindValues
public SubscriptionClient returnListOfListOfEnumsWithBindValues(ObjectResponse objectResponse, SubscriptionCallback<List<List<CEP_EnumWithReservedJavaKeywordAsValues_CES>>> subscriptionCallback, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionThis method registers a subscription, by executing a direct partial returnListOfListOfEnums subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.returnListOfListOfEnums
is of typeCEP_EnumWithReservedJavaKeywordAsValues_CES
. Here is a sample on how to use it:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases POJO, as returned by thegetReturnListOfListOfEnumsGraphQLRequest(java.lang.String)
method.subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the returnListOfListOfEnums subscription field.parameters
- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined Query, this argument may be null or an emptyMap
- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
returnListOfListOfEnums
public SubscriptionClient returnListOfListOfEnums(ObjectResponse objectResponse, SubscriptionCallback<List<List<CEP_EnumWithReservedJavaKeywordAsValues_CES>>> subscriptionCallback, Object... paramsAndValues) throws GraphQLRequestExecutionException This method registers a subscription, by executing a direct partial returnListOfListOfEnums subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.returnListOfListOfEnums
is of typeCEP_EnumWithReservedJavaKeywordAsValues_CES
. Here is a sample on how to use it:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases POJO, as returned by thegetReturnListOfListOfEnumsGraphQLRequest(java.lang.String)
method.subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the returnListOfListOfEnums subscription field.paramsAndValues
- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters. It must be a series of name and values, like : paramName1, paramValue1, paramName2, paramValue2...- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getReturnListOfListOfEnumsResponseBuilder
public Builder getReturnListOfListOfEnumsResponseBuilder() throws GraphQLRequestPreparationExceptionGet theBuilder
for the CEP_EnumWithReservedJavaKeywordAsValues_CES, as expected by the returnListOfListOfEnums subscription.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getReturnListOfListOfEnumsGraphQLRequest
public GraphQLRequestAllGraphQLCases getReturnListOfListOfEnumsGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Get theGraphQLRequestAllGraphQLCases
for the returnListOfListOfEnums EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
returnMandatoryListOfEnumsWithBindValues
public SubscriptionClient returnMandatoryListOfEnumsWithBindValues(String queryResponseDef, SubscriptionCallback<List<CEP_EnumWithReservedJavaKeywordAsValues_CES>> subscriptionCallback, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionThis method registers a subscription, by executing a direct partial returnMandatoryListOfEnums subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.returnMandatoryListOfEnums
is of typeCEP_EnumWithReservedJavaKeywordAsValues_CES
. Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the returnMandatoryListOfEnums subscription field.parameters
- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap
- Throws:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
returnMandatoryListOfEnums
public SubscriptionClient returnMandatoryListOfEnums(String queryResponseDef, SubscriptionCallback<List<CEP_EnumWithReservedJavaKeywordAsValues_CES>> subscriptionCallback, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException This method registers a subscription, by executing a direct partial returnMandatoryListOfEnums subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.returnMandatoryListOfEnums
is of typeCEP_EnumWithReservedJavaKeywordAsValues_CES
. Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the returnMandatoryListOfEnums subscription field.parameters
- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap
- Throws:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
returnMandatoryListOfEnumsWithBindValues
public SubscriptionClient returnMandatoryListOfEnumsWithBindValues(ObjectResponse objectResponse, SubscriptionCallback<List<CEP_EnumWithReservedJavaKeywordAsValues_CES>> subscriptionCallback, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionThis method registers a subscription, by executing a direct partial returnMandatoryListOfEnums subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.returnMandatoryListOfEnums
is of typeCEP_EnumWithReservedJavaKeywordAsValues_CES
. Here is a sample on how to use it:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases POJO, as returned by thegetReturnMandatoryListOfEnumsGraphQLRequest(java.lang.String)
method.subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the returnMandatoryListOfEnums subscription field.parameters
- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined Query, this argument may be null or an emptyMap
- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
returnMandatoryListOfEnums
public SubscriptionClient returnMandatoryListOfEnums(ObjectResponse objectResponse, SubscriptionCallback<List<CEP_EnumWithReservedJavaKeywordAsValues_CES>> subscriptionCallback, Object... paramsAndValues) throws GraphQLRequestExecutionException This method registers a subscription, by executing a direct partial returnMandatoryListOfEnums subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.returnMandatoryListOfEnums
is of typeCEP_EnumWithReservedJavaKeywordAsValues_CES
. Here is a sample on how to use it:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases POJO, as returned by thegetReturnMandatoryListOfEnumsGraphQLRequest(java.lang.String)
method.subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the returnMandatoryListOfEnums subscription field.paramsAndValues
- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters. It must be a series of name and values, like : paramName1, paramValue1, paramName2, paramValue2...- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getReturnMandatoryListOfEnumsResponseBuilder
public Builder getReturnMandatoryListOfEnumsResponseBuilder() throws GraphQLRequestPreparationExceptionGet theBuilder
for the CEP_EnumWithReservedJavaKeywordAsValues_CES, as expected by the returnMandatoryListOfEnums subscription.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getReturnMandatoryListOfEnumsGraphQLRequest
public GraphQLRequestAllGraphQLCases getReturnMandatoryListOfEnumsGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Get theGraphQLRequestAllGraphQLCases
for the returnMandatoryListOfEnums EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
returnMandatoryListOfMandatoryEnumsWithBindValues
public SubscriptionClient returnMandatoryListOfMandatoryEnumsWithBindValues(String queryResponseDef, SubscriptionCallback<List<CEP_EnumWithReservedJavaKeywordAsValues_CES>> subscriptionCallback, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionThis method registers a subscription, by executing a direct partial returnMandatoryListOfMandatoryEnums subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.returnMandatoryListOfMandatoryEnums
is of typeCEP_EnumWithReservedJavaKeywordAsValues_CES
. Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the returnMandatoryListOfMandatoryEnums subscription field.parameters
- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap
- Throws:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
returnMandatoryListOfMandatoryEnums
public SubscriptionClient returnMandatoryListOfMandatoryEnums(String queryResponseDef, SubscriptionCallback<List<CEP_EnumWithReservedJavaKeywordAsValues_CES>> subscriptionCallback, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException This method registers a subscription, by executing a direct partial returnMandatoryListOfMandatoryEnums subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.returnMandatoryListOfMandatoryEnums
is of typeCEP_EnumWithReservedJavaKeywordAsValues_CES
. Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the returnMandatoryListOfMandatoryEnums subscription field.parameters
- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap
- Throws:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
returnMandatoryListOfMandatoryEnumsWithBindValues
public SubscriptionClient returnMandatoryListOfMandatoryEnumsWithBindValues(ObjectResponse objectResponse, SubscriptionCallback<List<CEP_EnumWithReservedJavaKeywordAsValues_CES>> subscriptionCallback, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionThis method registers a subscription, by executing a direct partial returnMandatoryListOfMandatoryEnums subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.returnMandatoryListOfMandatoryEnums
is of typeCEP_EnumWithReservedJavaKeywordAsValues_CES
. Here is a sample on how to use it:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases POJO, as returned by thegetReturnMandatoryListOfMandatoryEnumsGraphQLRequest(java.lang.String)
method.subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the returnMandatoryListOfMandatoryEnums subscription field.parameters
- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined Query, this argument may be null or an emptyMap
- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
returnMandatoryListOfMandatoryEnums
public SubscriptionClient returnMandatoryListOfMandatoryEnums(ObjectResponse objectResponse, SubscriptionCallback<List<CEP_EnumWithReservedJavaKeywordAsValues_CES>> subscriptionCallback, Object... paramsAndValues) throws GraphQLRequestExecutionException This method registers a subscription, by executing a direct partial returnMandatoryListOfMandatoryEnums subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.returnMandatoryListOfMandatoryEnums
is of typeCEP_EnumWithReservedJavaKeywordAsValues_CES
. Here is a sample on how to use it:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases POJO, as returned by thegetReturnMandatoryListOfMandatoryEnumsGraphQLRequest(java.lang.String)
method.subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the returnMandatoryListOfMandatoryEnums subscription field.paramsAndValues
- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters. It must be a series of name and values, like : paramName1, paramValue1, paramName2, paramValue2...- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getReturnMandatoryListOfMandatoryEnumsResponseBuilder
public Builder getReturnMandatoryListOfMandatoryEnumsResponseBuilder() throws GraphQLRequestPreparationExceptionGet theBuilder
for the CEP_EnumWithReservedJavaKeywordAsValues_CES, as expected by the returnMandatoryListOfMandatoryEnums subscription.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getReturnMandatoryListOfMandatoryEnumsGraphQLRequest
public GraphQLRequestAllGraphQLCases getReturnMandatoryListOfMandatoryEnumsGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Get theGraphQLRequestAllGraphQLCases
for the returnMandatoryListOfMandatoryEnums EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
subscriptionWithNullResponseWithBindValues
public SubscriptionClient subscriptionWithNullResponseWithBindValues(String queryResponseDef, SubscriptionCallback<String> subscriptionCallback, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionIssue 122: Check Subscription behavior when notification response is null
This method registers a subscription, by executing a direct partial subscriptionWithNullResponse subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.subscriptionWithNullResponse
is of typeString
. Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the subscriptionWithNullResponse subscription field.parameters
- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap
- Throws:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
subscriptionWithNullResponse
public SubscriptionClient subscriptionWithNullResponse(String queryResponseDef, SubscriptionCallback<String> subscriptionCallback, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException Issue 122: Check Subscription behavior when notification response is null
This method registers a subscription, by executing a direct partial subscriptionWithNullResponse subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.subscriptionWithNullResponse
is of typeString
. Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the subscriptionWithNullResponse subscription field.parameters
- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap
- Throws:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
subscriptionWithNullResponseWithBindValues
public SubscriptionClient subscriptionWithNullResponseWithBindValues(ObjectResponse objectResponse, SubscriptionCallback<String> subscriptionCallback, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionIssue 122: Check Subscription behavior when notification response is null
This method registers a subscription, by executing a direct partial subscriptionWithNullResponse subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.subscriptionWithNullResponse
is of typeString
. Here is a sample on how to use it:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases POJO, as returned by thegetSubscriptionWithNullResponseGraphQLRequest(java.lang.String)
method.subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the subscriptionWithNullResponse subscription field.parameters
- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined Query, this argument may be null or an emptyMap
- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
subscriptionWithNullResponse
public SubscriptionClient subscriptionWithNullResponse(ObjectResponse objectResponse, SubscriptionCallback<String> subscriptionCallback, Object... paramsAndValues) throws GraphQLRequestExecutionException Issue 122: Check Subscription behavior when notification response is null
This method registers a subscription, by executing a direct partial subscriptionWithNullResponse subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.subscriptionWithNullResponse
is of typeString
. Here is a sample on how to use it:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases POJO, as returned by thegetSubscriptionWithNullResponseGraphQLRequest(java.lang.String)
method.subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the subscriptionWithNullResponse subscription field.paramsAndValues
- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters. It must be a series of name and values, like : paramName1, paramValue1, paramName2, paramValue2...- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getSubscriptionWithNullResponseResponseBuilder
public Builder getSubscriptionWithNullResponseResponseBuilder() throws GraphQLRequestPreparationExceptionIssue 122: Check Subscription behavior when notification response is null
Get theBuilder
for the String, as expected by the subscriptionWithNullResponse subscription.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getSubscriptionWithNullResponseGraphQLRequest
public GraphQLRequestAllGraphQLCases getSubscriptionWithNullResponseGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Issue 122: Check Subscription behavior when notification response is null
Get theGraphQLRequestAllGraphQLCases
for the subscriptionWithNullResponse EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
enumWithReservedJavaKeywordAsValuesWithBindValues
public SubscriptionClient enumWithReservedJavaKeywordAsValuesWithBindValues(String queryResponseDef, SubscriptionCallback<CEP_EnumWithReservedJavaKeywordAsValues_CES> subscriptionCallback, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptiontest for issue #139 (use of java reserved keyword)
This method registers a subscription, by executing a direct partial enumWithReservedJavaKeywordAsValues subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.enumWithReservedJavaKeywordAsValues
is of typeCEP_EnumWithReservedJavaKeywordAsValues_CES
. Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the enumWithReservedJavaKeywordAsValues subscription field.parameters
- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap
- Throws:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
enumWithReservedJavaKeywordAsValues
public SubscriptionClient enumWithReservedJavaKeywordAsValues(String queryResponseDef, SubscriptionCallback<CEP_EnumWithReservedJavaKeywordAsValues_CES> subscriptionCallback, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException test for issue #139 (use of java reserved keyword)
This method registers a subscription, by executing a direct partial enumWithReservedJavaKeywordAsValues subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.enumWithReservedJavaKeywordAsValues
is of typeCEP_EnumWithReservedJavaKeywordAsValues_CES
. Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the enumWithReservedJavaKeywordAsValues subscription field.parameters
- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap
- Throws:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
enumWithReservedJavaKeywordAsValuesWithBindValues
public SubscriptionClient enumWithReservedJavaKeywordAsValuesWithBindValues(ObjectResponse objectResponse, SubscriptionCallback<CEP_EnumWithReservedJavaKeywordAsValues_CES> subscriptionCallback, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptiontest for issue #139 (use of java reserved keyword)
This method registers a subscription, by executing a direct partial enumWithReservedJavaKeywordAsValues subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.enumWithReservedJavaKeywordAsValues
is of typeCEP_EnumWithReservedJavaKeywordAsValues_CES
. Here is a sample on how to use it:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases POJO, as returned by thegetEnumWithReservedJavaKeywordAsValuesGraphQLRequest(java.lang.String)
method.subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the enumWithReservedJavaKeywordAsValues subscription field.parameters
- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined Query, this argument may be null or an emptyMap
- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
enumWithReservedJavaKeywordAsValues
public SubscriptionClient enumWithReservedJavaKeywordAsValues(ObjectResponse objectResponse, SubscriptionCallback<CEP_EnumWithReservedJavaKeywordAsValues_CES> subscriptionCallback, Object... paramsAndValues) throws GraphQLRequestExecutionException test for issue #139 (use of java reserved keyword)
This method registers a subscription, by executing a direct partial enumWithReservedJavaKeywordAsValues subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.enumWithReservedJavaKeywordAsValues
is of typeCEP_EnumWithReservedJavaKeywordAsValues_CES
. Here is a sample on how to use it:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases POJO, as returned by thegetEnumWithReservedJavaKeywordAsValuesGraphQLRequest(java.lang.String)
method.subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the enumWithReservedJavaKeywordAsValues subscription field.paramsAndValues
- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters. It must be a series of name and values, like : paramName1, paramValue1, paramName2, paramValue2...- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getEnumWithReservedJavaKeywordAsValuesResponseBuilder
public Builder getEnumWithReservedJavaKeywordAsValuesResponseBuilder() throws GraphQLRequestPreparationExceptiontest for issue #139 (use of java reserved keyword)
Get theBuilder
for the CEP_EnumWithReservedJavaKeywordAsValues_CES, as expected by the enumWithReservedJavaKeywordAsValues subscription.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getEnumWithReservedJavaKeywordAsValuesGraphQLRequest
public GraphQLRequestAllGraphQLCases getEnumWithReservedJavaKeywordAsValuesGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException test for issue #139 (use of java reserved keyword)
Get theGraphQLRequestAllGraphQLCases
for the enumWithReservedJavaKeywordAsValues EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
listOfEnumWithReservedJavaKeywordAsValuesWithBindValues
public SubscriptionClient listOfEnumWithReservedJavaKeywordAsValuesWithBindValues(String queryResponseDef, SubscriptionCallback<List<CEP_EnumWithReservedJavaKeywordAsValues_CES>> subscriptionCallback, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionThis method registers a subscription, by executing a direct partial listOfEnumWithReservedJavaKeywordAsValues subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.listOfEnumWithReservedJavaKeywordAsValues
is of typeCEP_EnumWithReservedJavaKeywordAsValues_CES
. Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the listOfEnumWithReservedJavaKeywordAsValues subscription field.parameters
- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap
- Throws:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
listOfEnumWithReservedJavaKeywordAsValues
public SubscriptionClient listOfEnumWithReservedJavaKeywordAsValues(String queryResponseDef, SubscriptionCallback<List<CEP_EnumWithReservedJavaKeywordAsValues_CES>> subscriptionCallback, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException This method registers a subscription, by executing a direct partial listOfEnumWithReservedJavaKeywordAsValues subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.listOfEnumWithReservedJavaKeywordAsValues
is of typeCEP_EnumWithReservedJavaKeywordAsValues_CES
. Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the listOfEnumWithReservedJavaKeywordAsValues subscription field.parameters
- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap
- Throws:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
listOfEnumWithReservedJavaKeywordAsValuesWithBindValues
public SubscriptionClient listOfEnumWithReservedJavaKeywordAsValuesWithBindValues(ObjectResponse objectResponse, SubscriptionCallback<List<CEP_EnumWithReservedJavaKeywordAsValues_CES>> subscriptionCallback, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionThis method registers a subscription, by executing a direct partial listOfEnumWithReservedJavaKeywordAsValues subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.listOfEnumWithReservedJavaKeywordAsValues
is of typeCEP_EnumWithReservedJavaKeywordAsValues_CES
. Here is a sample on how to use it:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases POJO, as returned by thegetListOfEnumWithReservedJavaKeywordAsValuesGraphQLRequest(java.lang.String)
method.subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the listOfEnumWithReservedJavaKeywordAsValues subscription field.parameters
- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined Query, this argument may be null or an emptyMap
- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
listOfEnumWithReservedJavaKeywordAsValues
public SubscriptionClient listOfEnumWithReservedJavaKeywordAsValues(ObjectResponse objectResponse, SubscriptionCallback<List<CEP_EnumWithReservedJavaKeywordAsValues_CES>> subscriptionCallback, Object... paramsAndValues) throws GraphQLRequestExecutionException This method registers a subscription, by executing a direct partial listOfEnumWithReservedJavaKeywordAsValues subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.listOfEnumWithReservedJavaKeywordAsValues
is of typeCEP_EnumWithReservedJavaKeywordAsValues_CES
. Here is a sample on how to use it:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases POJO, as returned by thegetListOfEnumWithReservedJavaKeywordAsValuesGraphQLRequest(java.lang.String)
method.subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the listOfEnumWithReservedJavaKeywordAsValues subscription field.paramsAndValues
- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters. It must be a series of name and values, like : paramName1, paramValue1, paramName2, paramValue2...- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getListOfEnumWithReservedJavaKeywordAsValuesResponseBuilder
public Builder getListOfEnumWithReservedJavaKeywordAsValuesResponseBuilder() throws GraphQLRequestPreparationExceptionGet theBuilder
for the CEP_EnumWithReservedJavaKeywordAsValues_CES, as expected by the listOfEnumWithReservedJavaKeywordAsValues subscription.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getListOfEnumWithReservedJavaKeywordAsValuesGraphQLRequest
public GraphQLRequestAllGraphQLCases getListOfEnumWithReservedJavaKeywordAsValuesGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Get theGraphQLRequestAllGraphQLCases
for the listOfEnumWithReservedJavaKeywordAsValues EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
_ifWithBindValues
public SubscriptionClient _ifWithBindValues(String queryResponseDef, SubscriptionCallback<String> subscriptionCallback, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionThis method registers a subscription, by executing a direct partial if subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.if
is of typeString
. Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the if subscription field.parameters
- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap
- Throws:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_if
public SubscriptionClient _if(String queryResponseDef, SubscriptionCallback<String> subscriptionCallback, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException This method registers a subscription, by executing a direct partial if subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.if
is of typeString
. Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the if subscription field.parameters
- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap
- Throws:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_ifWithBindValues
public SubscriptionClient _ifWithBindValues(ObjectResponse objectResponse, SubscriptionCallback<String> subscriptionCallback, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionThis method registers a subscription, by executing a direct partial if subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.if
is of typeString
. Here is a sample on how to use it:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases POJO, as returned by thegetIfGraphQLRequest(java.lang.String)
method.subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the if subscription field.parameters
- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined Query, this argument may be null or an emptyMap
- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_if
public SubscriptionClient _if(ObjectResponse objectResponse, SubscriptionCallback<String> subscriptionCallback, Object... paramsAndValues) throws GraphQLRequestExecutionException This method registers a subscription, by executing a direct partial if subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.if
is of typeString
. Here is a sample on how to use it:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases POJO, as returned by thegetIfGraphQLRequest(java.lang.String)
method.subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the if subscription field.paramsAndValues
- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters. It must be a series of name and values, like : paramName1, paramValue1, paramName2, paramValue2...- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getIfResponseBuilder
Get theBuilder
for the String, as expected by the if subscription.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getIfGraphQLRequest
public GraphQLRequestAllGraphQLCases getIfGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Get theGraphQLRequestAllGraphQLCases
for the if EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
_implementsWithBindValues
public SubscriptionClient _implementsWithBindValues(String queryResponseDef, SubscriptionCallback<String> subscriptionCallback, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionThis method registers a subscription, by executing a direct partial implements subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.implements
is of typeString
. Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the implements subscription field.parameters
- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap
- Throws:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_implements
public SubscriptionClient _implements(String queryResponseDef, SubscriptionCallback<String> subscriptionCallback, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException This method registers a subscription, by executing a direct partial implements subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.implements
is of typeString
. Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the implements subscription field.parameters
- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap
- Throws:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_implementsWithBindValues
public SubscriptionClient _implementsWithBindValues(ObjectResponse objectResponse, SubscriptionCallback<String> subscriptionCallback, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionThis method registers a subscription, by executing a direct partial implements subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.implements
is of typeString
. Here is a sample on how to use it:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases POJO, as returned by thegetImplementsGraphQLRequest(java.lang.String)
method.subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the implements subscription field.parameters
- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined Query, this argument may be null or an emptyMap
- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_implements
public SubscriptionClient _implements(ObjectResponse objectResponse, SubscriptionCallback<String> subscriptionCallback, Object... paramsAndValues) throws GraphQLRequestExecutionException This method registers a subscription, by executing a direct partial implements subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.implements
is of typeString
. Here is a sample on how to use it:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases POJO, as returned by thegetImplementsGraphQLRequest(java.lang.String)
method.subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the implements subscription field.paramsAndValues
- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters. It must be a series of name and values, like : paramName1, paramValue1, paramName2, paramValue2...- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getImplementsResponseBuilder
Get theBuilder
for the String, as expected by the implements subscription.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getImplementsGraphQLRequest
public GraphQLRequestAllGraphQLCases getImplementsGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Get theGraphQLRequestAllGraphQLCases
for the implements EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
_nullWithBindValues
public SubscriptionClient _nullWithBindValues(String queryResponseDef, SubscriptionCallback<String> subscriptionCallback, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionIssue #188: null is not identified as a java keyword
This method registers a subscription, by executing a direct partial null subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.null
is of typeString
. Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the null subscription field.parameters
- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap
- Throws:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_null
public SubscriptionClient _null(String queryResponseDef, SubscriptionCallback<String> subscriptionCallback, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException Issue #188: null is not identified as a java keyword
This method registers a subscription, by executing a direct partial null subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.null
is of typeString
. Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the null subscription field.parameters
- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap
- Throws:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_nullWithBindValues
public SubscriptionClient _nullWithBindValues(ObjectResponse objectResponse, SubscriptionCallback<String> subscriptionCallback, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionIssue #188: null is not identified as a java keyword
This method registers a subscription, by executing a direct partial null subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.null
is of typeString
. Here is a sample on how to use it:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases POJO, as returned by thegetNullGraphQLRequest(java.lang.String)
method.subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the null subscription field.parameters
- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined Query, this argument may be null or an emptyMap
- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
_null
public SubscriptionClient _null(ObjectResponse objectResponse, SubscriptionCallback<String> subscriptionCallback, Object... paramsAndValues) throws GraphQLRequestExecutionException Issue #188: null is not identified as a java keyword
This method registers a subscription, by executing a direct partial null subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.null
is of typeString
. Here is a sample on how to use it:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases POJO, as returned by thegetNullGraphQLRequest(java.lang.String)
method.subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the null subscription field.paramsAndValues
- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters. It must be a series of name and values, like : paramName1, paramValue1, paramName2, paramValue2...- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getNullResponseBuilder
Issue #188: null is not identified as a java keyword
Get theBuilder
for the String, as expected by the null subscription.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getNullGraphQLRequest
public GraphQLRequestAllGraphQLCases getNullGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Issue #188: null is not identified as a java keyword
Get theGraphQLRequestAllGraphQLCases
for the null EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
jsonWithBindValues
public SubscriptionClient jsonWithBindValues(String queryResponseDef, SubscriptionCallback<com.fasterxml.jackson.databind.node.ObjectNode> subscriptionCallback, com.fasterxml.jackson.databind.node.ObjectNode json, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionTest of JSON scalar, for issue #205
This method registers a subscription, by executing a direct partial json subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.json
is of typeObjectNode
. Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the json subscription field.json
- Parameter for the json field of TheSubscriptionType, as defined in the GraphQL schemaparameters
- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap
- Throws:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
json
public SubscriptionClient json(String queryResponseDef, SubscriptionCallback<com.fasterxml.jackson.databind.node.ObjectNode> subscriptionCallback, com.fasterxml.jackson.databind.node.ObjectNode json, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException Test of JSON scalar, for issue #205
This method registers a subscription, by executing a direct partial json subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.json
is of typeObjectNode
. Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the json subscription field.json
- Parameter for the json field of TheSubscriptionType, as defined in the GraphQL schemaparameters
- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap
- Throws:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
jsonWithBindValues
public SubscriptionClient jsonWithBindValues(ObjectResponse objectResponse, SubscriptionCallback<com.fasterxml.jackson.databind.node.ObjectNode> subscriptionCallback, com.fasterxml.jackson.databind.node.ObjectNode json, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionTest of JSON scalar, for issue #205
This method registers a subscription, by executing a direct partial json subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.json
is of typeObjectNode
. Here is a sample on how to use it:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases POJO, as returned by thegetJsonGraphQLRequest(java.lang.String)
method.subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the json subscription field.json
- Parameter for the json field of TheSubscriptionType, as defined in the GraphQL schemaparameters
- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined Query, this argument may be null or an emptyMap
- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
json
public SubscriptionClient json(ObjectResponse objectResponse, SubscriptionCallback<com.fasterxml.jackson.databind.node.ObjectNode> subscriptionCallback, com.fasterxml.jackson.databind.node.ObjectNode json, Object... paramsAndValues) throws GraphQLRequestExecutionException Test of JSON scalar, for issue #205
This method registers a subscription, by executing a direct partial json subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.json
is of typeObjectNode
. Here is a sample on how to use it:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases POJO, as returned by thegetJsonGraphQLRequest(java.lang.String)
method.subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the json subscription field.json
- Parameter for the json field of TheSubscriptionType, as defined in the GraphQL schemaparamsAndValues
- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters. It must be a series of name and values, like : paramName1, paramValue1, paramName2, paramValue2...- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getJsonResponseBuilder
Test of JSON scalar, for issue #205
Get theBuilder
for the ObjectNode, as expected by the json subscription.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getJsonGraphQLRequest
public GraphQLRequestAllGraphQLCases getJsonGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Test of JSON scalar, for issue #205
Get theGraphQLRequestAllGraphQLCases
for the json EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
jsonsWithBindValues
public SubscriptionClient jsonsWithBindValues(String queryResponseDef, SubscriptionCallback<List<com.fasterxml.jackson.databind.node.ObjectNode>> subscriptionCallback, List<com.fasterxml.jackson.databind.node.ObjectNode> jsons, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionThis method registers a subscription, by executing a direct partial jsons subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.jsons
is of typeObjectNode
. Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the jsons subscription field.jsons
- Parameter for the jsons field of TheSubscriptionType, as defined in the GraphQL schemaparameters
- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap
- Throws:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
jsons
public SubscriptionClient jsons(String queryResponseDef, SubscriptionCallback<List<com.fasterxml.jackson.databind.node.ObjectNode>> subscriptionCallback, List<com.fasterxml.jackson.databind.node.ObjectNode> jsons, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException This method registers a subscription, by executing a direct partial jsons subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.jsons
is of typeObjectNode
. Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the jsons subscription field.jsons
- Parameter for the jsons field of TheSubscriptionType, as defined in the GraphQL schemaparameters
- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap
- Throws:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
jsonsWithBindValues
public SubscriptionClient jsonsWithBindValues(ObjectResponse objectResponse, SubscriptionCallback<List<com.fasterxml.jackson.databind.node.ObjectNode>> subscriptionCallback, List<com.fasterxml.jackson.databind.node.ObjectNode> jsons, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionThis method registers a subscription, by executing a direct partial jsons subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.jsons
is of typeObjectNode
. Here is a sample on how to use it:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases POJO, as returned by thegetJsonsGraphQLRequest(java.lang.String)
method.subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the jsons subscription field.jsons
- Parameter for the jsons field of TheSubscriptionType, as defined in the GraphQL schemaparameters
- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined Query, this argument may be null or an emptyMap
- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
jsons
public SubscriptionClient jsons(ObjectResponse objectResponse, SubscriptionCallback<List<com.fasterxml.jackson.databind.node.ObjectNode>> subscriptionCallback, List<com.fasterxml.jackson.databind.node.ObjectNode> jsons, Object... paramsAndValues) throws GraphQLRequestExecutionException This method registers a subscription, by executing a direct partial jsons subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.jsons
is of typeObjectNode
. Here is a sample on how to use it:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases POJO, as returned by thegetJsonsGraphQLRequest(java.lang.String)
method.subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the jsons subscription field.jsons
- Parameter for the jsons field of TheSubscriptionType, as defined in the GraphQL schemaparamsAndValues
- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters. It must be a series of name and values, like : paramName1, paramValue1, paramName2, paramValue2...- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getJsonsResponseBuilder
Get theBuilder
for the ObjectNode, as expected by the jsons subscription.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getJsonsGraphQLRequest
public GraphQLRequestAllGraphQLCases getJsonsGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Get theGraphQLRequestAllGraphQLCases
for the jsons EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
jsonsWithInputWithBindValues
public SubscriptionClient jsonsWithInputWithBindValues(String queryResponseDef, SubscriptionCallback<List<CTP_TypeWithJson_CTS>> subscriptionCallback, List<CINP_InputWithJson_CINS> input, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionThis method registers a subscription, by executing a direct partial jsonsWithInput subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.jsonsWithInput
is of typeCTP_TypeWithJson_CTS
. Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the jsonsWithInput subscription field.input
- Parameter for the jsonsWithInput field of TheSubscriptionType, as defined in the GraphQL schemaparameters
- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap
- Throws:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
jsonsWithInput
public SubscriptionClient jsonsWithInput(String queryResponseDef, SubscriptionCallback<List<CTP_TypeWithJson_CTS>> subscriptionCallback, List<CINP_InputWithJson_CINS> input, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException This method registers a subscription, by executing a direct partial jsonsWithInput subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.jsonsWithInput
is of typeCTP_TypeWithJson_CTS
. Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the jsonsWithInput subscription field.input
- Parameter for the jsonsWithInput field of TheSubscriptionType, as defined in the GraphQL schemaparameters
- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap
- Throws:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
jsonsWithInputWithBindValues
public SubscriptionClient jsonsWithInputWithBindValues(ObjectResponse objectResponse, SubscriptionCallback<List<CTP_TypeWithJson_CTS>> subscriptionCallback, List<CINP_InputWithJson_CINS> input, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionThis method registers a subscription, by executing a direct partial jsonsWithInput subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.jsonsWithInput
is of typeCTP_TypeWithJson_CTS
. Here is a sample on how to use it:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases POJO, as returned by thegetJsonsWithInputGraphQLRequest(java.lang.String)
method.subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the jsonsWithInput subscription field.input
- Parameter for the jsonsWithInput field of TheSubscriptionType, as defined in the GraphQL schemaparameters
- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined Query, this argument may be null or an emptyMap
- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
jsonsWithInput
public SubscriptionClient jsonsWithInput(ObjectResponse objectResponse, SubscriptionCallback<List<CTP_TypeWithJson_CTS>> subscriptionCallback, List<CINP_InputWithJson_CINS> input, Object... paramsAndValues) throws GraphQLRequestExecutionException This method registers a subscription, by executing a direct partial jsonsWithInput subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.jsonsWithInput
is of typeCTP_TypeWithJson_CTS
. Here is a sample on how to use it:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases POJO, as returned by thegetJsonsWithInputGraphQLRequest(java.lang.String)
method.subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the jsonsWithInput subscription field.input
- Parameter for the jsonsWithInput field of TheSubscriptionType, as defined in the GraphQL schemaparamsAndValues
- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters. It must be a series of name and values, like : paramName1, paramValue1, paramName2, paramValue2...- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getJsonsWithInputResponseBuilder
Get theBuilder
for the CTP_TypeWithJson_CTS, as expected by the jsonsWithInput subscription.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getJsonsWithInputGraphQLRequest
public GraphQLRequestAllGraphQLCases getJsonsWithInputGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Get theGraphQLRequestAllGraphQLCases
for the jsonsWithInput EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
objectsWithInputWithBindValues
public SubscriptionClient objectsWithInputWithBindValues(String queryResponseDef, SubscriptionCallback<List<CTP_TypeWithObject_CTS>> subscriptionCallback, List<CINP_InputWithObject_CINS> input, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionThis method registers a subscription, by executing a direct partial objectsWithInput subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.objectsWithInput
is of typeCTP_TypeWithObject_CTS
. Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the objectsWithInput subscription field.input
- Parameter for the objectsWithInput field of TheSubscriptionType, as defined in the GraphQL schemaparameters
- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap
- Throws:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
objectsWithInput
public SubscriptionClient objectsWithInput(String queryResponseDef, SubscriptionCallback<List<CTP_TypeWithObject_CTS>> subscriptionCallback, List<CINP_InputWithObject_CINS> input, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException This method registers a subscription, by executing a direct partial objectsWithInput subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.objectsWithInput
is of typeCTP_TypeWithObject_CTS
. Here is a sample on how to use it:- Parameters:
queryResponseDef
- The response definition of the subscription, in the native GraphQL format (see here above)subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the objectsWithInput subscription field.input
- Parameter for the objectsWithInput field of TheSubscriptionType, as defined in the GraphQL schemaparameters
- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined subscription, this argument may be null or an emptyMap
- Throws:
GraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
objectsWithInputWithBindValues
public SubscriptionClient objectsWithInputWithBindValues(ObjectResponse objectResponse, SubscriptionCallback<List<CTP_TypeWithObject_CTS>> subscriptionCallback, List<CINP_InputWithObject_CINS> input, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionThis method registers a subscription, by executing a direct partial objectsWithInput subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.objectsWithInput
is of typeCTP_TypeWithObject_CTS
. Here is a sample on how to use it:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases POJO, as returned by thegetObjectsWithInputGraphQLRequest(java.lang.String)
method.subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the objectsWithInput subscription field.input
- Parameter for the objectsWithInput field of TheSubscriptionType, as defined in the GraphQL schemaparameters
- The list of values, for the bind variables defined in the subscription. If there is no bind variable in the defined Query, this argument may be null or an emptyMap
- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
objectsWithInput
public SubscriptionClient objectsWithInput(ObjectResponse objectResponse, SubscriptionCallback<List<CTP_TypeWithObject_CTS>> subscriptionCallback, List<CINP_InputWithObject_CINS> input, Object... paramsAndValues) throws GraphQLRequestExecutionException This method registers a subscription, by executing a direct partial objectsWithInput subscription against the GraphQL server. This subscription is one of the fields defined in the GraphQL subscription object. The queryResponseDef contains the part of the subscription that is after the subscription name (see the sample below), for instance "{id name}" if you want these two fields to be sent in the notifications you'll receive for this subscription.
You must also provide a callback instance that will be called each time a message or an error is sent by this subscribed subscription. As the plugin limits the actual subscriptions at one par call (one field from the TheSubscriptionType GraphQL type), it allows the deserialization of this exact field. So the callback is expected to be an instance ofSubscriptionCallback
, as theTheSubscriptionType.objectsWithInput
is of typeCTP_TypeWithObject_CTS
. Here is a sample on how to use it:- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestAllGraphQLCases POJO, as returned by thegetObjectsWithInputGraphQLRequest(java.lang.String)
method.subscriptionCallback
- The instance that will be called for each notification (message or error) received for this subscription.
It's an instance ofSubscriptionCallback
<clazz>, whereclazz
is the objectsWithInput subscription field.input
- Parameter for the objectsWithInput field of TheSubscriptionType, as defined in the GraphQL schemaparamsAndValues
- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters. It must be a series of name and values, like : paramName1, paramValue1, paramName2, paramValue2...- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getObjectsWithInputResponseBuilder
Get theBuilder
for the CTP_TypeWithObject_CTS, as expected by the objectsWithInput subscription.- Returns:
- Throws:
GraphQLRequestPreparationException
-
getObjectsWithInputGraphQLRequest
public GraphQLRequestAllGraphQLCases getObjectsWithInputGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Get theGraphQLRequestAllGraphQLCases
for the objectsWithInput EXECUTOR, created with the given Partial request.- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-