Class Mutation
java.lang.Object
com.graphql_java_generator.domain.client.forum.MutationExecutorMySchema
com.graphql_java_generator.domain.client.forum.Mutation
- All Implemented Interfaces:
GraphQLMutationExecutor,GraphQLRequestObject
- Direct Known Subclasses:
MutationResponse
This class contains the response for a full request. See the
plugin web site
for more information on full and partial requests.
It also allows access to the _extensions_ part of the response. Take a look at the GraphQL spec for more information on this.
It also allows access to the _extensions_ part of the response. Take a look at the GraphQL spec for more information on this.
- Author:
- generated by graphql-java-generator
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThe Builder that helps building instance of this POJO. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription__typename(ObjectResponse objectResponse, Object... paramsAndValues) Deprecated.__typename(String queryResponseDef, Object... paramsAndValues) Deprecated.__typenameWithBindValues(ObjectResponse objectResponse, Map<String, Object> parameters) Deprecated.__typenameWithBindValues(String queryResponseDef, Map<String, Object> parameters) Deprecated.static Mutation.Builderbuilder()createBoard(ObjectResponse objectResponse, String name, Boolean publiclyAvailable, Object... paramsAndValues) Deprecated.createBoard(String queryResponseDef, String name, Boolean publiclyAvailable, Object... paramsAndValues) Deprecated.createBoardWithBindValues(ObjectResponse objectResponse, String name, Boolean publiclyAvailable, Map<String, Object> parameters) Deprecated.createBoardWithBindValues(String queryResponseDef, String name, Boolean publiclyAvailable, Map<String, Object> parameters) Deprecated.createMember(ObjectResponse objectResponse, MemberInput input, Object... paramsAndValues) Deprecated.createMember(String queryResponseDef, MemberInput input, Object... paramsAndValues) Deprecated.createMemberWithBindValues(ObjectResponse objectResponse, MemberInput input, Map<String, Object> parameters) Deprecated.createMemberWithBindValues(String queryResponseDef, MemberInput input, Map<String, Object> parameters) Deprecated.createPost(ObjectResponse objectResponse, PostInput post, Object... paramsAndValues) Deprecated.createPost(String queryResponseDef, PostInput post, Object... paramsAndValues) Deprecated.createPosts(ObjectResponse objectResponse, List<PostInput> spam, Object... paramsAndValues) Deprecated.createPosts(String queryResponseDef, List<PostInput> spam, Object... paramsAndValues) Deprecated.createPostsWithBindValues(ObjectResponse objectResponse, List<PostInput> spam, Map<String, Object> parameters) Deprecated.createPostsWithBindValues(String queryResponseDef, List<PostInput> spam, Map<String, Object> parameters) Deprecated.createPostWithBindValues(ObjectResponse objectResponse, PostInput post, Map<String, Object> parameters) Deprecated.Deprecated.createTopic(ObjectResponse objectResponse, TopicInput topic, Object... paramsAndValues) Deprecated.createTopic(String queryResponseDef, TopicInput topic, Object... paramsAndValues) Deprecated.createTopicWithBindValues(ObjectResponse objectResponse, TopicInput topic, Map<String, Object> parameters) Deprecated.createTopicWithBindValues(String queryResponseDef, TopicInput topic, Map<String, Object> parameters) Deprecated.exec(ObjectResponse objectResponse, Object... paramsAndValues) Deprecated.Deprecated.execWithBindValues(ObjectResponse objectResponse, Map<String, Object> parameters) Deprecated.execWithBindValues(String queryResponseDef, Map<String, Object> parameters) Deprecated.get__typenameGraphQLRequest(String partialRequest) Deprecated.Deprecated.getAliasValue(String alias) Retrieves the value for the given alias, as it has been received for this object in the GraphQL response.getCreateBoardGraphQLRequest(String partialRequest) Deprecated.Deprecated.getCreateMemberGraphQLRequest(String partialRequest) Deprecated.Deprecated.getCreatePostGraphQLRequest(String partialRequest) Deprecated.Deprecated.getCreatePostsGraphQLRequest(String partialRequest) Deprecated.Deprecated.getCreateTopicGraphQLRequest(String partialRequest) Deprecated.Deprecated.com.fasterxml.jackson.databind.JsonNodeReturns the extensions as a map.<T> TgetExtensionsField(String key, Class<T> t) Parse the value for the given _key_, as found in the extensions field of the GraphQL server's response, into the given _t_ class.getGraphQLRequest(String fullRequest) Deprecated.Deprecated.voidset__typename(String __typename) voidsetAliasValue(String aliasName, Object aliasDeserializedValue) This method is called during the json deserialization process, by theGraphQLObjectMapper, each time an alias value is read from the json.voidsetCreateBoard(Board createBoard) voidsetCreateMember(Member createMember) voidsetCreatePost(Post createPost) voidsetCreatePosts(List<Post> createPosts) voidsetCreateTopic(Topic createTopic) voidsetExtensions(com.fasterxml.jackson.databind.JsonNode extensions) toString()
-
Constructor Details
-
Mutation
public Mutation()
-
-
Method Details
-
setCreateBoard
-
getCreateBoard
-
setCreateTopic
-
getCreateTopic
-
setCreatePost
-
getCreatePost
-
setCreatePosts
-
getCreatePosts
-
setCreateMember
-
getCreateMember
-
set__typename
-
get__typename
-
setAliasValue
This method is called during the json deserialization process, by theGraphQLObjectMapper, each time an alias value is read from the json.- Parameters:
aliasName-aliasDeserializedValue-
-
getAliasValue
Retrieves the value for the given alias, as it has been received for this object in the GraphQL response.
This method should not be used for Custom Scalars, as the parser doesn't know if this alias is a custom scalar, and which custom scalar to use at deserialization time. In most case, a value will then be provided by this method with a basis json deserialization, but this value won't be the proper custom scalar value.- Parameters:
alias-- Returns:
-
toString
-
builder
-
getExtensions
public com.fasterxml.jackson.databind.JsonNode getExtensions() -
setExtensions
public void setExtensions(com.fasterxml.jackson.databind.JsonNode extensions) - Specified by:
setExtensionsin interfaceGraphQLRequestObject
-
getExtensionsAsMap
Returns the extensions as a map. The values can't be deserialized, as their type is unknown.- Returns:
-
getExtensionsField
public <T> T getExtensionsField(String key, Class<T> t) throws com.fasterxml.jackson.core.JsonProcessingException Parse the value for the given _key_, as found in the extensions field of the GraphQL server's response, into the given _t_ class.- Type Parameters:
T-- Parameters:
key-t-- Returns:
- null if the key is not in the extensions map. Otherwise: the value for this _key_, as a _t_ instance
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- When there is an error when converting the key's value into the _t_ class
-
execWithBindValues
@Deprecated public MutationResponse execWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionDeprecated.This method is deprecated: please useMutationExecutorclass instead of this class, to execute this method. It is maintained to keep existing code compatible with the generated code. It will be removed in 2.0 version.- Overrides:
execWithBindValuesin classMutationExecutorMySchema- Parameters:
queryResponseDef- The response definition of the mutation, in the native GraphQL format (see here above). It must ommit the query/mutation/subscription keyword, and start by the first { that follows.It may contain directives, as explained in the GraphQL specs.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 aDatefor theGraphQLScalarTypeDate). The parameters which value is missing in this map will no be transmitted toward the GraphQL server.- 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 parsedGraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponse
-
exec
@Deprecated public MutationResponse exec(String queryResponseDef, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException Deprecated.This method is deprecated: please useMutationExecutorclass instead of this class, to execute this method. It is maintained to keep existing code compatible with the generated code. It will be removed in 2.0 version.- Overrides:
execin classMutationExecutorMySchema- Parameters:
queryResponseDef- The response definition of the query, in the native GraphQL format (see here above). It must ommit the query/mutation/subscription keyword, and start by the first { that follows.It may contain directives, as explained in the GraphQL specs.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...)- 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 parsedGraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponse
-
execWithBindValues
@Deprecated public MutationResponse execWithBindValues(ObjectResponse objectResponse, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionDeprecated.This method is deprecated: please useMutationExecutorclass instead of this class, to execute this method. It is maintained to keep existing code compatible with the generated code. It will be removed in 2.0 version.- Overrides:
execWithBindValuesin classMutationExecutorMySchema- Parameters:
objectResponse- The definition of the response format, that describes what the GraphQL server is expected to returnparameters- The list 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- 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
@Deprecated public MutationResponse exec(ObjectResponse objectResponse, Object... paramsAndValues) throws GraphQLRequestExecutionException Deprecated.This method is deprecated: please useMutationExecutorclass instead of this class, to execute this method. It is maintained to keep existing code compatible with the generated code. It will be removed in 2.0 version.- Overrides:
execin classMutationExecutorMySchema- Parameters:
objectResponse- The definition of the response format, that describes what the GraphQL server is expected to returnparamsAndValues- 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...)- 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
Deprecated.This method is deprecated: please useMutationExecutorclass instead of this class, to execute this method. It is maintained to keep existing code compatible with the generated code. It will be removed in 2.0 version.- Overrides:
getResponseBuilderin classMutationExecutorMySchema- Returns:
- Throws:
GraphQLRequestPreparationException
-
getGraphQLRequest
@Deprecated public GraphQLRequest getGraphQLRequest(String fullRequest) throws GraphQLRequestPreparationException Deprecated.This method is deprecated: please useMutationExecutorclass instead of this class, to execute this method. It is maintained to keep existing code compatible with the generated code. It will be removed in 2.0 version.- Overrides:
getGraphQLRequestin classMutationExecutorMySchema- Parameters:
fullRequest- The full GraphQLRequest, as specified in the GraphQL specification- Returns:
- Throws:
GraphQLRequestPreparationException
-
createBoardWithBindValues
@Deprecated public Board createBoardWithBindValues(String queryResponseDef, String name, Boolean publiclyAvailable, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionDeprecated.This method is deprecated: please useMutationExecutorclass instead of this class, to execute this method. It is maintained to keep existing code compatible with the generated code. It will be removed in 2.0 version.- Overrides:
createBoardWithBindValuesin classMutationExecutorMySchema- Parameters:
queryResponseDef- The response definition of the query, in the native GraphQL format (see here above)name- Parameter for the createBoard field of Mutation, as defined in the GraphQL schemapubliclyAvailable- Parameter for the createBoard field of Mutation, as defined in the GraphQL schemaparameters- The list 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- 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 parsedGraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponse
-
createBoard
@Deprecated public Board createBoard(String queryResponseDef, String name, Boolean publiclyAvailable, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException Deprecated.This method is deprecated: please useMutationExecutorclass instead of this class, to execute this method. It is maintained to keep existing code compatible with the generated code. It will be removed in 2.0 version.- Overrides:
createBoardin classMutationExecutorMySchema- Parameters:
queryResponseDef- The response definition of the query, in the native GraphQL format (see here above)name- Parameter for the createBoard field of Mutation, as defined in the GraphQL schemapubliclyAvailable- Parameter for the createBoard field of Mutation, as defined in the GraphQL schema- 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 parsedGraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponse
-
createBoardWithBindValues
@Deprecated public Board createBoardWithBindValues(ObjectResponse objectResponse, String name, Boolean publiclyAvailable, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionDeprecated.This method is deprecated: please useMutationExecutorclass instead of this class, to execute this method. It is maintained to keep existing code compatible with the generated code. It will be removed in 2.0 version.- Overrides:
createBoardWithBindValuesin classMutationExecutorMySchema- Parameters:
objectResponse- The definition of the response format, that describes what the GraphQL server is expected to returnname- Parameter for the createBoard field of Mutation, as defined in the GraphQL schemapubliclyAvailable- Parameter for the createBoard field of Mutation, as defined in the GraphQL schemaparameters- The list 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- 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
-
createBoard
@Deprecated public Board createBoard(ObjectResponse objectResponse, String name, Boolean publiclyAvailable, Object... paramsAndValues) throws GraphQLRequestExecutionException Deprecated.This method is deprecated: please useMutationExecutorclass instead of this class, to execute this method. It is maintained to keep existing code compatible with the generated code. It will be removed in 2.0 version.- Overrides:
createBoardin classMutationExecutorMySchema- Parameters:
objectResponse- The definition of the response format, that describes what the GraphQL server is expected to returnname- Parameter for the createBoard field of Mutation, as defined in the GraphQL schemapubliclyAvailable- Parameter for the createBoard field of Mutation, 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 : (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
-
getCreateBoardResponseBuilder
@Deprecated public Builder getCreateBoardResponseBuilder() throws GraphQLRequestPreparationExceptionDeprecated.This method is deprecated: please useMutationExecutorclass instead of this class, to execute this method. It is maintained to keep existing code compatible with the generated code. It will be removed in 2.0 version.- Overrides:
getCreateBoardResponseBuilderin classMutationExecutorMySchema- Returns:
- Throws:
GraphQLRequestPreparationException
-
getCreateBoardGraphQLRequest
@Deprecated public GraphQLRequest getCreateBoardGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Deprecated.This method is deprecated: please useMutationExecutorclass instead of this class, to execute this method. It is maintained to keep existing code compatible with the generated code. It will be removed in 2.0 version.- Overrides:
getCreateBoardGraphQLRequestin classMutationExecutorMySchema- Parameters:
partialRequest- The Partial GraphQLRequest, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
createTopicWithBindValues
@Deprecated public Topic createTopicWithBindValues(String queryResponseDef, TopicInput topic, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionDeprecated.This method is deprecated: please useMutationExecutorclass instead of this class, to execute this method. It is maintained to keep existing code compatible with the generated code. It will be removed in 2.0 version.- Overrides:
createTopicWithBindValuesin classMutationExecutorMySchema- Parameters:
queryResponseDef- The response definition of the query, in the native GraphQL format (see here above)topic- Parameter for the createTopic field of Mutation, as defined in the GraphQL schemaparameters- The list 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- 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 parsedGraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponse
-
createTopic
@Deprecated public Topic createTopic(String queryResponseDef, TopicInput topic, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException Deprecated.This method is deprecated: please useMutationExecutorclass instead of this class, to execute this method. It is maintained to keep existing code compatible with the generated code. It will be removed in 2.0 version.- Overrides:
createTopicin classMutationExecutorMySchema- Parameters:
queryResponseDef- The response definition of the query, in the native GraphQL format (see here above)topic- Parameter for the createTopic field of Mutation, as defined in the GraphQL schema- 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 parsedGraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponse
-
createTopicWithBindValues
@Deprecated public Topic createTopicWithBindValues(ObjectResponse objectResponse, TopicInput topic, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionDeprecated.This method is deprecated: please useMutationExecutorclass instead of this class, to execute this method. It is maintained to keep existing code compatible with the generated code. It will be removed in 2.0 version.- Overrides:
createTopicWithBindValuesin classMutationExecutorMySchema- Parameters:
objectResponse- The definition of the response format, that describes what the GraphQL server is expected to returntopic- Parameter for the createTopic field of Mutation, as defined in the GraphQL schemaparameters- The list 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- 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
-
createTopic
@Deprecated public Topic createTopic(ObjectResponse objectResponse, TopicInput topic, Object... paramsAndValues) throws GraphQLRequestExecutionException Deprecated.This method is deprecated: please useMutationExecutorclass instead of this class, to execute this method. It is maintained to keep existing code compatible with the generated code. It will be removed in 2.0 version.- Overrides:
createTopicin classMutationExecutorMySchema- Parameters:
objectResponse- The definition of the response format, that describes what the GraphQL server is expected to returntopic- Parameter for the createTopic field of Mutation, 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 : (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
-
getCreateTopicResponseBuilder
@Deprecated public Builder getCreateTopicResponseBuilder() throws GraphQLRequestPreparationExceptionDeprecated.This method is deprecated: please useMutationExecutorclass instead of this class, to execute this method. It is maintained to keep existing code compatible with the generated code. It will be removed in 2.0 version.- Overrides:
getCreateTopicResponseBuilderin classMutationExecutorMySchema- Returns:
- Throws:
GraphQLRequestPreparationException
-
getCreateTopicGraphQLRequest
@Deprecated public GraphQLRequest getCreateTopicGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Deprecated.This method is deprecated: please useMutationExecutorclass instead of this class, to execute this method. It is maintained to keep existing code compatible with the generated code. It will be removed in 2.0 version.- Overrides:
getCreateTopicGraphQLRequestin classMutationExecutorMySchema- Parameters:
partialRequest- The Partial GraphQLRequest, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
createPostWithBindValues
@Deprecated public Post createPostWithBindValues(String queryResponseDef, PostInput post, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionDeprecated.This method is deprecated: please useMutationExecutorclass instead of this class, to execute this method. It is maintained to keep existing code compatible with the generated code. It will be removed in 2.0 version.- Overrides:
createPostWithBindValuesin classMutationExecutorMySchema- Parameters:
queryResponseDef- The response definition of the query, in the native GraphQL format (see here above)post- Parameter for the createPost field of Mutation, as defined in the GraphQL schemaparameters- The list 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- 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 parsedGraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponse
-
createPost
@Deprecated public Post createPost(String queryResponseDef, PostInput post, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException Deprecated.This method is deprecated: please useMutationExecutorclass instead of this class, to execute this method. It is maintained to keep existing code compatible with the generated code. It will be removed in 2.0 version.- Overrides:
createPostin classMutationExecutorMySchema- Parameters:
queryResponseDef- The response definition of the query, in the native GraphQL format (see here above)post- Parameter for the createPost field of Mutation, as defined in the GraphQL schema- 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 parsedGraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponse
-
createPostWithBindValues
@Deprecated public Post createPostWithBindValues(ObjectResponse objectResponse, PostInput post, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionDeprecated.This method is deprecated: please useMutationExecutorclass instead of this class, to execute this method. It is maintained to keep existing code compatible with the generated code. It will be removed in 2.0 version.- Overrides:
createPostWithBindValuesin classMutationExecutorMySchema- Parameters:
objectResponse- The definition of the response format, that describes what the GraphQL server is expected to returnpost- Parameter for the createPost field of Mutation, as defined in the GraphQL schemaparameters- The list 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- 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
-
createPost
@Deprecated public Post createPost(ObjectResponse objectResponse, PostInput post, Object... paramsAndValues) throws GraphQLRequestExecutionException Deprecated.This method is deprecated: please useMutationExecutorclass instead of this class, to execute this method. It is maintained to keep existing code compatible with the generated code. It will be removed in 2.0 version.- Overrides:
createPostin classMutationExecutorMySchema- Parameters:
objectResponse- The definition of the response format, that describes what the GraphQL server is expected to returnpost- Parameter for the createPost field of Mutation, 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 : (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
-
getCreatePostResponseBuilder
Deprecated.This method is deprecated: please useMutationExecutorclass instead of this class, to execute this method. It is maintained to keep existing code compatible with the generated code. It will be removed in 2.0 version.- Overrides:
getCreatePostResponseBuilderin classMutationExecutorMySchema- Returns:
- Throws:
GraphQLRequestPreparationException
-
getCreatePostGraphQLRequest
@Deprecated public GraphQLRequest getCreatePostGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Deprecated.This method is deprecated: please useMutationExecutorclass instead of this class, to execute this method. It is maintained to keep existing code compatible with the generated code. It will be removed in 2.0 version.- Overrides:
getCreatePostGraphQLRequestin classMutationExecutorMySchema- Parameters:
partialRequest- The Partial GraphQLRequest, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
createPostsWithBindValues
@Deprecated public List<Post> createPostsWithBindValues(String queryResponseDef, List<PostInput> spam, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionDeprecated.This method is deprecated: please useMutationExecutorclass instead of this class, to execute this method. It is maintained to keep existing code compatible with the generated code. It will be removed in 2.0 version.- Overrides:
createPostsWithBindValuesin classMutationExecutorMySchema- Parameters:
queryResponseDef- The response definition of the query, in the native GraphQL format (see here above)spam- Parameter for the createPosts field of Mutation, as defined in the GraphQL schemaparameters- The list 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- 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 parsedGraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponse
-
createPosts
@Deprecated public List<Post> createPosts(String queryResponseDef, List<PostInput> spam, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException Deprecated.This method is deprecated: please useMutationExecutorclass instead of this class, to execute this method. It is maintained to keep existing code compatible with the generated code. It will be removed in 2.0 version.- Overrides:
createPostsin classMutationExecutorMySchema- Parameters:
queryResponseDef- The response definition of the query, in the native GraphQL format (see here above)spam- Parameter for the createPosts field of Mutation, as defined in the GraphQL schema- 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 parsedGraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponse
-
createPostsWithBindValues
@Deprecated public List<Post> createPostsWithBindValues(ObjectResponse objectResponse, List<PostInput> spam, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionDeprecated.This method is deprecated: please useMutationExecutorclass instead of this class, to execute this method. It is maintained to keep existing code compatible with the generated code. It will be removed in 2.0 version.- Overrides:
createPostsWithBindValuesin classMutationExecutorMySchema- Parameters:
objectResponse- The definition of the response format, that describes what the GraphQL server is expected to returnspam- Parameter for the createPosts field of Mutation, as defined in the GraphQL schemaparameters- The list 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- 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
-
createPosts
@Deprecated public List<Post> createPosts(ObjectResponse objectResponse, List<PostInput> spam, Object... paramsAndValues) throws GraphQLRequestExecutionException Deprecated.This method is deprecated: please useMutationExecutorclass instead of this class, to execute this method. It is maintained to keep existing code compatible with the generated code. It will be removed in 2.0 version.- Overrides:
createPostsin classMutationExecutorMySchema- Parameters:
objectResponse- The definition of the response format, that describes what the GraphQL server is expected to returnspam- Parameter for the createPosts field of Mutation, 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 : (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
-
getCreatePostsResponseBuilder
@Deprecated public Builder getCreatePostsResponseBuilder() throws GraphQLRequestPreparationExceptionDeprecated.This method is deprecated: please useMutationExecutorclass instead of this class, to execute this method. It is maintained to keep existing code compatible with the generated code. It will be removed in 2.0 version.- Overrides:
getCreatePostsResponseBuilderin classMutationExecutorMySchema- Returns:
- Throws:
GraphQLRequestPreparationException
-
getCreatePostsGraphQLRequest
@Deprecated public GraphQLRequest getCreatePostsGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Deprecated.This method is deprecated: please useMutationExecutorclass instead of this class, to execute this method. It is maintained to keep existing code compatible with the generated code. It will be removed in 2.0 version.- Overrides:
getCreatePostsGraphQLRequestin classMutationExecutorMySchema- Parameters:
partialRequest- The Partial GraphQLRequest, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
createMemberWithBindValues
@Deprecated public Member createMemberWithBindValues(String queryResponseDef, MemberInput input, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionDeprecated.This method is deprecated: please useMutationExecutorclass instead of this class, to execute this method. It is maintained to keep existing code compatible with the generated code. It will be removed in 2.0 version.- Overrides:
createMemberWithBindValuesin classMutationExecutorMySchema- Parameters:
queryResponseDef- The response definition of the query, in the native GraphQL format (see here above)input- Parameter for the createMember field of Mutation, as defined in the GraphQL schemaparameters- The list 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- 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 parsedGraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponse
-
createMember
@Deprecated public Member createMember(String queryResponseDef, MemberInput input, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException Deprecated.This method is deprecated: please useMutationExecutorclass instead of this class, to execute this method. It is maintained to keep existing code compatible with the generated code. It will be removed in 2.0 version.- Overrides:
createMemberin classMutationExecutorMySchema- Parameters:
queryResponseDef- The response definition of the query, in the native GraphQL format (see here above)input- Parameter for the createMember field of Mutation, as defined in the GraphQL schema- 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 parsedGraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponse
-
createMemberWithBindValues
@Deprecated public Member createMemberWithBindValues(ObjectResponse objectResponse, MemberInput input, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionDeprecated.This method is deprecated: please useMutationExecutorclass instead of this class, to execute this method. It is maintained to keep existing code compatible with the generated code. It will be removed in 2.0 version.- Overrides:
createMemberWithBindValuesin classMutationExecutorMySchema- Parameters:
objectResponse- The definition of the response format, that describes what the GraphQL server is expected to returninput- Parameter for the createMember field of Mutation, as defined in the GraphQL schemaparameters- The list 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- 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
-
createMember
@Deprecated public Member createMember(ObjectResponse objectResponse, MemberInput input, Object... paramsAndValues) throws GraphQLRequestExecutionException Deprecated.This method is deprecated: please useMutationExecutorclass instead of this class, to execute this method. It is maintained to keep existing code compatible with the generated code. It will be removed in 2.0 version.- Overrides:
createMemberin classMutationExecutorMySchema- Parameters:
objectResponse- The definition of the response format, that describes what the GraphQL server is expected to returninput- Parameter for the createMember field of Mutation, 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 : (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
-
getCreateMemberResponseBuilder
@Deprecated public Builder getCreateMemberResponseBuilder() throws GraphQLRequestPreparationExceptionDeprecated.This method is deprecated: please useMutationExecutorclass instead of this class, to execute this method. It is maintained to keep existing code compatible with the generated code. It will be removed in 2.0 version.- Overrides:
getCreateMemberResponseBuilderin classMutationExecutorMySchema- Returns:
- Throws:
GraphQLRequestPreparationException
-
getCreateMemberGraphQLRequest
@Deprecated public GraphQLRequest getCreateMemberGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Deprecated.This method is deprecated: please useMutationExecutorclass instead of this class, to execute this method. It is maintained to keep existing code compatible with the generated code. It will be removed in 2.0 version.- Overrides:
getCreateMemberGraphQLRequestin classMutationExecutorMySchema- Parameters:
partialRequest- The Partial GraphQLRequest, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
__typenameWithBindValues
@Deprecated public String __typenameWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionDeprecated.This method is deprecated: please useMutationExecutorclass instead of this class, to execute this method. It is maintained to keep existing code compatible with the generated code. It will be removed in 2.0 version.- Overrides:
__typenameWithBindValuesin classMutationExecutorMySchema- Parameters:
queryResponseDef- The response definition of the query, in the native GraphQL format (see here above)parameters- The list 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- 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 parsedGraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponse
-
__typename
@Deprecated public String __typename(String queryResponseDef, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException Deprecated.This method is deprecated: please useMutationExecutorclass instead of this class, to execute this method. It is maintained to keep existing code compatible with the generated code. It will be removed in 2.0 version.- Overrides:
__typenamein classMutationExecutorMySchema- Parameters:
queryResponseDef- The response definition of the query, in the native GraphQL format (see here above)- 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 parsedGraphQLRequestPreparationException- When an error occurs during the request preparation, typically when building theObjectResponse
-
__typenameWithBindValues
@Deprecated public String __typenameWithBindValues(ObjectResponse objectResponse, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionDeprecated.This method is deprecated: please useMutationExecutorclass instead of this class, to execute this method. It is maintained to keep existing code compatible with the generated code. It will be removed in 2.0 version.- Overrides:
__typenameWithBindValuesin classMutationExecutorMySchema- Parameters:
objectResponse- The definition of the response format, that describes what the GraphQL server is expected to returnparameters- The list 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- 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
-
__typename
@Deprecated public String __typename(ObjectResponse objectResponse, Object... paramsAndValues) throws GraphQLRequestExecutionException Deprecated.This method is deprecated: please useMutationExecutorclass instead of this class, to execute this method. It is maintained to keep existing code compatible with the generated code. It will be removed in 2.0 version.- Overrides:
__typenamein classMutationExecutorMySchema- Parameters:
objectResponse- The definition of the response format, that describes what the GraphQL server is expected to returnparamsAndValues- 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...)- 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
-
get__typenameResponseBuilder
Deprecated.This method is deprecated: please useMutationExecutorclass instead of this class, to execute this method. It is maintained to keep existing code compatible with the generated code. It will be removed in 2.0 version.- Overrides:
get__typenameResponseBuilderin classMutationExecutorMySchema- Returns:
- Throws:
GraphQLRequestPreparationException
-
get__typenameGraphQLRequest
@Deprecated public GraphQLRequest get__typenameGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Deprecated.This method is deprecated: please useMutationExecutorclass instead of this class, to execute this method. It is maintained to keep existing code compatible with the generated code. It will be removed in 2.0 version.- Overrides:
get__typenameGraphQLRequestin classMutationExecutorMySchema- Parameters:
partialRequest- The Partial GraphQLRequest, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-