|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbe.ehealth.businessconnector.genericasync.builders.impl.RequestObjectBuilderImpl
public class RequestObjectBuilderImpl
Implementation for the RequestObjectBuilder interface
| Field Summary | |
|---|---|
static String |
GENERICASYNC
|
| Constructor Summary | |
|---|---|
RequestObjectBuilderImpl()
|
|
| Method Summary | |
|---|---|
Confirm |
buildConfirmRequest(OrigineType origin,
List<MsgResponse> msgResponses,
List<TAckResponse> tackResponses)
Builds a Confirm request from given parameters |
Confirm |
buildConfirmRequestWithHashes(OrigineType origin,
List<byte[]> msgHashValues,
List<byte[]> tackContents)
Builds a Confirm request from given parameters |
Confirm |
buildConfirmWithReferences(OrigineType origin,
GetResponse getResponse)
Builds a Confirm request, using references as tAck as message identifiers |
Get |
buildGetRequest(OrigineType origin,
MsgQuery msgQuery,
Query tackQuery)
Builds a Get request from given parameters |
Get |
buildGetRequest(OrigineType origin,
MsgQuery msgQuery,
Query tackQuery,
byte[] replyToEtk)
|
Get |
buildGetRequest(OrigineType origin,
MsgQuery msgQuery,
Query tackQuery,
QueryParameters queryParameters)
|
Get |
buildGetRequest(OrigineType origin,
MsgQuery msgQuery,
Query tackQuery,
QueryParameters queryParameters,
byte[] replyToEtk)
|
Post |
buildPostRequest(CommonInput commonInput,
Blob blob,
byte[] xades)
Builds a Post request from given parameters |
Post |
buildPostRequest(String projectName,
PostContent postContent)
Builds a Post request from given parameters |
Post |
buildPostRequest(String messageName,
String projectName,
String platformName,
byte[] xmlByteArray,
InputReference inputReference)
|
Post |
buildPostRequest(String messageName,
String projectName,
String platformName,
ConfigName configName,
byte[] xmlByteArray,
InputReference inputReference)
|
Post |
buildPostRequest(String messageName,
String projectName,
String platformName,
Object object,
String schemaLocation,
InputReference inputReference)
|
MsgQuery |
createMsgQuery(Integer max,
Boolean include,
String... messageNames)
convenience builder for MsgQuery |
Query |
createQuery(Integer max,
Boolean include)
O creates the Query object. |
void |
initialize(Map<String,Object> parameterMap)
initializes the implementation with additional parameters. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String GENERICASYNC
| Constructor Detail |
|---|
public RequestObjectBuilderImpl()
| Method Detail |
|---|
public final Post buildPostRequest(CommonInput commonInput,
Blob blob,
byte[] xades)
RequestObjectBuilder
buildPostRequest in interface RequestObjectBuildercommonInput - the common inputblob - the details of the transactionxades - the xades
public final Post buildPostRequest(String projectName,
PostContent postContent)
throws TechnicalConnectorException
RequestObjectBuilder
buildPostRequest in interface RequestObjectBuilderprojectName - the name of the connector projectpostContent - a pojo holding the post parameters
TechnicalConnectorException
public final Get buildGetRequest(OrigineType origin,
MsgQuery msgQuery,
Query tackQuery)
RequestObjectBuilder
buildGetRequest in interface RequestObjectBuilderorigin - the originmsgQuery - the message querytackQuery - the tack query
RequestObjectBuilder.buildGetRequest(be.cin.mycarenet.esb.common.v2.OrigineType,
be.cin.nip.async.generic.MsgQuery, be.cin.nip.async.generic.Query)
public final Get buildGetRequest(OrigineType origin,
MsgQuery msgQuery,
Query tackQuery,
QueryParameters queryParameters)
buildGetRequest in interface RequestObjectBuilder
public final Get buildGetRequest(OrigineType origin,
MsgQuery msgQuery,
Query tackQuery,
QueryParameters queryParameters,
byte[] replyToEtk)
buildGetRequest in interface RequestObjectBuilder
public final Get buildGetRequest(OrigineType origin,
MsgQuery msgQuery,
Query tackQuery,
byte[] replyToEtk)
buildGetRequest in interface RequestObjectBuilder
public final Confirm buildConfirmRequest(OrigineType origin,
List<MsgResponse> msgResponses,
List<TAckResponse> tackResponses)
throws TechnicalConnectorException,
DataFormatException
RequestObjectBuilder
buildConfirmRequest in interface RequestObjectBuilderorigin - the originmsgResponses - the list of messages responses (from the get response)tackResponses - tackContents the tack contents (from the get response)
TechnicalConnectorException
DataFormatException - if an error occurs while decompressing the blobRequestObjectBuilder.buildConfirmRequest(be.cin.mycarenet.esb.common.v2.OrigineType,
java.util.List, java.util.List)
public Confirm buildConfirmRequestWithHashes(OrigineType origin,
List<byte[]> msgHashValues,
List<byte[]> tackContents)
buildConfirmRequestWithHashes in interface RequestObjectBuilderorigin - msgHashValues - tackContents -
public Confirm buildConfirmWithReferences(OrigineType origin,
GetResponse getResponse)
RequestObjectBuilder
buildConfirmWithReferences in interface RequestObjectBuilderorigin - the origin of the confirmgetResponse - the response of the get for which we want to confirm tAck and messages
public Query createQuery(Integer max,
Boolean include)
RequestObjectBuilderQuery object.
createQuery in interface RequestObjectBuildermax - maximum number of tack resultsinclude - set to false if no responses should be returned, the default value is 'true'
QueryRequestObjectBuilder.createQuery(java.lang.Integer, java.lang.Boolean)
public MsgQuery createMsgQuery(Integer max,
Boolean include,
String... messageNames)
RequestObjectBuilderMsgQuery
createMsgQuery in interface RequestObjectBuildermax - maximum number of tack resultsinclude - set to false if no responses should be returned, the default value is 'true'messageNames - indicate the message types to receive, if no names are given , all messages for careProvider will be returned
MsgQueryRequestObjectBuilder.createMsgQuery(java.lang.Integer, java.lang.Boolean,
java.lang.String[])
public void initialize(Map<String,Object> parameterMap)
throws TechnicalConnectorException
ConfigurableImplementation
initialize in interface ConfigurableImplementationparameterMap - Map with for each propertyString ,the input parameter as Object.
TechnicalConnectorException - if the parameterMap is not correct.ConfigurableImplementation.initialize(java.util.Map)
public Post buildPostRequest(String messageName,
String projectName,
String platformName,
Object object,
String schemaLocation,
InputReference inputReference)
throws TechnicalConnectorException
buildPostRequest in interface RequestObjectBuilderTechnicalConnectorException
public Post buildPostRequest(String messageName,
String projectName,
String platformName,
byte[] xmlByteArray,
InputReference inputReference)
throws TechnicalConnectorException
buildPostRequest in interface RequestObjectBuilderTechnicalConnectorException
public Post buildPostRequest(String messageName,
String projectName,
String platformName,
ConfigName configName,
byte[] xmlByteArray,
InputReference inputReference)
throws TechnicalConnectorException
buildPostRequest in interface RequestObjectBuilderTechnicalConnectorException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||