Class ChPpq3AuditStrategy
java.lang.Object
org.openehealth.ipf.commons.ihe.core.atna.AuditStrategySupport<ChPpqmAuditDataset>
org.openehealth.ipf.commons.ihe.fhir.audit.AbstractFhirAuditStrategy<ChPpqmAuditDataset,IBaseOperationOutcome>
org.openehealth.ipf.commons.ihe.fhir.audit.FhirAuditStrategy<ChPpqmAuditDataset>
org.openehealth.ipf.commons.ihe.fhir.chppqm.chppq3.ChPpq3AuditStrategy
- All Implemented Interfaces:
AuditStrategy<ChPpqmAuditDataset>
- Direct Known Subclasses:
ChPpq3ClientAuditStrategy
,ChPpq3ServerAuditStrategy
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCreates a new audit dataset instance.enrichAuditDatasetFromRequest
(ChPpqmAuditDataset auditDataset, Object request, Map<String, Object> parameters) Enriches the given audit dataset with transaction-specific contents of the request message and Camel exchange.boolean
enrichAuditDatasetFromResponse
(ChPpqmAuditDataset auditDataset, Object response, AuditContext auditContext) Enriches the given audit dataset with transaction-specific contents of the response message.Methods inherited from class org.openehealth.ipf.commons.ihe.fhir.audit.FhirAuditStrategy
getEventOutcomeCodeFromOperationOutcome, getEventOutcomeDescriptionFromOperationOutcome
Methods inherited from class org.openehealth.ipf.commons.ihe.fhir.audit.AbstractFhirAuditStrategy
doAudit, getEventOutcomeCodeFromResource, getEventOutcomeDescription, getEventOutcomeIndicator
Methods inherited from class org.openehealth.ipf.commons.ihe.core.atna.AuditStrategySupport
isAuditableResponse, isServerSide, makeAuditMessage
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
-
Constructor Details
-
ChPpq3AuditStrategy
public ChPpq3AuditStrategy(boolean serverSide)
-
-
Method Details
-
createAuditDataset
Description copied from interface:AuditStrategy
Creates a new audit dataset instance. -
enrichAuditDatasetFromRequest
public ChPpqmAuditDataset enrichAuditDatasetFromRequest(ChPpqmAuditDataset 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<ChPpqmAuditDataset>
- Overrides:
enrichAuditDatasetFromRequest
in classAbstractFhirAuditStrategy<ChPpqmAuditDataset,
IBaseOperationOutcome> - Parameters:
auditDataset
- audit dataset to be enriched.request
-Object
representing the request.parameters
- additional parameters
-
enrichAuditDatasetFromResponse
public boolean enrichAuditDatasetFromResponse(ChPpqmAuditDataset auditDataset, Object response, AuditContext auditContext) Description copied from interface:AuditStrategy
Enriches the given audit dataset with transaction-specific contents of the response message.- Specified by:
enrichAuditDatasetFromResponse
in interfaceAuditStrategy<ChPpqmAuditDataset>
- Overrides:
enrichAuditDatasetFromResponse
in classAbstractFhirAuditStrategy<ChPpqmAuditDataset,
IBaseOperationOutcome> - Parameters:
auditDataset
- audit dataset to be enriched.response
-Object
representing the responded resource.auditContext
- audit context, if relevant- Returns:
- true if response indicates success, false otherwise
-