Class Iti55AuditStrategy
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
org.openehealth.ipf.commons.ihe.hl7v3.iti55.Iti55AuditStrategy
- All Implemented Interfaces:
GroovyObject,AuditStrategy<Hl7v3AuditDataset>
-
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.booleanisAuditableResponse(Object response) Determines whether the given response finalizes the interaction and thus the ATNA auditing should be finalized as well.makeAuditMessage(AuditContext auditContext, Hl7v3AuditDataset auditDataset) Constructs anAuditMessagefrom a providedAuditDatasetvoidMethods inherited from class org.openehealth.ipf.commons.ihe.hl7v3.iti47.Iti47AuditStrategy
enrichAuditDatasetFromResponseMethods 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, 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
-
Iti55AuditStrategy
public Iti55AuditStrategy(boolean serverSide)
-
-
Method Details
-
getMetaClass
- Specified by:
getMetaClassin interfaceGroovyObject- Overrides:
getMetaClassin classIti47AuditStrategy
-
setMetaClass
- Specified by:
setMetaClassin interfaceGroovyObject- Overrides:
setMetaClassin classIti47AuditStrategy
-
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 classIti47AuditStrategy- Parameters:
auditDataset- audit dataset to be enriched.request-Objectrepresenting the request.parameters- additional parameters
-
makeAuditMessage
Description copied from class:AuditStrategySupportConstructs anAuditMessagefrom a providedAuditDataset- Overrides:
makeAuditMessagein classIti47AuditStrategy- Parameters:
auditContext- audit contextauditDataset- audit dataset- Returns:
- audit message
-
isAuditableResponse
Description copied from interface:AuditStrategyDetermines whether the given response finalizes the interaction and thus the ATNA auditing should be finalized as well.Per default always returns
true.- Specified by:
isAuditableResponsein interfaceAuditStrategy<Hl7v3AuditDataset>- Overrides:
isAuditableResponsein classAuditStrategySupport<Hl7v3AuditDataset>- Parameters:
response- response in transaction-specific format (POJO, XML string, etc.).- Returns:
truewhen this response finalizes the interaction.
-