Class Mutation

All Implemented Interfaces:
GraphQLMutationExecutor, GraphQLRequestObject
Direct Known Subclasses:
MutationResponse

public class Mutation extends MutationExecutorForum implements GraphQLRequestObject
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.
Author:
generated by graphql-java-generator
See Also:
  • Field Details

    • thisIsADummyFieldToCheckThatThisTemplateIsUsed

      public boolean thisIsADummyFieldToCheckThatThisTemplateIsUsed
      The 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

      public void setCreateBoard(Board createBoard)
    • getCreateBoard

      public Board getCreateBoard()
    • setCreateTopic

      public void setCreateTopic(Topic createTopic)
    • getCreateTopic

      public Topic getCreateTopic()
    • setCreatePost

      public void setCreatePost(Post createPost)
    • getCreatePost

      public Post getCreatePost()
    • setCreatePosts

      public void setCreatePosts(List<Post> createPosts)
    • getCreatePosts

      public List<Post> getCreatePosts()
    • setCreateMember

      public void setCreateMember(Member createMember)
    • getCreateMember

      public Member getCreateMember()
    • set__typename

      public void set__typename(String __typename)
    • get__typename

      public String get__typename()
    • setAliasValue

      public void setAliasValue(String aliasName, Object aliasDeserializedValue)
      This method is called during the json deserialization process, by the GraphQLObjectMapper, each time an alias value is read from the json.
      Parameters:
      aliasName -
      aliasDeserializedValue -
    • getAliasValue

      public Object getAliasValue(String alias)
      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

      public String toString()
      Overrides:
      toString in class Object
    • builder

      public static Mutation.Builder builder()
    • getExtensions

      public com.fasterxml.jackson.databind.JsonNode getExtensions()
    • setExtensions

      public void setExtensions(com.fasterxml.jackson.databind.JsonNode extensions)
      Specified by:
      setExtensions in interface GraphQLRequestObject
    • getExtensionsAsMap

      public Map<String,com.fasterxml.jackson.databind.JsonNode> 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, GraphQLRequestPreparationException
      Deprecated.
      This method is deprecated: please use MutationExecutor 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 class MutationExecutorForum
      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 empty Map. 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 a Date for the GraphQLScalarTypeDate). 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 parsed
      GraphQLRequestPreparationException - When an error occurs during the request preparation, typically when building the ObjectResponse
    • exec

      Deprecated.
      This method is deprecated: please use MutationExecutor 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 class MutationExecutorForum
      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 parsed
      GraphQLRequestPreparationException - When an error occurs during the request preparation, typically when building the ObjectResponse
    • execWithBindValues

      @Deprecated public MutationResponse execWithBindValues(ObjectResponse objectResponse, Map<String,Object> parameters) throws GraphQLRequestExecutionException
      Deprecated.
      This method is deprecated: please use MutationExecutor 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 class MutationExecutorForum
      Parameters:
      objectResponse - The definition of the response format, that describes what the GraphQL server is expected to return
      Note: the ObjectResponse type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestForum POJO, as returned by the MutationExecutorForum.getGraphQLRequest(java.lang.String) method or one of the getXxxxGraphQLRequest(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 empty Map
      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 use MutationExecutor 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 class MutationExecutorForum
      Parameters:
      objectResponse - The definition of the response format, that describes what the GraphQL server is expected to return
      Note: the ObjectResponse type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestForum POJO, as returned by the MutationExecutorForum.getGraphQLRequest(java.lang.String) method or one of the getXxxxGraphQLRequest(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 public Builder getResponseBuilder() throws GraphQLRequestPreparationException
      Deprecated.
      This method is deprecated: please use MutationExecutor 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 class MutationExecutorForum
      Returns:
      Throws:
      GraphQLRequestPreparationException
    • getGraphQLRequest

      @Deprecated public GraphQLRequestForum getGraphQLRequest(String fullRequest) throws GraphQLRequestPreparationException
      Deprecated.
      This method is deprecated: please use MutationExecutor 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 class MutationExecutorForum
      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, GraphQLRequestPreparationException
      Deprecated.
      This method is deprecated: please use MutationExecutor 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 class MutationExecutorForum
      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 schema
      publiclyAvailable - Parameter for the createBoard field of Mutation, as defined in the GraphQL schema
      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 empty Map
      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
      GraphQLRequestPreparationException - When an error occurs during the request preparation, typically when building the ObjectResponse
    • createBoard

      @Deprecated public Board createBoard(String queryResponseDef, String name, Boolean publiclyAvailable, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException
      Deprecated.
      This method is deprecated: please use MutationExecutor 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 class MutationExecutorForum
      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 schema
      publiclyAvailable - 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 parsed
      GraphQLRequestPreparationException - When an error occurs during the request preparation, typically when building the ObjectResponse
    • createBoardWithBindValues

      @Deprecated public Board createBoardWithBindValues(ObjectResponse objectResponse, String name, Boolean publiclyAvailable, Map<String,Object> parameters) throws GraphQLRequestExecutionException
      Deprecated.
      This method is deprecated: please use MutationExecutor 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 class MutationExecutorForum
      Parameters:
      objectResponse - The definition of the response format, that describes what the GraphQL server is expected to return
      Note: the ObjectResponse type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestForum POJO, as returned by the MutationExecutorForum.getCreateBoardGraphQLRequest(java.lang.String) method.
      name - Parameter for the createBoard field of Mutation, as defined in the GraphQL schema
      publiclyAvailable - Parameter for the createBoard field of Mutation, as defined in the GraphQL schema
      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 empty Map
      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 use MutationExecutor 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 class MutationExecutorForum
      Parameters:
      objectResponse - The definition of the response format, that describes what the GraphQL server is expected to return
      Note: the ObjectResponse type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestForum POJO, as returned by the MutationExecutorForum.getCreateBoardGraphQLRequest(java.lang.String) method.
      name - Parameter for the createBoard field of Mutation, as defined in the GraphQL schema
      publiclyAvailable - Parameter for the createBoard field of Mutation, as defined in the GraphQL schema
      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
    • getCreateBoardResponseBuilder

      @Deprecated public Builder getCreateBoardResponseBuilder() throws GraphQLRequestPreparationException
      Deprecated.
      This method is deprecated: please use MutationExecutor 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 class MutationExecutorForum
      Returns:
      Throws:
      GraphQLRequestPreparationException
    • getCreateBoardGraphQLRequest

      @Deprecated public GraphQLRequestForum getCreateBoardGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException
      Deprecated.
      This method is deprecated: please use MutationExecutor 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 class MutationExecutorForum
      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, GraphQLRequestPreparationException
      Deprecated.
      This method is deprecated: please use MutationExecutor 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 class MutationExecutorForum
      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
      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 empty Map
      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
      GraphQLRequestPreparationException - When an error occurs during the request preparation, typically when building the ObjectResponse
    • createTopic

      @Deprecated public Topic createTopic(String queryResponseDef, TopicInput topic, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException
      Deprecated.
      This method is deprecated: please use MutationExecutor 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 class MutationExecutorForum
      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 parsed
      GraphQLRequestPreparationException - When an error occurs during the request preparation, typically when building the ObjectResponse
    • createTopicWithBindValues

      @Deprecated public Topic createTopicWithBindValues(ObjectResponse objectResponse, TopicInput topic, Map<String,Object> parameters) throws GraphQLRequestExecutionException
      Deprecated.
      This method is deprecated: please use MutationExecutor 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 class MutationExecutorForum
      Parameters:
      objectResponse - The definition of the response format, that describes what the GraphQL server is expected to return
      Note: the ObjectResponse type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestForum POJO, as returned by the MutationExecutorForum.getCreateTopicGraphQLRequest(java.lang.String) method.
      topic - Parameter for the createTopic field of Mutation, as defined in the GraphQL schema
      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 empty Map
      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 use MutationExecutor 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 class MutationExecutorForum
      Parameters:
      objectResponse - The definition of the response format, that describes what the GraphQL server is expected to return
      Note: the ObjectResponse type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestForum POJO, as returned by the MutationExecutorForum.getCreateTopicGraphQLRequest(java.lang.String) method.
      topic - Parameter for the createTopic field of Mutation, as defined in the GraphQL schema
      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
    • getCreateTopicResponseBuilder

      @Deprecated public Builder getCreateTopicResponseBuilder() throws GraphQLRequestPreparationException
      Deprecated.
      This method is deprecated: please use MutationExecutor 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 class MutationExecutorForum
      Returns:
      Throws:
      GraphQLRequestPreparationException
    • getCreateTopicGraphQLRequest

      @Deprecated public GraphQLRequestForum getCreateTopicGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException
      Deprecated.
      This method is deprecated: please use MutationExecutor 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 class MutationExecutorForum
      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, GraphQLRequestPreparationException
      Deprecated.
      This method is deprecated: please use MutationExecutor 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 class MutationExecutorForum
      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
      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 empty Map
      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
      GraphQLRequestPreparationException - When an error occurs during the request preparation, typically when building the ObjectResponse
    • createPost

      @Deprecated public Post createPost(String queryResponseDef, PostInput post, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException
      Deprecated.
      This method is deprecated: please use MutationExecutor 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 class MutationExecutorForum
      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 parsed
      GraphQLRequestPreparationException - When an error occurs during the request preparation, typically when building the ObjectResponse
    • createPostWithBindValues

      @Deprecated public Post createPostWithBindValues(ObjectResponse objectResponse, PostInput post, Map<String,Object> parameters) throws GraphQLRequestExecutionException
      Deprecated.
      This method is deprecated: please use MutationExecutor 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 class MutationExecutorForum
      Parameters:
      objectResponse - The definition of the response format, that describes what the GraphQL server is expected to return
      Note: the ObjectResponse type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestForum POJO, as returned by the MutationExecutorForum.getCreatePostGraphQLRequest(java.lang.String) method.
      post - Parameter for the createPost field of Mutation, as defined in the GraphQL schema
      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 empty Map
      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 use MutationExecutor 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 class MutationExecutorForum
      Parameters:
      objectResponse - The definition of the response format, that describes what the GraphQL server is expected to return
      Note: the ObjectResponse type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestForum POJO, as returned by the MutationExecutorForum.getCreatePostGraphQLRequest(java.lang.String) method.
      post - Parameter for the createPost field of Mutation, as defined in the GraphQL schema
      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
    • getCreatePostResponseBuilder

      @Deprecated public Builder getCreatePostResponseBuilder() throws GraphQLRequestPreparationException
      Deprecated.
      This method is deprecated: please use MutationExecutor 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 class MutationExecutorForum
      Returns:
      Throws:
      GraphQLRequestPreparationException
    • getCreatePostGraphQLRequest

      @Deprecated public GraphQLRequestForum getCreatePostGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException
      Deprecated.
      This method is deprecated: please use MutationExecutor 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 class MutationExecutorForum
      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, GraphQLRequestPreparationException
      Deprecated.
      This method is deprecated: please use MutationExecutor 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 class MutationExecutorForum
      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
      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 empty Map
      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
      GraphQLRequestPreparationException - When an error occurs during the request preparation, typically when building the ObjectResponse
    • createPosts

      @Deprecated public List<Post> createPosts(String queryResponseDef, List<PostInput> spam, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException
      Deprecated.
      This method is deprecated: please use MutationExecutor 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 class MutationExecutorForum
      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 parsed
      GraphQLRequestPreparationException - When an error occurs during the request preparation, typically when building the ObjectResponse
    • createPostsWithBindValues

      @Deprecated public List<Post> createPostsWithBindValues(ObjectResponse objectResponse, List<PostInput> spam, Map<String,Object> parameters) throws GraphQLRequestExecutionException
      Deprecated.
      This method is deprecated: please use MutationExecutor 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 class MutationExecutorForum
      Parameters:
      objectResponse - The definition of the response format, that describes what the GraphQL server is expected to return
      Note: the ObjectResponse type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestForum POJO, as returned by the MutationExecutorForum.getCreatePostsGraphQLRequest(java.lang.String) method.
      spam - Parameter for the createPosts field of Mutation, as defined in the GraphQL schema
      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 empty Map
      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 use MutationExecutor 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 class MutationExecutorForum
      Parameters:
      objectResponse - The definition of the response format, that describes what the GraphQL server is expected to return
      Note: the ObjectResponse type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestForum POJO, as returned by the MutationExecutorForum.getCreatePostsGraphQLRequest(java.lang.String) method.
      spam - Parameter for the createPosts field of Mutation, as defined in the GraphQL schema
      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
    • getCreatePostsResponseBuilder

      @Deprecated public Builder getCreatePostsResponseBuilder() throws GraphQLRequestPreparationException
      Deprecated.
      This method is deprecated: please use MutationExecutor 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 class MutationExecutorForum
      Returns:
      Throws:
      GraphQLRequestPreparationException
    • getCreatePostsGraphQLRequest

      @Deprecated public GraphQLRequestForum getCreatePostsGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException
      Deprecated.
      This method is deprecated: please use MutationExecutor 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 class MutationExecutorForum
      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, GraphQLRequestPreparationException
      Deprecated.
      This method is deprecated: please use MutationExecutor 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 class MutationExecutorForum
      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
      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 empty Map
      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
      GraphQLRequestPreparationException - When an error occurs during the request preparation, typically when building the ObjectResponse
    • createMember

      @Deprecated public Member createMember(String queryResponseDef, MemberInput input, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException
      Deprecated.
      This method is deprecated: please use MutationExecutor 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 class MutationExecutorForum
      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 parsed
      GraphQLRequestPreparationException - When an error occurs during the request preparation, typically when building the ObjectResponse
    • createMemberWithBindValues

      @Deprecated public Member createMemberWithBindValues(ObjectResponse objectResponse, MemberInput input, Map<String,Object> parameters) throws GraphQLRequestExecutionException
      Deprecated.
      This method is deprecated: please use MutationExecutor 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 class MutationExecutorForum
      Parameters:
      objectResponse - The definition of the response format, that describes what the GraphQL server is expected to return
      Note: the ObjectResponse type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestForum POJO, as returned by the MutationExecutorForum.getCreateMemberGraphQLRequest(java.lang.String) method.
      input - Parameter for the createMember field of Mutation, as defined in the GraphQL schema
      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 empty Map
      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 use MutationExecutor 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 class MutationExecutorForum
      Parameters:
      objectResponse - The definition of the response format, that describes what the GraphQL server is expected to return
      Note: the ObjectResponse type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestForum POJO, as returned by the MutationExecutorForum.getCreateMemberGraphQLRequest(java.lang.String) method.
      input - Parameter for the createMember field of Mutation, as defined in the GraphQL schema
      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
    • getCreateMemberResponseBuilder

      @Deprecated public Builder getCreateMemberResponseBuilder() throws GraphQLRequestPreparationException
      Deprecated.
      This method is deprecated: please use MutationExecutor 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 class MutationExecutorForum
      Returns:
      Throws:
      GraphQLRequestPreparationException
    • getCreateMemberGraphQLRequest

      @Deprecated public GraphQLRequestForum getCreateMemberGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException
      Deprecated.
      This method is deprecated: please use MutationExecutor 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 class MutationExecutorForum
      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, GraphQLRequestPreparationException
      Deprecated.
      This method is deprecated: please use MutationExecutor 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 class MutationExecutorForum
      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 empty Map
      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
      GraphQLRequestPreparationException - When an error occurs during the request preparation, typically when building the ObjectResponse
    • __typename

      @Deprecated public String __typename(String queryResponseDef, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException
      Deprecated.
      This method is deprecated: please use MutationExecutor 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 class MutationExecutorForum
      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 parsed
      GraphQLRequestPreparationException - When an error occurs during the request preparation, typically when building the ObjectResponse
    • __typenameWithBindValues

      @Deprecated public String __typenameWithBindValues(ObjectResponse objectResponse, Map<String,Object> parameters) throws GraphQLRequestExecutionException
      Deprecated.
      This method is deprecated: please use MutationExecutor 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 class MutationExecutorForum
      Parameters:
      objectResponse - The definition of the response format, that describes what the GraphQL server is expected to return
      Note: the ObjectResponse type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestForum POJO, as returned by the MutationExecutorForum.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 empty Map
      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 use MutationExecutor 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 class MutationExecutorForum
      Parameters:
      objectResponse - The definition of the response format, that describes what the GraphQL server is expected to return
      Note: the ObjectResponse type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestForum POJO, as returned by the MutationExecutorForum.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 public Builder get__typenameResponseBuilder() throws GraphQLRequestPreparationException
      Deprecated.
      This method is deprecated: please use MutationExecutor 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 class MutationExecutorForum
      Returns:
      Throws:
      GraphQLRequestPreparationException
    • get__typenameGraphQLRequest

      @Deprecated public GraphQLRequestForum get__typenameGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException
      Deprecated.
      This method is deprecated: please use MutationExecutor 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 class MutationExecutorForum
      Parameters:
      partialRequest - The Partial GraphQL request, as explained in the plugin client documentation
      Returns:
      Throws:
      GraphQLRequestPreparationException