public class IntraHubTransactionServiceImpl extends Object implements IntraHubTransactionService, ConfigurationModuleBootstrap.ModuleBootstrapHook
IntraHubTransactionService Extends : IntraHubAbstract| Constructor and Description |
|---|
IntraHubTransactionServiceImpl()
needed for ModuleBootstrapHook.
|
IntraHubTransactionServiceImpl(IntraHubService hubService,
HubReplyValidator validator)
Instantiates a new intra hub transaction service.
|
| Modifier and Type | Method and Description |
|---|---|
void |
bootstrap() |
List<IDKMEHR> |
declareTransaction(KmehrHeaderDeclareTransaction input)
Declare transaction.
|
Kmehrmessage |
getTransaction(PatientIdType patient,
TransactionBaseType transaction)
Gets the transaction.
|
KmehrHeaderGetTransactionList |
getTransactionList(PatientIdType patient,
LocalSearchType searchType,
TransactionWithPeriodType transaction)
Gets the transaction list.
|
void |
putTransaction(Kmehrmessage input)
Put transaction.
|
void |
requestPublication(PatientIdType patient,
TransactionWithPeriodType transaction,
String comment)
Request publication.
|
void |
revokeTransaction(PatientIdType patient,
TransactionIdType transaction)
Revoke transaction.
|
public IntraHubTransactionServiceImpl(IntraHubService hubService, HubReplyValidator validator) throws TechnicalConnectorException, IntraHubBusinessConnectorException
hubService - the hub servicevalidator - the validatorTechnicalConnectorException - the technical connector exceptionIntraHubBusinessConnectorException - the business connector exceptionpublic IntraHubTransactionServiceImpl()
public List<IDKMEHR> declareTransaction(KmehrHeaderDeclareTransaction input) throws TechnicalConnectorException, IntraHubBusinessConnectorException
IntraHubTransactionServicedeclareTransaction in interface IntraHubTransactionServiceinput - the kmehr headerTechnicalConnectorException - the technical connector exceptionIntraHubBusinessConnectorException - the business connector exceptionbe.ehealth.businessconnector.hub.service.IntraHubTransactionService#declareTransaction(java.lang.String)public void putTransaction(Kmehrmessage input) throws TechnicalConnectorException, IntraHubBusinessConnectorException
IntraHubTransactionServiceputTransaction in interface IntraHubTransactionServiceinput - the kmehr headerTechnicalConnectorException - the technical connector exceptionIntraHubBusinessConnectorException - the business connector exceptionbe.ehealth.businessconnector.hub.service.IntraHubTransactionService#putTransaction(java.lang.String)public void revokeTransaction(PatientIdType patient, TransactionIdType transaction) throws TechnicalConnectorException, IntraHubBusinessConnectorException
IntraHubTransactionServicerevokeTransaction in interface IntraHubTransactionServicepatient - the patienttransaction - the transactionTechnicalConnectorException - the technical connector exceptionIntraHubBusinessConnectorException - the business connector exceptionIntraHubTransactionService.revokeTransaction(be.fgov.ehealth.hubservices.core.v1.PatientIdType,
be.fgov.ehealth.hubservices.core.v1.TransactionIdType)public KmehrHeaderGetTransactionList getTransactionList(PatientIdType patient, LocalSearchType searchType, TransactionWithPeriodType transaction) throws TechnicalConnectorException, IntraHubBusinessConnectorException
IntraHubTransactionServicegetTransactionList in interface IntraHubTransactionServicepatient - the patientsearchType - the search typetransaction - the transactionTechnicalConnectorException - the technical connector exceptionIntraHubBusinessConnectorException - the business connector exceptionIntraHubTransactionService.getTransactionList(be.fgov.ehealth.hubservices.core.v1.PatientIdType,
be.fgov.ehealth.hubservices.core.v1.LocalSearchType, be.fgov.ehealth.hubservices.core.v1.TransactionWithPeriodType)public Kmehrmessage getTransaction(PatientIdType patient, TransactionBaseType transaction) throws TechnicalConnectorException, IntraHubBusinessConnectorException
IntraHubTransactionServicegetTransaction in interface IntraHubTransactionServicepatient - the patienttransaction - the transactionTechnicalConnectorException - the technical connector exceptionIntraHubBusinessConnectorException - the business connector exceptionIntraHubTransactionService.getTransaction(be.fgov.ehealth.hubservices.core.v1.PatientIdType,
be.fgov.ehealth.hubservices.core.v1.TransactionBaseType)public void requestPublication(PatientIdType patient, TransactionWithPeriodType transaction, String comment) throws TechnicalConnectorException, IntraHubBusinessConnectorException
IntraHubTransactionServicerequestPublication in interface IntraHubTransactionServicepatient - the patienttransaction - the transactioncomment - the commentTechnicalConnectorException - the technical connector exceptionIntraHubBusinessConnectorException - the business connector exceptionIntraHubTransactionService.requestPublication(be.fgov.ehealth.hubservices.core.v1.PatientIdType,
be.fgov.ehealth.hubservices.core.v1.TransactionWithPeriodType, java.lang.String)public void bootstrap()
bootstrap in interface ConfigurationModuleBootstrap.ModuleBootstrapHook
Connector Packaging generic 4.4.0 API
Copyright © {inceptionYear}-2023 eHealth. All Rights Reserved.