Class Query

All Implemented Interfaces:
GraphQLQueryExecutor, GraphQLRequestObject
Direct Known Subclasses:
QueryResponse

public class Query extends QueryExecutorForum 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

    • Query

      public Query()
  • Method Details

    • setBoards

      public void setBoards(List<Board> boards)
    • getBoards

      public List<Board> getBoards()
    • setNbBoards

      public void setNbBoards(Integer nbBoards)
    • getNbBoards

      public Integer getNbBoards()
    • setTopics

      public void setTopics(List<Topic> topics)
    • getTopics

      public List<Topic> getTopics()
    • setFindTopics

      public void setFindTopics(List<Topic> findTopics)
    • getFindTopics

      public List<Topic> getFindTopics()
    • set__schema

      public void set__schema(__Schema __schema)
    • get__schema

      public __Schema get__schema()
    • set__type

      public void set__type(__Type __type)
    • get__type

      public __Type get__type()
    • 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 Query.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 QueryResponse execWithBindValues(String queryResponseDef, Map<String,Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException
      Deprecated.
      This method is deprecated: please use QueryExecutor 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 QueryExecutorForum
      Parameters:
      queryResponseDef - The response definition of the query, in the native GraphQL format (see here above). It must omit the query 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 QueryExecutor 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 QueryExecutorForum
      Parameters:
      queryResponseDef - The response definition of the query, in the native GraphQL format (see here above). It must omit the query 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 QueryResponse execWithBindValues(ObjectResponse objectResponse, Map<String,Object> parameters) throws GraphQLRequestExecutionException
      Deprecated.
      This method is deprecated: please use QueryExecutor 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 QueryExecutorForum
      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 QueryExecutorForum.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 QueryResponse exec(ObjectResponse objectResponse, Object... paramsAndValues) throws GraphQLRequestExecutionException
      Deprecated.
      This method is deprecated: please use QueryExecutor 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 QueryExecutorForum
      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 QueryExecutorForum.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 QueryExecutor 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 QueryExecutorForum
      Returns:
      Throws:
      GraphQLRequestPreparationException
    • getGraphQLRequest

      @Deprecated public GraphQLRequestForum getGraphQLRequest(String fullRequest) throws GraphQLRequestPreparationException
      Deprecated.
      This method is deprecated: please use QueryExecutor 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 QueryExecutorForum
      Parameters:
      fullRequest - The full GraphQL Request, as specified in the GraphQL specification
      Returns:
      Throws:
      GraphQLRequestPreparationException
    • boardsWithBindValues

      @Deprecated public List<Board> boardsWithBindValues(String queryResponseDef, Map<String,Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException
      Deprecated.
      This method is deprecated: please use QueryExecutor 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:
      boardsWithBindValues in class QueryExecutorForum
      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
    • boards

      @Deprecated public List<Board> boards(String queryResponseDef, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException
      Deprecated.
      This method is deprecated: please use QueryExecutor 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:
      boards in class QueryExecutorForum
      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
    • boardsWithBindValues

      @Deprecated public List<Board> boardsWithBindValues(ObjectResponse objectResponse, Map<String,Object> parameters) throws GraphQLRequestExecutionException
      Deprecated.
      This method is deprecated: please use QueryExecutor 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:
      boardsWithBindValues in class QueryExecutorForum
      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 QueryExecutorForum.getBoardsGraphQLRequest(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
    • boards

      @Deprecated public List<Board> boards(ObjectResponse objectResponse, Object... paramsAndValues) throws GraphQLRequestExecutionException
      Deprecated.
      This method is deprecated: please use QueryExecutor 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:
      boards in class QueryExecutorForum
      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 QueryExecutorForum.getBoardsGraphQLRequest(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
    • getBoardsResponseBuilder

      @Deprecated public Builder getBoardsResponseBuilder() throws GraphQLRequestPreparationException
      Deprecated.
      This method is deprecated: please use QueryExecutor 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:
      getBoardsResponseBuilder in class QueryExecutorForum
      Returns:
      Throws:
      GraphQLRequestPreparationException
    • getBoardsGraphQLRequest

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

      @Deprecated public Integer nbBoardsWithBindValues(String queryResponseDef, Map<String,Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException
      Deprecated.
      This method is deprecated: please use QueryExecutor 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:
      nbBoardsWithBindValues in class QueryExecutorForum
      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
    • nbBoards

      @Deprecated public Integer nbBoards(String queryResponseDef, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException
      Deprecated.
      This method is deprecated: please use QueryExecutor 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:
      nbBoards in class QueryExecutorForum
      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
    • nbBoardsWithBindValues

      @Deprecated public Integer nbBoardsWithBindValues(ObjectResponse objectResponse, Map<String,Object> parameters) throws GraphQLRequestExecutionException
      Deprecated.
      This method is deprecated: please use QueryExecutor 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:
      nbBoardsWithBindValues in class QueryExecutorForum
      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 QueryExecutorForum.getNbBoardsGraphQLRequest(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
    • nbBoards

      @Deprecated public Integer nbBoards(ObjectResponse objectResponse, Object... paramsAndValues) throws GraphQLRequestExecutionException
      Deprecated.
      This method is deprecated: please use QueryExecutor 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:
      nbBoards in class QueryExecutorForum
      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 QueryExecutorForum.getNbBoardsGraphQLRequest(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
    • getNbBoardsResponseBuilder

      @Deprecated public Builder getNbBoardsResponseBuilder() throws GraphQLRequestPreparationException
      Deprecated.
      This method is deprecated: please use QueryExecutor 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:
      getNbBoardsResponseBuilder in class QueryExecutorForum
      Returns:
      Throws:
      GraphQLRequestPreparationException
    • getNbBoardsGraphQLRequest

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

      @Deprecated public List<Topic> topicsWithBindValues(String queryResponseDef, String boardName, Map<String,Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException
      Deprecated.
      This method is deprecated: please use QueryExecutor 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:
      topicsWithBindValues in class QueryExecutorForum
      Parameters:
      queryResponseDef - The response definition of the query, in the native GraphQL format (see here above)
      boardName - Parameter for the topics field of Query, 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
    • topics

      @Deprecated public List<Topic> topics(String queryResponseDef, String boardName, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException
      Deprecated.
      This method is deprecated: please use QueryExecutor 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:
      topics in class QueryExecutorForum
      Parameters:
      queryResponseDef - The response definition of the query, in the native GraphQL format (see here above)
      boardName - Parameter for the topics field of Query, 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
    • topicsWithBindValues

      @Deprecated public List<Topic> topicsWithBindValues(ObjectResponse objectResponse, String boardName, Map<String,Object> parameters) throws GraphQLRequestExecutionException
      Deprecated.
      This method is deprecated: please use QueryExecutor 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:
      topicsWithBindValues in class QueryExecutorForum
      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 QueryExecutorForum.getTopicsGraphQLRequest(java.lang.String) method.
      boardName - Parameter for the topics field of Query, 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
    • topics

      @Deprecated public List<Topic> topics(ObjectResponse objectResponse, String boardName, Object... paramsAndValues) throws GraphQLRequestExecutionException
      Deprecated.
      This method is deprecated: please use QueryExecutor 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:
      topics in class QueryExecutorForum
      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 QueryExecutorForum.getTopicsGraphQLRequest(java.lang.String) method.
      boardName - Parameter for the topics field of Query, 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
    • getTopicsResponseBuilder

      @Deprecated public Builder getTopicsResponseBuilder() throws GraphQLRequestPreparationException
      Deprecated.
      This method is deprecated: please use QueryExecutor 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:
      getTopicsResponseBuilder in class QueryExecutorForum
      Returns:
      Throws:
      GraphQLRequestPreparationException
    • getTopicsGraphQLRequest

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

      @Deprecated public List<Topic> findTopicsWithBindValues(String queryResponseDef, String boardName, List<String> keyword, Map<String,Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException
      Deprecated.
      This method is deprecated: please use QueryExecutor 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:
      findTopicsWithBindValues in class QueryExecutorForum
      Parameters:
      queryResponseDef - The response definition of the query, in the native GraphQL format (see here above)
      boardName - Parameter for the findTopics field of Query, as defined in the GraphQL schema
      keyword - Parameter for the findTopics field of Query, 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
    • findTopics

      @Deprecated public List<Topic> findTopics(String queryResponseDef, String boardName, List<String> keyword, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException
      Deprecated.
      This method is deprecated: please use QueryExecutor 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:
      findTopics in class QueryExecutorForum
      Parameters:
      queryResponseDef - The response definition of the query, in the native GraphQL format (see here above)
      boardName - Parameter for the findTopics field of Query, as defined in the GraphQL schema
      keyword - Parameter for the findTopics field of Query, 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
    • findTopicsWithBindValues

      @Deprecated public List<Topic> findTopicsWithBindValues(ObjectResponse objectResponse, String boardName, List<String> keyword, Map<String,Object> parameters) throws GraphQLRequestExecutionException
      Deprecated.
      This method is deprecated: please use QueryExecutor 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:
      findTopicsWithBindValues in class QueryExecutorForum
      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 QueryExecutorForum.getFindTopicsGraphQLRequest(java.lang.String) method.
      boardName - Parameter for the findTopics field of Query, as defined in the GraphQL schema
      keyword - Parameter for the findTopics field of Query, 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
    • findTopics

      @Deprecated public List<Topic> findTopics(ObjectResponse objectResponse, String boardName, List<String> keyword, Object... paramsAndValues) throws GraphQLRequestExecutionException
      Deprecated.
      This method is deprecated: please use QueryExecutor 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:
      findTopics in class QueryExecutorForum
      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 QueryExecutorForum.getFindTopicsGraphQLRequest(java.lang.String) method.
      boardName - Parameter for the findTopics field of Query, as defined in the GraphQL schema
      keyword - Parameter for the findTopics field of Query, 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
    • getFindTopicsResponseBuilder

      @Deprecated public Builder getFindTopicsResponseBuilder() throws GraphQLRequestPreparationException
      Deprecated.
      This method is deprecated: please use QueryExecutor 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:
      getFindTopicsResponseBuilder in class QueryExecutorForum
      Returns:
      Throws:
      GraphQLRequestPreparationException
    • getFindTopicsGraphQLRequest

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

      @Deprecated public __Schema __schemaWithBindValues(String queryResponseDef, Map<String,Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException
      Deprecated.
      This method is deprecated: please use QueryExecutor 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:
      __schemaWithBindValues in class QueryExecutorForum
      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
    • __schema

      @Deprecated public __Schema __schema(String queryResponseDef, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException
      Deprecated.
      This method is deprecated: please use QueryExecutor 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:
      __schema in class QueryExecutorForum
      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
    • __schemaWithBindValues

      @Deprecated public __Schema __schemaWithBindValues(ObjectResponse objectResponse, Map<String,Object> parameters) throws GraphQLRequestExecutionException
      Deprecated.
      This method is deprecated: please use QueryExecutor 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:
      __schemaWithBindValues in class QueryExecutorForum
      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 QueryExecutorForum.get__schemaGraphQLRequest(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
    • __schema

      @Deprecated public __Schema __schema(ObjectResponse objectResponse, Object... paramsAndValues) throws GraphQLRequestExecutionException
      Deprecated.
      This method is deprecated: please use QueryExecutor 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:
      __schema in class QueryExecutorForum
      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 QueryExecutorForum.get__schemaGraphQLRequest(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__schemaResponseBuilder

      @Deprecated public Builder get__schemaResponseBuilder() throws GraphQLRequestPreparationException
      Deprecated.
      This method is deprecated: please use QueryExecutor 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__schemaResponseBuilder in class QueryExecutorForum
      Returns:
      Throws:
      GraphQLRequestPreparationException
    • get__schemaGraphQLRequest

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

      @Deprecated public __Type __typeWithBindValues(String queryResponseDef, String name, Map<String,Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException
      Deprecated.
      This method is deprecated: please use QueryExecutor 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:
      __typeWithBindValues in class QueryExecutorForum
      Parameters:
      queryResponseDef - The response definition of the query, in the native GraphQL format (see here above)
      name - Parameter for the __type field of Query, 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
    • __type

      @Deprecated public __Type __type(String queryResponseDef, String name, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException
      Deprecated.
      This method is deprecated: please use QueryExecutor 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:
      __type in class QueryExecutorForum
      Parameters:
      queryResponseDef - The response definition of the query, in the native GraphQL format (see here above)
      name - Parameter for the __type field of Query, 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
    • __typeWithBindValues

      @Deprecated public __Type __typeWithBindValues(ObjectResponse objectResponse, String name, Map<String,Object> parameters) throws GraphQLRequestExecutionException
      Deprecated.
      This method is deprecated: please use QueryExecutor 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:
      __typeWithBindValues in class QueryExecutorForum
      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 QueryExecutorForum.get__typeGraphQLRequest(java.lang.String) method.
      name - Parameter for the __type field of Query, 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
    • __type

      @Deprecated public __Type __type(ObjectResponse objectResponse, String name, Object... paramsAndValues) throws GraphQLRequestExecutionException
      Deprecated.
      This method is deprecated: please use QueryExecutor 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:
      __type in class QueryExecutorForum
      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 QueryExecutorForum.get__typeGraphQLRequest(java.lang.String) method.
      name - Parameter for the __type field of Query, 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
    • get__typeResponseBuilder

      @Deprecated public Builder get__typeResponseBuilder() throws GraphQLRequestPreparationException
      Deprecated.
      This method is deprecated: please use QueryExecutor 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__typeResponseBuilder in class QueryExecutorForum
      Returns:
      Throws:
      GraphQLRequestPreparationException
    • get__typeGraphQLRequest

      @Deprecated public GraphQLRequestForum get__typeGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException
      Deprecated.
      This method is deprecated: please use QueryExecutor 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__typeGraphQLRequest in class QueryExecutorForum
      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 QueryExecutor 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 QueryExecutorForum
      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 QueryExecutor 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 QueryExecutorForum
      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 QueryExecutor 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 QueryExecutorForum
      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 QueryExecutorForum.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 QueryExecutor 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 QueryExecutorForum
      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 QueryExecutorForum.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 QueryExecutor 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 QueryExecutorForum
      Returns:
      Throws:
      GraphQLRequestPreparationException
    • get__typenameGraphQLRequest

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