public final class QueryData extends ParentClient
| Constructor and Description |
|---|
QueryData()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
query(java.util.Map<java.lang.String,java.lang.String> msgOptions)
Invokes the QueryData operation with the given parameters.
|
java.lang.String |
query(java.lang.String dataType)
Invokes the QueryData operation with no parameters (just the query identification).
|
java.lang.String |
query(java.lang.String dataType,
java.util.Date startTime)
Invokes the QueryData operation with start time parameter.
|
java.lang.String |
query(java.lang.String dataType,
java.util.Date startTime,
java.util.Date endTime)
Invokes the QueryData operation with start and end time parameters.
|
java.lang.String |
query(java.lang.String dataType,
java.util.Date startTime,
java.util.Date endTime,
java.util.Map<java.lang.String,java.lang.String> others)
Invokes the QueryData operation with the given parameters.
|
ch.iec.tc57._2011.schema.message.ResponseMessage |
queryWithResponseMessage(java.util.Map<java.lang.String,java.lang.String> msgOptions)
Invokes the QueryData operation with the given parameters.
|
ch.iec.tc57._2011.schema.message.ResponseMessage |
queryWithResponseMessage(java.lang.String dataType)
Invokes the QueryData operation with no parameters (just the query identification).
|
ch.iec.tc57._2011.schema.message.ResponseMessage |
queryWithResponseMessage(java.lang.String dataType,
java.util.Date startTime,
java.util.Date endTime,
java.util.Map<java.lang.String,java.lang.String> others)
Invokes the QueryData operation with the given parameters.
|
getMessageMetaData, sendMessage, setCertificate, setEndPoint, setEndPoint, setPrivateKey, setSignRequest, setVerifyResponse, validateResponse, validateResponsepublic java.lang.String query(java.lang.String dataType)
throws es.ree.eemws.core.utils.operations.query.QueryOperationException
dataType - Indicates the type of data being requested.es.ree.eemws.core.utils.operations.query.QueryOperationException - If the retrieved message has an invalid format or the application cannot handle it.
or if the retrieved message has invalid signature or is not valid (has no header, invalid verb, etc.)queryWithResponseMessage(String)public ch.iec.tc57._2011.schema.message.ResponseMessage queryWithResponseMessage(java.lang.String dataType)
throws es.ree.eemws.core.utils.operations.query.QueryOperationException
dataType - Indicates the type of data being requested.es.ree.eemws.core.utils.operations.query.QueryOperationException - If the retrieved message has an invalid format or the application cannot handle it.
or if the retrieved message has invalid signature or is not valid (has no header, invalid verb, etc.)query(String)public java.lang.String query(java.lang.String dataType,
java.util.Date startTime)
throws es.ree.eemws.core.utils.operations.query.QueryOperationException
dataType - Indicates the type of data being requested.startTime - Specifies that the returned message should only include data whose Application Date is after the
given date.es.ree.eemws.core.utils.operations.query.QueryOperationException - If the retrieved message has an invalid format or the application cannot handle it.
or if the retrieved message has invalid signature or is not valid (has no header, invalid verb, etc.)public java.lang.String query(java.lang.String dataType,
java.util.Date startTime,
java.util.Date endTime)
throws es.ree.eemws.core.utils.operations.query.QueryOperationException
dataType - Indicates the type of data being requested.startTime - Specifies that the returned message should only include data whose Application Date is after the
given dateendTime - Specifies that the returned message should only include data whose Application Date is before the
given date.es.ree.eemws.core.utils.operations.query.QueryOperationException - If the retrieved message has an invalid format or the application cannot handle it.
or if the retrieved message has invalid signature or is not valid (has no header, invalid verb, etc.)public java.lang.String query(java.util.Map<java.lang.String,java.lang.String> msgOptions)
throws es.ree.eemws.core.utils.operations.query.QueryOperationException
msgOptions - List options as a Map which key must be on the EnumFilterElement list.es.ree.eemws.core.utils.operations.query.QueryOperationException - If the retrieved message has an invalid format or the application cannot handle it.
or if the retrieved message has invalid signature or is not valid (has no header, invalid verb, etc.)public ch.iec.tc57._2011.schema.message.ResponseMessage queryWithResponseMessage(java.util.Map<java.lang.String,java.lang.String> msgOptions)
throws es.ree.eemws.core.utils.operations.query.QueryOperationException
msgOptions - List options as a Map which key must be on the EnumFilterElement list.es.ree.eemws.core.utils.operations.query.QueryOperationException - If the retrieved message has an invalid format or if the application cannot handle it.
or if the retrieved message has invalid signature or is not valid (has no header, invalid verb, etc.)public java.lang.String query(java.lang.String dataType,
java.util.Date startTime,
java.util.Date endTime,
java.util.Map<java.lang.String,java.lang.String> others)
throws es.ree.eemws.core.utils.operations.query.QueryOperationException
dataType - Indicates the type of data being requested.startTime - Specifies that the returned message should only include data whose Application Date is after the
given date. (Can be null).endTime - Specifies that the returned message should only include data whose Application Date is before the
given date. (Can be null).others - Specifies others parameters to the query. The parameters are expressed as a key-value pairs, where
the value is optional.es.ree.eemws.core.utils.operations.query.QueryOperationException - If the retrieved message has an invalid format or the application cannot handle it.
or if the retrieved message has invalid signature or is not valid (has no header, invalid verb, etc.)queryWithResponseMessage(String, Date, Date, Map)public ch.iec.tc57._2011.schema.message.ResponseMessage queryWithResponseMessage(java.lang.String dataType,
java.util.Date startTime,
java.util.Date endTime,
java.util.Map<java.lang.String,java.lang.String> others)
throws es.ree.eemws.core.utils.operations.query.QueryOperationException
dataType - Indicates the type of data being requested.startTime - Specifies that the returned message should only include data whose Application Date is after the
given date. (Can be null).endTime - Specifies that the returned message should only include data whose Application Date is before the
given date. (Can be null).others - Specifies others parameters to the query. The parameters are expressed as a key-value pairs, where
the value is optional.es.ree.eemws.core.utils.operations.query.QueryOperationException - If the retrieved message has an invalid format or the application cannot handle it.
or if the retrieved message has invalid signature or is not valid (has no header, invalid verb, etc.)query(String, Date, Date, Map)