Class Iti47AuditStrategy
java.lang.Object
org.openehealth.ipf.commons.ihe.core.atna.AuditStrategySupport<Hl7v3AuditDataset>
org.openehealth.ipf.commons.ihe.hl7v3.audit.Hl7v3AuditStrategy
org.openehealth.ipf.commons.ihe.hl7v3.iti47.Iti47AuditStrategy
- All Implemented Interfaces:
GroovyObject,AuditStrategy<Hl7v3AuditDataset>
- Direct Known Subclasses:
Iti55AuditStrategy
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionenrichAuditDatasetFromRequest(Hl7v3AuditDataset auditDataset, Object request, Map<String, Object> parameters) Enriches the given audit dataset with transaction-specific contents of the request message and Camel exchange.booleanenrichAuditDatasetFromResponse(Hl7v3AuditDataset auditDataset, Object response, AuditContext auditContext) Enriches the given audit dataset with transaction-specific contents of the response message.makeAuditMessage(AuditContext auditContext, Hl7v3AuditDataset auditDataset) Constructs anAuditMessagefrom a providedAuditDatasetvoidMethods inherited from class org.openehealth.ipf.commons.ihe.hl7v3.audit.Hl7v3AuditStrategy
addPatientIds, createAuditDataset, getEventOutcomeDescription, getEventOutcomeIndicator, slurpMethods inherited from class org.openehealth.ipf.commons.ihe.core.atna.AuditStrategySupport
doAudit, isAuditableResponse, isServerSideMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.openehealth.ipf.commons.ihe.core.atna.AuditStrategy
enrichAuditDatasetFromResponseMethods inherited from interface groovy.lang.GroovyObject
getProperty, invokeMethod, setProperty
-
Constructor Details
-
Iti47AuditStrategy
public Iti47AuditStrategy(boolean serverSide)
-
-
Method Details
-
getMetaClass
- Specified by:
getMetaClassin interfaceGroovyObject- Overrides:
getMetaClassin classHl7v3AuditStrategy
-
setMetaClass
- Specified by:
setMetaClassin interfaceGroovyObject- Overrides:
setMetaClassin classHl7v3AuditStrategy
-
enrichAuditDatasetFromRequest
public Hl7v3AuditDataset enrichAuditDatasetFromRequest(Hl7v3AuditDataset auditDataset, Object request, Map<String, Object> parameters) Description copied from interface:AuditStrategyEnriches the given audit dataset with transaction-specific contents of the request message and Camel exchange.- Specified by:
enrichAuditDatasetFromRequestin interfaceAuditStrategy<Hl7v3AuditDataset>- Overrides:
enrichAuditDatasetFromRequestin classAuditStrategySupport<Hl7v3AuditDataset>- Parameters:
auditDataset- audit dataset to be enriched.request-Objectrepresenting the request.parameters- additional parameters
-
enrichAuditDatasetFromResponse
public boolean enrichAuditDatasetFromResponse(Hl7v3AuditDataset auditDataset, Object response, AuditContext auditContext) Description copied from interface:AuditStrategyEnriches the given audit dataset with transaction-specific contents of the response message.- Specified by:
enrichAuditDatasetFromResponsein interfaceAuditStrategy<Hl7v3AuditDataset>- Overrides:
enrichAuditDatasetFromResponsein classHl7v3AuditStrategy- Parameters:
auditDataset- audit dataset to be enriched.response-Objectrepresenting the responded resource.auditContext- audit context, if relevant- Returns:
- true if response indicates success, false otherwise
-
makeAuditMessage
Description copied from class:AuditStrategySupportConstructs anAuditMessagefrom a providedAuditDataset- Specified by:
makeAuditMessagein classAuditStrategySupport<Hl7v3AuditDataset>- Parameters:
auditContext- audit contextauditDataset- audit dataset- Returns:
- audit message
-