public class EncryptedRequestObjectBuilderImpl extends Object implements RequestObjectBuilder, ConfigurationModuleBootstrap.ModuleBootstrapHook
RequestObjectBuilder| Constructor and Description |
|---|
EncryptedRequestObjectBuilderImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
bootstrap() |
<T extends AgreementBuilderRequest> |
build(boolean isTest,
InputReference references,
Patient patientInfo,
org.joda.time.DateTime refDate,
byte[] messageFHIR,
T requestBuilder) |
AskAgreementBuilderRequest |
buildAskAgreementRequest(boolean isTest,
InputReference reference,
Patient patientInfo,
org.joda.time.DateTime refDate,
byte[] messageFHIR)
Creates the request that will be sent to the EHealth Web service and checks validity against the
corresponding XSD
|
ConsultAgreementBuilderRequest |
buildConsultAgreementRequest(boolean isTest,
InputReference reference,
Patient patientInfo,
org.joda.time.DateTime refDate,
byte[] messageFHIR) |
static byte[] |
buildXades(String id,
byte[] contentToSign) |
boolean |
equals(Object obj) |
public AskAgreementBuilderRequest buildAskAgreementRequest(boolean isTest, InputReference reference, Patient patientInfo, org.joda.time.DateTime refDate, byte[] messageFHIR) throws TechnicalConnectorException, AgreementBusinessConnectorException
RequestObjectBuilderbuildAskAgreementRequest in interface RequestObjectBuilderisTest - indicates if this is a test or notreference - the reference of the the patientmessageFHIR - the xml who ll be transformed in b64 and maybe encryptedTechnicalConnectorException - the technical connector exceptionAgreementBusinessConnectorException - the Agreement Business connector exceptionpublic ConsultAgreementBuilderRequest buildConsultAgreementRequest(boolean isTest, InputReference reference, Patient patientInfo, org.joda.time.DateTime refDate, byte[] messageFHIR) throws TechnicalConnectorException, AgreementBusinessConnectorException
buildConsultAgreementRequest in interface RequestObjectBuilderTechnicalConnectorExceptionAgreementBusinessConnectorExceptionpublic <T extends AgreementBuilderRequest> void build(boolean isTest, InputReference references, Patient patientInfo, org.joda.time.DateTime refDate, byte[] messageFHIR, T requestBuilder) throws TechnicalConnectorException, AgreementBusinessConnectorException
public static byte[] buildXades(String id, byte[] contentToSign) throws TechnicalConnectorException
TechnicalConnectorExceptionpublic void bootstrap()
bootstrap in interface ConfigurationModuleBootstrap.ModuleBootstrapHook
Connector Packaging generic 4.7.3 API
Copyright © {inceptionYear}-2025 eHealth. All Rights Reserved.