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
-
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.boolean
isAuditableResponse
(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 anAuditMessage
from a providedAuditDataset
void
Methods inherited from class org.openehealth.ipf.commons.ihe.hl7v3.iti47.Iti47AuditStrategy
enrichAuditDatasetFromResponse
Methods inherited from class org.openehealth.ipf.commons.ihe.hl7v3.audit.Hl7v3AuditStrategy
addPatientIds, createAuditDataset, getEventOutcomeDescription, getEventOutcomeIndicator, slurp
Methods inherited from class org.openehealth.ipf.commons.ihe.core.atna.AuditStrategySupport
doAudit, getEventOutcomeDescription, getEventOutcomeIndicator, 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
Methods inherited from interface groovy.lang.GroovyObject
getProperty, invokeMethod, setProperty
-
Constructor Details
-
Iti55AuditStrategy
public Iti55AuditStrategy(boolean serverSide)
-
-
Method Details
-
getMetaClass
- Specified by:
getMetaClass
in interfaceGroovyObject
- Overrides:
getMetaClass
in classIti47AuditStrategy
-
setMetaClass
- Specified by:
setMetaClass
in interfaceGroovyObject
- Overrides:
setMetaClass
in classIti47AuditStrategy
-
enrichAuditDatasetFromRequest
public Hl7v3AuditDataset enrichAuditDatasetFromRequest(Hl7v3AuditDataset auditDataset, Object request, 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<Hl7v3AuditDataset>
- Overrides:
enrichAuditDatasetFromRequest
in classIti47AuditStrategy
- Parameters:
auditDataset
- audit dataset to be enriched.request
-Object
representing the request.parameters
- additional parameters
-
makeAuditMessage
Description copied from class:AuditStrategySupport
Constructs anAuditMessage
from a providedAuditDataset
- Overrides:
makeAuditMessage
in classIti47AuditStrategy
- Parameters:
auditContext
- audit contextauditDataset
- audit dataset- Returns:
- audit message
-
isAuditableResponse
Description copied from interface:AuditStrategy
Determines whether the given response finalizes the interaction and thus the ATNA auditing should be finalized as well.Per default always returns
true
.- Specified by:
isAuditableResponse
in interfaceAuditStrategy<Hl7v3AuditDataset>
- Overrides:
isAuditableResponse
in classAuditStrategySupport<Hl7v3AuditDataset>
- Parameters:
response
- response in transaction-specific format (POJO, XML string, etc.).- Returns:
true
when this response finalizes the interaction.
-