be.ehealth.businessconnector.mycarenet.attest.builders.impl
Class RequestObjectBuilderImpl
java.lang.Object
be.ehealth.businessconnector.mycarenet.attest.builders.impl.RequestObjectBuilderImpl
- All Implemented Interfaces:
- RequestObjectBuilder, ConfigurationModuleBootstrap.ModuleBootstrapHook
public class RequestObjectBuilderImpl
- extends Object
- implements RequestObjectBuilder, ConfigurationModuleBootstrap.ModuleBootstrapHook
- See Also:
RequestObjectBuilder
RequestObjectBuilderImpl
public RequestObjectBuilderImpl()
buildSendAttestationRequest
public AttestBuilderRequest buildSendAttestationRequest(boolean isTest,
InputReference references,
Ssin patientSsin,
org.joda.time.DateTime referenceDate,
Kmehrmessage msg)
throws TechnicalConnectorException,
AttestBusinessConnectorException,
JAXBException,
TransformerException,
UnsupportedEncodingException
- Description copied from interface:
RequestObjectBuilder
- Creates the SendAttestationRequest that will be sent to the EHealth Web service and checks validity against the
corresponding XSD
- Specified by:
buildSendAttestationRequest in interface RequestObjectBuilder
- Parameters:
isTest - indicates if this is a test or notpatientSsin - the ssin of the the patientreferenceDate - the reference datemsg - the kmehr message specifying the attestation to send
- Returns:
- a wrapper containing the valid request that will be sent to the WS and the SendTransactionRequest before encryption
- Throws:
TechnicalConnectorException
AttestBusinessConnectorException
JAXBException
TransformerException
UnsupportedEncodingException
bootstrap
public void bootstrap()
- Specified by:
bootstrap in interface ConfigurationModuleBootstrap.ModuleBootstrapHook
Connector Packaging generic 3.24.0-beta-4 API
Copyright © {inceptionYear}-2022 eHealth. All Rights Reserved.