|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RequestObjectBuilder
Interface with the methods used to created the consult or notify request. Default impl :
RequestObjectBuilderImpl Factory : BuilderFactory
| 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 |
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 |
MsgQuery |
createMsgQuery(Integer max,
Boolean include,
String... messageNames)
convenience builder for MsgQuery |
Query |
createQuery(Integer max,
Boolean include)
O creates the Query object. |
| Methods inherited from interface be.ehealth.technicalconnector.utils.ConfigurableImplementation |
|---|
initialize |
| Method Detail |
|---|
Query createQuery(Integer max,
Boolean include)
Query object.
max - maximum number of tack resultsinclude - set to false if no responses should be returned, the default value is 'true'
Query
MsgQuery createMsgQuery(Integer max,
Boolean include,
String... messageNames)
MsgQuery
max - 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
MsgQuery
Post buildPostRequest(CommonInput commonInput,
Blob blob,
byte[] xades)
commonInput - the common inputblob - the details of the transactionxades - the xades
Post buildPostRequest(String projectName,
PostContent postContent)
throws TechnicalConnectorException
projectName - the name of the connector projectpostContent - a pojo holding the post parameters
TechnicalConnectorException
Get buildGetRequest(OrigineType origin,
MsgQuery msgQuery,
Query tackQuery)
origin - the originmsgQuery - the message querytackQuery - the tack query
Confirm buildConfirmRequest(OrigineType origin,
List<MsgResponse> msgResponses,
List<TAckResponse> tackResponses)
throws TechnicalConnectorException,
DataFormatException
origin - the originmsgResponses - the list of messages responses (from the get response)tackResponses - tackContents the tack contents (from the get response)
DataFormatException - if an error occurs while decompressing the blob
TechnicalConnectorException
Confirm buildConfirmRequestWithHashes(OrigineType origin,
List<byte[]> msgHashValues,
List<byte[]> tackContents)
origin - msgHashValues - tackContents -
Confirm buildConfirmWithReferences(OrigineType origin,
GetResponse getResponse)
origin - the origin of the confirmgetResponse - the response of the get for which we want to confirm tAck and messages
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||