Package org.forum.client
Class Mutation
java.lang.Object
org.forum.client.MutationExecutorForum
org.forum.client.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
Modifier and TypeClassDescriptionstatic class
The Builder that helps building instance of this POJO. -
Field Summary
Modifier and TypeFieldDescriptionboolean
The field below is the only change from the original template. -
Constructor Summary
-
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.Builder
builder()
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.JsonNode
Returns the extensions as a map.<T> T
getExtensionsField
(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.void
set__typename
(String __typename) void
setAliasValue
(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.void
setCreateBoard
(Board createBoard) void
setCreateMember
(Member createMember) void
setCreatePost
(Post createPost) void
setCreatePosts
(List<Post> createPosts) void
setCreateTopic
(Topic createTopic) void
setExtensions
(com.fasterxml.jackson.databind.JsonNode extensions) toString()
-
Field Details
-
thisIsADummyFieldToCheckThatThisTemplateIsUsed
public boolean thisIsADummyFieldToCheckThatThisTemplateIsUsedThe field below is the only change from the original template. It is here only to check that this template is actually used
-
-
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:
setExtensions
in 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 useMutationExecutor
class 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:
execWithBindValues
in classMutationExecutorForum
- Parameters:
queryResponseDef
- The response definition of the mutation, in the native GraphQL format (see here above). It must omit the mutation 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 declared in the request you defined. 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 declared in the request you defined (in the above sample: param is an optional parameter and skip is a mandatory one). The value is the parameter value in its Java type (for instance aDate
for theGraphQLScalarTypeDate
). The parameters which value is missing in this map will be ignored.- 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 useMutationExecutor
class 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:
exec
in classMutationExecutorForum
- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above). It must omit the mutation 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 useMutationExecutor
class 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:
execWithBindValues
in classMutationExecutorForum
- 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 GraphQLRequestForum POJO, as returned by theMutationExecutorForum.getGraphQLRequest(java.lang.String)
method or one of thegetXxxxGraphQLRequest(String)
methods.parameters
- The list of values, for the bind variables declared in the request you defined. 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 useMutationExecutor
class 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:
exec
in classMutationExecutorForum
- 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 GraphQLRequestForum POJO, as returned by theMutationExecutorForum.getGraphQLRequest(java.lang.String)
method or one of thegetXxxxGraphQLRequest(String)
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 parsed
-
getResponseBuilder
Deprecated.This method is deprecated: please useMutationExecutor
class 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:
getResponseBuilder
in classMutationExecutorForum
- Returns:
- Throws:
GraphQLRequestPreparationException
-
getGraphQLRequest
@Deprecated public GraphQLRequestForum getGraphQLRequest(String fullRequest) throws GraphQLRequestPreparationException Deprecated.This method is deprecated: please useMutationExecutor
class 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:
getGraphQLRequest
in classMutationExecutorForum
- Parameters:
fullRequest
- The full GraphQL Request, 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 useMutationExecutor
class 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:
createBoardWithBindValues
in classMutationExecutorForum
- 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 declared in the request you defined. 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 useMutationExecutor
class 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:
createBoard
in classMutationExecutorForum
- 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 useMutationExecutor
class 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:
createBoardWithBindValues
in classMutationExecutorForum
- 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 GraphQLRequestForum POJO, as returned by theMutationExecutorForum.getCreateBoardGraphQLRequest(java.lang.String)
method.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 declared in the request you defined. 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 useMutationExecutor
class 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:
createBoard
in classMutationExecutorForum
- 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 GraphQLRequestForum POJO, as returned by theMutationExecutorForum.getCreateBoardGraphQLRequest(java.lang.String)
method.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 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 useMutationExecutor
class 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:
getCreateBoardResponseBuilder
in classMutationExecutorForum
- Returns:
- Throws:
GraphQLRequestPreparationException
-
getCreateBoardGraphQLRequest
@Deprecated public GraphQLRequestForum getCreateBoardGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Deprecated.This method is deprecated: please useMutationExecutor
class 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:
getCreateBoardGraphQLRequest
in classMutationExecutorForum
- Parameters:
partialRequest
- The Partial GraphQL request, 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 useMutationExecutor
class 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:
createTopicWithBindValues
in classMutationExecutorForum
- 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 declared in the request you defined. 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 useMutationExecutor
class 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:
createTopic
in classMutationExecutorForum
- 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 useMutationExecutor
class 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:
createTopicWithBindValues
in classMutationExecutorForum
- 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 GraphQLRequestForum POJO, as returned by theMutationExecutorForum.getCreateTopicGraphQLRequest(java.lang.String)
method.topic
- Parameter for the createTopic field of Mutation, as defined in the GraphQL schemaparameters
- The list of values, for the bind variables declared in the request you defined. 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 useMutationExecutor
class 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:
createTopic
in classMutationExecutorForum
- 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 GraphQLRequestForum POJO, as returned by theMutationExecutorForum.getCreateTopicGraphQLRequest(java.lang.String)
method.topic
- 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 useMutationExecutor
class 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:
getCreateTopicResponseBuilder
in classMutationExecutorForum
- Returns:
- Throws:
GraphQLRequestPreparationException
-
getCreateTopicGraphQLRequest
@Deprecated public GraphQLRequestForum getCreateTopicGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Deprecated.This method is deprecated: please useMutationExecutor
class 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:
getCreateTopicGraphQLRequest
in classMutationExecutorForum
- Parameters:
partialRequest
- The Partial GraphQL request, 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 useMutationExecutor
class 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:
createPostWithBindValues
in classMutationExecutorForum
- 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 declared in the request you defined. 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 useMutationExecutor
class 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:
createPost
in classMutationExecutorForum
- 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 useMutationExecutor
class 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:
createPostWithBindValues
in classMutationExecutorForum
- 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 GraphQLRequestForum POJO, as returned by theMutationExecutorForum.getCreatePostGraphQLRequest(java.lang.String)
method.post
- Parameter for the createPost field of Mutation, as defined in the GraphQL schemaparameters
- The list of values, for the bind variables declared in the request you defined. 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 useMutationExecutor
class 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:
createPost
in classMutationExecutorForum
- 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 GraphQLRequestForum POJO, as returned by theMutationExecutorForum.getCreatePostGraphQLRequest(java.lang.String)
method.post
- 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 useMutationExecutor
class 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:
getCreatePostResponseBuilder
in classMutationExecutorForum
- Returns:
- Throws:
GraphQLRequestPreparationException
-
getCreatePostGraphQLRequest
@Deprecated public GraphQLRequestForum getCreatePostGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Deprecated.This method is deprecated: please useMutationExecutor
class 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:
getCreatePostGraphQLRequest
in classMutationExecutorForum
- Parameters:
partialRequest
- The Partial GraphQL request, 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 useMutationExecutor
class 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:
createPostsWithBindValues
in classMutationExecutorForum
- 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 declared in the request you defined. 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 useMutationExecutor
class 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:
createPosts
in classMutationExecutorForum
- 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 useMutationExecutor
class 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:
createPostsWithBindValues
in classMutationExecutorForum
- 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 GraphQLRequestForum POJO, as returned by theMutationExecutorForum.getCreatePostsGraphQLRequest(java.lang.String)
method.spam
- Parameter for the createPosts field of Mutation, as defined in the GraphQL schemaparameters
- The list of values, for the bind variables declared in the request you defined. 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 useMutationExecutor
class 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:
createPosts
in classMutationExecutorForum
- 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 GraphQLRequestForum POJO, as returned by theMutationExecutorForum.getCreatePostsGraphQLRequest(java.lang.String)
method.spam
- 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 useMutationExecutor
class 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:
getCreatePostsResponseBuilder
in classMutationExecutorForum
- Returns:
- Throws:
GraphQLRequestPreparationException
-
getCreatePostsGraphQLRequest
@Deprecated public GraphQLRequestForum getCreatePostsGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Deprecated.This method is deprecated: please useMutationExecutor
class 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:
getCreatePostsGraphQLRequest
in classMutationExecutorForum
- Parameters:
partialRequest
- The Partial GraphQL request, 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 useMutationExecutor
class 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:
createMemberWithBindValues
in classMutationExecutorForum
- 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 declared in the request you defined. 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 useMutationExecutor
class 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:
createMember
in classMutationExecutorForum
- 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 useMutationExecutor
class 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:
createMemberWithBindValues
in classMutationExecutorForum
- 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 GraphQLRequestForum POJO, as returned by theMutationExecutorForum.getCreateMemberGraphQLRequest(java.lang.String)
method.input
- Parameter for the createMember field of Mutation, as defined in the GraphQL schemaparameters
- The list of values, for the bind variables declared in the request you defined. 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 useMutationExecutor
class 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:
createMember
in classMutationExecutorForum
- 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 GraphQLRequestForum POJO, as returned by theMutationExecutorForum.getCreateMemberGraphQLRequest(java.lang.String)
method.input
- 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 useMutationExecutor
class 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:
getCreateMemberResponseBuilder
in classMutationExecutorForum
- Returns:
- Throws:
GraphQLRequestPreparationException
-
getCreateMemberGraphQLRequest
@Deprecated public GraphQLRequestForum getCreateMemberGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Deprecated.This method is deprecated: please useMutationExecutor
class 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:
getCreateMemberGraphQLRequest
in classMutationExecutorForum
- Parameters:
partialRequest
- The Partial GraphQL request, 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 useMutationExecutor
class 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:
__typenameWithBindValues
in classMutationExecutorForum
- 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 declared in the request you defined. 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 useMutationExecutor
class 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:
__typename
in classMutationExecutorForum
- 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 useMutationExecutor
class 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:
__typenameWithBindValues
in classMutationExecutorForum
- 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 GraphQLRequestForum POJO, as returned by theMutationExecutorForum.get__typenameGraphQLRequest(java.lang.String)
method.parameters
- The list of values, for the bind variables declared in the request you defined. 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 useMutationExecutor
class 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:
__typename
in classMutationExecutorForum
- 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 GraphQLRequestForum POJO, as returned by theMutationExecutorForum.get__typenameGraphQLRequest(java.lang.String)
method.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 parsed
-
get__typenameResponseBuilder
Deprecated.This method is deprecated: please useMutationExecutor
class 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__typenameResponseBuilder
in classMutationExecutorForum
- Returns:
- Throws:
GraphQLRequestPreparationException
-
get__typenameGraphQLRequest
@Deprecated public GraphQLRequestForum get__typenameGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Deprecated.This method is deprecated: please useMutationExecutor
class 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__typenameGraphQLRequest
in classMutationExecutorForum
- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-