Class Iti8AuditStrategy
java.lang.Object
org.openehealth.ipf.commons.ihe.core.atna.AuditStrategySupport<FeedAuditDataset>
org.openehealth.ipf.commons.ihe.hl7v2.audit.iti8.Iti8AuditStrategy
- All Implemented Interfaces:
AuditStrategy<FeedAuditDataset>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCreates a new audit dataset instance.enrichAuditDatasetFromRequest
(FeedAuditDataset auditDataset, Object msg, Map<String, Object> parameters) Enriches the given audit dataset with transaction-specific contents of the request message and Camel exchange.makeAuditMessage
(AuditContext auditContext, FeedAuditDataset auditDataset) Constructs anAuditMessage
from a providedAuditDataset
protected AuditMessage
patientRecordAuditMessage
(AuditContext auditContext, FeedAuditDataset auditDataset, EventActionCode eventActionCode, boolean newPatientId) Methods inherited from class org.openehealth.ipf.commons.ihe.core.atna.AuditStrategySupport
doAudit, enrichAuditDatasetFromResponse, getEventOutcomeDescription, getEventOutcomeIndicator, isAuditableResponse, isServerSide
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.openehealth.ipf.commons.ihe.core.atna.AuditStrategy
enrichAuditDatasetFromResponse, getEventOutcomeDescription, getEventOutcomeIndicator
-
Constructor Details
-
Iti8AuditStrategy
public Iti8AuditStrategy(boolean serverSide)
-
-
Method Details
-
enrichAuditDatasetFromRequest
public FeedAuditDataset enrichAuditDatasetFromRequest(FeedAuditDataset auditDataset, Object msg, Map<String, Object> parameters) Description copied from interface:AuditStrategy
Enriches the given audit dataset with transaction-specific contents of the request message and Camel exchange.- Specified by:
enrichAuditDatasetFromRequest
in interfaceAuditStrategy<FeedAuditDataset>
- Overrides:
enrichAuditDatasetFromRequest
in classAuditStrategySupport<FeedAuditDataset>
- Parameters:
auditDataset
- audit dataset to be enriched.msg
-Object
representing the request.parameters
- additional parameters
-
createAuditDataset
Description copied from interface:AuditStrategy
Creates a new audit dataset instance. -
makeAuditMessage
Description copied from class:AuditStrategySupport
Constructs anAuditMessage
from a providedAuditDataset
- Specified by:
makeAuditMessage
in classAuditStrategySupport<FeedAuditDataset>
- Parameters:
auditContext
- audit contextauditDataset
- audit dataset- Returns:
- audit message
-
patientRecordAuditMessage
protected AuditMessage patientRecordAuditMessage(AuditContext auditContext, FeedAuditDataset auditDataset, EventActionCode eventActionCode, boolean newPatientId)
-