Package org.forum.client
Class Query
java.lang.Object
org.forum.client.QueryExecutorForum
org.forum.client.Query
- All Implemented Interfaces:
GraphQLQueryExecutor
,GraphQLRequestObject
- Direct Known Subclasses:
QueryResponse
This class contains the response for a full request. See the
plugin web site
for more information on full and partial requests.
It also allows access to the _extensions_ part of the response. Take a look at the GraphQL spec for more information on this.
It also allows access to the _extensions_ part of the response. Take a look at the GraphQL spec for more information on this.
- Author:
- generated by graphql-java-generator
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
The Builder that helps building instance of this POJO. -
Field Summary
Modifier and TypeFieldDescriptionboolean
The field below is the only change from the original template. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription__schema
(ObjectResponse objectResponse, Object... paramsAndValues) Deprecated.Deprecated.__schemaWithBindValues
(ObjectResponse objectResponse, Map<String, Object> parameters) Deprecated.__schemaWithBindValues
(String queryResponseDef, Map<String, Object> parameters) Deprecated.__type
(ObjectResponse objectResponse, String name, Object... paramsAndValues) Deprecated.Deprecated.__typename
(ObjectResponse objectResponse, Object... paramsAndValues) Deprecated.__typename
(String queryResponseDef, Object... paramsAndValues) Deprecated.__typenameWithBindValues
(ObjectResponse objectResponse, Map<String, Object> parameters) Deprecated.__typenameWithBindValues
(String queryResponseDef, Map<String, Object> parameters) Deprecated.__typeWithBindValues
(ObjectResponse objectResponse, String name, Map<String, Object> parameters) Deprecated.Deprecated.boards
(ObjectResponse objectResponse, Object... paramsAndValues) Deprecated.Deprecated.boardsWithBindValues
(ObjectResponse objectResponse, Map<String, Object> parameters) Deprecated.boardsWithBindValues
(String queryResponseDef, Map<String, Object> parameters) Deprecated.static Query.Builder
builder()
exec
(ObjectResponse objectResponse, Object... paramsAndValues) Deprecated.Deprecated.execWithBindValues
(ObjectResponse objectResponse, Map<String, Object> parameters) Deprecated.execWithBindValues
(String queryResponseDef, Map<String, Object> parameters) Deprecated.findTopics
(ObjectResponse objectResponse, String boardName, List<String> keyword, Object... paramsAndValues) Deprecated.findTopics
(String queryResponseDef, String boardName, List<String> keyword, Object... paramsAndValues) Deprecated.findTopicsWithBindValues
(ObjectResponse objectResponse, String boardName, List<String> keyword, Map<String, Object> parameters) Deprecated.findTopicsWithBindValues
(String queryResponseDef, String boardName, List<String> keyword, Map<String, Object> parameters) Deprecated.get__schemaGraphQLRequest
(String partialRequest) Deprecated.Deprecated.get__typeGraphQLRequest
(String partialRequest) Deprecated.get__typenameGraphQLRequest
(String partialRequest) Deprecated.Deprecated.Deprecated.getAliasValue
(String alias) Retrieves the value for the given alias, as it has been received for this object in the GraphQL response.getBoardsGraphQLRequest
(String partialRequest) Deprecated.Deprecated.com.fasterxml.jackson.databind.JsonNode
Returns the extensions as a map.<T> T
getExtensionsField
(String key, Class<T> t) Parse the value for the given _key_, as found in the extensions field of the GraphQL server's response, into the given _t_ class.getFindTopicsGraphQLRequest
(String partialRequest) Deprecated.Deprecated.getGraphQLRequest
(String fullRequest) Deprecated.getNbBoardsGraphQLRequest
(String partialRequest) Deprecated.Deprecated.Deprecated.getTopicsGraphQLRequest
(String partialRequest) Deprecated.Deprecated.nbBoards
(ObjectResponse objectResponse, Object... paramsAndValues) Deprecated.Deprecated.nbBoardsWithBindValues
(ObjectResponse objectResponse, Map<String, Object> parameters) Deprecated.nbBoardsWithBindValues
(String queryResponseDef, Map<String, Object> parameters) Deprecated.void
set__schema
(__Schema __schema) void
void
set__typename
(String __typename) void
setAliasValue
(String aliasName, Object aliasDeserializedValue) This method is called during the json deserialization process, by theGraphQLObjectMapper
, each time an alias value is read from the json.void
void
setExtensions
(com.fasterxml.jackson.databind.JsonNode extensions) void
setFindTopics
(List<Topic> findTopics) void
setNbBoards
(Integer nbBoards) void
topics
(ObjectResponse objectResponse, String boardName, Object... paramsAndValues) Deprecated.Deprecated.topicsWithBindValues
(ObjectResponse objectResponse, String boardName, Map<String, Object> parameters) Deprecated.Deprecated.toString()
-
Field Details
-
thisIsADummyFieldToCheckThatThisTemplateIsUsed
public boolean thisIsADummyFieldToCheckThatThisTemplateIsUsedThe field below is the only change from the original template. It is here only to check that this template is actually used
-
-
Constructor Details
-
Query
public Query()
-
-
Method Details
-
setBoards
-
getBoards
-
setNbBoards
-
getNbBoards
-
setTopics
-
getTopics
-
setFindTopics
-
getFindTopics
-
set__schema
-
get__schema
-
set__type
-
get__type
-
set__typename
-
get__typename
-
setAliasValue
This method is called during the json deserialization process, by theGraphQLObjectMapper
, each time an alias value is read from the json.- Parameters:
aliasName
-aliasDeserializedValue
-
-
getAliasValue
Retrieves the value for the given alias, as it has been received for this object in the GraphQL response.
This method should not be used for Custom Scalars, as the parser doesn't know if this alias is a custom scalar, and which custom scalar to use at deserialization time. In most case, a value will then be provided by this method with a basis json deserialization, but this value won't be the proper custom scalar value.- Parameters:
alias
-- Returns:
-
toString
-
builder
-
getExtensions
public com.fasterxml.jackson.databind.JsonNode getExtensions() -
setExtensions
public void setExtensions(com.fasterxml.jackson.databind.JsonNode extensions) - Specified by:
setExtensions
in interfaceGraphQLRequestObject
-
getExtensionsAsMap
Returns the extensions as a map. The values can't be deserialized, as their type is unknown.- Returns:
-
getExtensionsField
public <T> T getExtensionsField(String key, Class<T> t) throws com.fasterxml.jackson.core.JsonProcessingException Parse the value for the given _key_, as found in the extensions field of the GraphQL server's response, into the given _t_ class.- Type Parameters:
T
-- Parameters:
key
-t
-- Returns:
- null if the key is not in the extensions map. Otherwise: the value for this _key_, as a _t_ instance
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
- When there is an error when converting the key's value into the _t_ class
-
execWithBindValues
@Deprecated public QueryResponse execWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionDeprecated.This method is deprecated: please useQueryExecutor
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 classQueryExecutorForum
- 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 emptyMap
. The key is the parameter name, as declared in the request you defined (in the above sample: param is an optional parameter and skip is a mandatory one). The value is the parameter value in its Java type (for instance aDate
for theGraphQLScalarTypeDate
). The parameters which value is missing in this map will be ignored.- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsedGraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
-
exec
@Deprecated public QueryResponse exec(String queryResponseDef, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException Deprecated.This method is deprecated: please useQueryExecutor
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 classQueryExecutorForum
- 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 parsedGraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
-
execWithBindValues
@Deprecated public QueryResponse execWithBindValues(ObjectResponse objectResponse, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionDeprecated.This method is deprecated: please useQueryExecutor
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 classQueryExecutorForum
- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestForum POJO, as returned by theQueryExecutorForum.getGraphQLRequest(java.lang.String)
method or one of thegetXxxxGraphQLRequest(String)
methods.parameters
- The list of values, for the bind variables declared in the request you defined. If there is no bind variable in the defined Query, this argument may be null or an emptyMap
- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
exec
@Deprecated public QueryResponse exec(ObjectResponse objectResponse, Object... paramsAndValues) throws GraphQLRequestExecutionException Deprecated.This method is deprecated: please useQueryExecutor
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 classQueryExecutorForum
- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestForum POJO, as returned by theQueryExecutorForum.getGraphQLRequest(java.lang.String)
method or one of thegetXxxxGraphQLRequest(String)
paramsAndValues
- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters: it must be a series of name and values : (paramName1, paramValue1, paramName2, paramValue2...)- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getResponseBuilder
Deprecated.This method is deprecated: please useQueryExecutor
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 classQueryExecutorForum
- Returns:
- Throws:
GraphQLRequestPreparationException
-
getGraphQLRequest
@Deprecated public GraphQLRequestForum getGraphQLRequest(String fullRequest) throws GraphQLRequestPreparationException Deprecated.This method is deprecated: please useQueryExecutor
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 classQueryExecutorForum
- 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, GraphQLRequestPreparationExceptionDeprecated.This method is deprecated: please useQueryExecutor
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 classQueryExecutorForum
- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)parameters
- The list of values, for the bind variables declared in the request you defined. If there is no bind variable in the defined Query, this argument may be null or an emptyMap
- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsedGraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
-
boards
@Deprecated public List<Board> boards(String queryResponseDef, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException Deprecated.This method is deprecated: please useQueryExecutor
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 classQueryExecutorForum
- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsedGraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
-
boardsWithBindValues
@Deprecated public List<Board> boardsWithBindValues(ObjectResponse objectResponse, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionDeprecated.This method is deprecated: please useQueryExecutor
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 classQueryExecutorForum
- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestForum POJO, as returned by theQueryExecutorForum.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 emptyMap
- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
boards
@Deprecated public List<Board> boards(ObjectResponse objectResponse, Object... paramsAndValues) throws GraphQLRequestExecutionException Deprecated.This method is deprecated: please useQueryExecutor
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 classQueryExecutorForum
- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestForum POJO, as returned by theQueryExecutorForum.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.This method is deprecated: please useQueryExecutor
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 classQueryExecutorForum
- Returns:
- Throws:
GraphQLRequestPreparationException
-
getBoardsGraphQLRequest
@Deprecated public GraphQLRequestForum getBoardsGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Deprecated.This method is deprecated: please useQueryExecutor
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 classQueryExecutorForum
- 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, GraphQLRequestPreparationExceptionDeprecated.This method is deprecated: please useQueryExecutor
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 classQueryExecutorForum
- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)parameters
- The list of values, for the bind variables declared in the request you defined. If there is no bind variable in the defined Query, this argument may be null or an emptyMap
- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsedGraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
-
nbBoards
@Deprecated public Integer nbBoards(String queryResponseDef, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException Deprecated.This method is deprecated: please useQueryExecutor
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 classQueryExecutorForum
- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsedGraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
-
nbBoardsWithBindValues
@Deprecated public Integer nbBoardsWithBindValues(ObjectResponse objectResponse, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionDeprecated.This method is deprecated: please useQueryExecutor
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 classQueryExecutorForum
- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestForum POJO, as returned by theQueryExecutorForum.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 emptyMap
- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
nbBoards
@Deprecated public Integer nbBoards(ObjectResponse objectResponse, Object... paramsAndValues) throws GraphQLRequestExecutionException Deprecated.This method is deprecated: please useQueryExecutor
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 classQueryExecutorForum
- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestForum POJO, as returned by theQueryExecutorForum.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.This method is deprecated: please useQueryExecutor
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 classQueryExecutorForum
- Returns:
- Throws:
GraphQLRequestPreparationException
-
getNbBoardsGraphQLRequest
@Deprecated public GraphQLRequestForum getNbBoardsGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Deprecated.This method is deprecated: please useQueryExecutor
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 classQueryExecutorForum
- 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, GraphQLRequestPreparationExceptionDeprecated.This method is deprecated: please useQueryExecutor
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 classQueryExecutorForum
- 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 schemaparameters
- The list of values, for the bind variables declared in the request you defined. If there is no bind variable in the defined Query, this argument may be null or an emptyMap
- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsedGraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
-
topics
@Deprecated public List<Topic> topics(String queryResponseDef, String boardName, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException Deprecated.This method is deprecated: please useQueryExecutor
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 classQueryExecutorForum
- 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 parsedGraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
-
topicsWithBindValues
@Deprecated public List<Topic> topicsWithBindValues(ObjectResponse objectResponse, String boardName, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionDeprecated.This method is deprecated: please useQueryExecutor
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 classQueryExecutorForum
- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestForum POJO, as returned by theQueryExecutorForum.getTopicsGraphQLRequest(java.lang.String)
method.boardName
- Parameter for the topics field of Query, as defined in the GraphQL schemaparameters
- The list of values, for the bind variables declared in the request you defined. If there is no bind variable in the defined Query, this argument may be null or an emptyMap
- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
topics
@Deprecated public List<Topic> topics(ObjectResponse objectResponse, String boardName, Object... paramsAndValues) throws GraphQLRequestExecutionException Deprecated.This method is deprecated: please useQueryExecutor
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 classQueryExecutorForum
- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestForum POJO, as returned by theQueryExecutorForum.getTopicsGraphQLRequest(java.lang.String)
method.boardName
- Parameter for the topics field of Query, as defined in the GraphQL schemaparamsAndValues
- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters: it must be a series of name and values : (paramName1, paramValue1, paramName2, paramValue2...)- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getTopicsResponseBuilder
Deprecated.This method is deprecated: please useQueryExecutor
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 classQueryExecutorForum
- Returns:
- Throws:
GraphQLRequestPreparationException
-
getTopicsGraphQLRequest
@Deprecated public GraphQLRequestForum getTopicsGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Deprecated.This method is deprecated: please useQueryExecutor
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 classQueryExecutorForum
- 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, GraphQLRequestPreparationExceptionDeprecated.This method is deprecated: please useQueryExecutor
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 classQueryExecutorForum
- 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 schemakeyword
- Parameter for the findTopics field of Query, as defined in the GraphQL schemaparameters
- The list of values, for the bind variables declared in the request you defined. If there is no bind variable in the defined Query, this argument may be null or an emptyMap
- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsedGraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
-
findTopics
@Deprecated public List<Topic> findTopics(String queryResponseDef, String boardName, List<String> keyword, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException Deprecated.This method is deprecated: please useQueryExecutor
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 classQueryExecutorForum
- 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 schemakeyword
- 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 parsedGraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
-
findTopicsWithBindValues
@Deprecated public List<Topic> findTopicsWithBindValues(ObjectResponse objectResponse, String boardName, List<String> keyword, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionDeprecated.This method is deprecated: please useQueryExecutor
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 classQueryExecutorForum
- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestForum POJO, as returned by theQueryExecutorForum.getFindTopicsGraphQLRequest(java.lang.String)
method.boardName
- Parameter for the findTopics field of Query, as defined in the GraphQL schemakeyword
- Parameter for the findTopics field of Query, as defined in the GraphQL schemaparameters
- The list of values, for the bind variables declared in the request you defined. If there is no bind variable in the defined Query, this argument may be null or an emptyMap
- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
findTopics
@Deprecated public List<Topic> findTopics(ObjectResponse objectResponse, String boardName, List<String> keyword, Object... paramsAndValues) throws GraphQLRequestExecutionException Deprecated.This method is deprecated: please useQueryExecutor
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 classQueryExecutorForum
- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestForum POJO, as returned by theQueryExecutorForum.getFindTopicsGraphQLRequest(java.lang.String)
method.boardName
- Parameter for the findTopics field of Query, as defined in the GraphQL schemakeyword
- Parameter for the findTopics field of Query, as defined in the GraphQL schemaparamsAndValues
- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters: it must be a series of name and values : (paramName1, paramValue1, paramName2, paramValue2...)- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
getFindTopicsResponseBuilder
Deprecated.This method is deprecated: please useQueryExecutor
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 classQueryExecutorForum
- Returns:
- Throws:
GraphQLRequestPreparationException
-
getFindTopicsGraphQLRequest
@Deprecated public GraphQLRequestForum getFindTopicsGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Deprecated.This method is deprecated: please useQueryExecutor
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 classQueryExecutorForum
- 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, GraphQLRequestPreparationExceptionDeprecated.This method is deprecated: please useQueryExecutor
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 classQueryExecutorForum
- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)parameters
- The list of values, for the bind variables declared in the request you defined. If there is no bind variable in the defined Query, this argument may be null or an emptyMap
- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsedGraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
-
__schema
@Deprecated public __Schema __schema(String queryResponseDef, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException Deprecated.This method is deprecated: please useQueryExecutor
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 classQueryExecutorForum
- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsedGraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
-
__schemaWithBindValues
@Deprecated public __Schema __schemaWithBindValues(ObjectResponse objectResponse, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionDeprecated.This method is deprecated: please useQueryExecutor
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 classQueryExecutorForum
- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestForum POJO, as returned by theQueryExecutorForum.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 emptyMap
- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
__schema
@Deprecated public __Schema __schema(ObjectResponse objectResponse, Object... paramsAndValues) throws GraphQLRequestExecutionException Deprecated.This method is deprecated: please useQueryExecutor
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 classQueryExecutorForum
- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestForum POJO, as returned by theQueryExecutorForum.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.This method is deprecated: please useQueryExecutor
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 classQueryExecutorForum
- Returns:
- Throws:
GraphQLRequestPreparationException
-
get__schemaGraphQLRequest
@Deprecated public GraphQLRequestForum get__schemaGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Deprecated.This method is deprecated: please useQueryExecutor
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 classQueryExecutorForum
- 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, GraphQLRequestPreparationExceptionDeprecated.This method is deprecated: please useQueryExecutor
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 classQueryExecutorForum
- 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 schemaparameters
- The list of values, for the bind variables declared in the request you defined. If there is no bind variable in the defined Query, this argument may be null or an emptyMap
- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsedGraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
-
__type
@Deprecated public __Type __type(String queryResponseDef, String name, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException Deprecated.This method is deprecated: please useQueryExecutor
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 classQueryExecutorForum
- 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 parsedGraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
-
__typeWithBindValues
@Deprecated public __Type __typeWithBindValues(ObjectResponse objectResponse, String name, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionDeprecated.This method is deprecated: please useQueryExecutor
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 classQueryExecutorForum
- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestForum POJO, as returned by theQueryExecutorForum.get__typeGraphQLRequest(java.lang.String)
method.name
- Parameter for the __type field of Query, as defined in the GraphQL schemaparameters
- The list of values, for the bind variables declared in the request you defined. If there is no bind variable in the defined Query, this argument may be null or an emptyMap
- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
__type
@Deprecated public __Type __type(ObjectResponse objectResponse, String name, Object... paramsAndValues) throws GraphQLRequestExecutionException Deprecated.This method is deprecated: please useQueryExecutor
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 classQueryExecutorForum
- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestForum POJO, as returned by theQueryExecutorForum.get__typeGraphQLRequest(java.lang.String)
method.name
- Parameter for the __type field of Query, as defined in the GraphQL schemaparamsAndValues
- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters: it must be a series of name and values : (paramName1, paramValue1, paramName2, paramValue2...)- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
get__typeResponseBuilder
Deprecated.This method is deprecated: please useQueryExecutor
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 classQueryExecutorForum
- Returns:
- Throws:
GraphQLRequestPreparationException
-
get__typeGraphQLRequest
@Deprecated public GraphQLRequestForum get__typeGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Deprecated.This method is deprecated: please useQueryExecutor
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 classQueryExecutorForum
- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-
__typenameWithBindValues
@Deprecated public String __typenameWithBindValues(String queryResponseDef, Map<String, Object> parameters) throws GraphQLRequestExecutionException, GraphQLRequestPreparationExceptionDeprecated.This method is deprecated: please useQueryExecutor
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 classQueryExecutorForum
- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)parameters
- The list of values, for the bind variables declared in the request you defined. If there is no bind variable in the defined Query, this argument may be null or an emptyMap
- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsedGraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
-
__typename
@Deprecated public String __typename(String queryResponseDef, Object... paramsAndValues) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException Deprecated.This method is deprecated: please useQueryExecutor
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 classQueryExecutorForum
- Parameters:
queryResponseDef
- The response definition of the query, in the native GraphQL format (see here above)- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsedGraphQLRequestPreparationException
- When an error occurs during the request preparation, typically when building theObjectResponse
-
__typenameWithBindValues
@Deprecated public String __typenameWithBindValues(ObjectResponse objectResponse, Map<String, Object> parameters) throws GraphQLRequestExecutionExceptionDeprecated.This method is deprecated: please useQueryExecutor
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 classQueryExecutorForum
- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestForum POJO, as returned by theQueryExecutorForum.get__typenameGraphQLRequest(java.lang.String)
method.parameters
- The list of values, for the bind variables declared in the request you defined. If there is no bind variable in the defined Query, this argument may be null or an emptyMap
- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
__typename
@Deprecated public String __typename(ObjectResponse objectResponse, Object... paramsAndValues) throws GraphQLRequestExecutionException Deprecated.This method is deprecated: please useQueryExecutor
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 classQueryExecutorForum
- Parameters:
objectResponse
- The definition of the response format, that describes what the GraphQL server is expected to return
Note: theObjectResponse
type of this parameter is defined for backward compatibility. In new implementations, the expected type is the generated GraphQLRequestForum POJO, as returned by theQueryExecutorForum.get__typenameGraphQLRequest(java.lang.String)
method.paramsAndValues
- This parameter contains all the name and values for the Bind Variables defined in the objectResponse parameter, that must be sent to the server. Optional parameter may not have a value. They will be ignored and not sent to the server. Mandatory parameter must be provided in this argument.
This parameter contains an even number of parameters: it must be a series of name and values : (paramName1, paramValue1, paramName2, paramValue2...)- Throws:
GraphQLRequestExecutionException
- When an error occurs during the request execution, typically a network error, an error from the GraphQL server or if the server response can't be parsed
-
get__typenameResponseBuilder
Deprecated.This method is deprecated: please useQueryExecutor
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 classQueryExecutorForum
- Returns:
- Throws:
GraphQLRequestPreparationException
-
get__typenameGraphQLRequest
@Deprecated public GraphQLRequestForum get__typenameGraphQLRequest(String partialRequest) throws GraphQLRequestPreparationException Deprecated.This method is deprecated: please useQueryExecutor
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 classQueryExecutorForum
- Parameters:
partialRequest
- The Partial GraphQL request, as explained in the plugin client documentation- Returns:
- Throws:
GraphQLRequestPreparationException
-