Class ChPpq4AuditStrategy
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.chppq4.ChPpq4AuditStrategy
- All Implemented Interfaces:
AuditStrategy<ChPpqmAuditDataset>
- Direct Known Subclasses:
ChPpq4ClientAuditStrategy, ChPpq4ServerAuditStrategy
-
Constructor Summary
Constructors -
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.booleanenrichAuditDatasetFromResponse(ChPpqmAuditDataset auditDataset, Object response, AuditContext auditContext) Enriches the given audit dataset with transaction-specific contents of the response message.Methods inherited from class FhirAuditStrategy
getEventOutcomeCodeFromOperationOutcome, getEventOutcomeDescriptionFromOperationOutcomeMethods inherited from class AbstractFhirAuditStrategy
doAudit, getEventOutcomeCodeFromResource, getEventOutcomeDescription, getEventOutcomeIndicatorMethods inherited from class AuditStrategySupport
isAuditableResponse, isServerSide, makeAuditMessageMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface AuditStrategy
enrichAuditDatasetFromResponse
-
Constructor Details
-
ChPpq4AuditStrategy
public ChPpq4AuditStrategy(boolean serverSide)
-
-
Method Details
-
createAuditDataset
Description copied from interface:AuditStrategyCreates a new audit dataset instance. -
enrichAuditDatasetFromRequest
public ChPpqmAuditDataset enrichAuditDatasetFromRequest(ChPpqmAuditDataset 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<ChPpqmAuditDataset>- Overrides:
enrichAuditDatasetFromRequestin classAbstractFhirAuditStrategy<ChPpqmAuditDataset, IBaseOperationOutcome>- Parameters:
auditDataset- audit dataset to be enriched.request-Objectrepresenting the request.parameters- additional parameters
-
enrichAuditDatasetFromResponse
public boolean enrichAuditDatasetFromResponse(ChPpqmAuditDataset 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<ChPpqmAuditDataset>- Overrides:
enrichAuditDatasetFromResponsein classAbstractFhirAuditStrategy<ChPpqmAuditDataset, IBaseOperationOutcome>- 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
-