Class XdsAuditStrategy<T extends XdsAuditDataset>
java.lang.Object
org.openehealth.ipf.commons.ihe.core.atna.AuditStrategySupport<T>
org.openehealth.ipf.commons.ihe.xds.core.audit.XdsAuditStrategy<T>
- All Implemented Interfaces:
org.openehealth.ipf.commons.ihe.core.atna.AuditStrategy<T>
- Direct Known Subclasses:
XdsNonconstructiveDocumentSetRequestAuditStrategy30,XdsQueryAuditStrategy30,XdsRemoveMetadataAuditStrategy30,XdsSubmitAuditStrategy30
public abstract class XdsAuditStrategy<T extends XdsAuditDataset>
extends org.openehealth.ipf.commons.ihe.core.atna.AuditStrategySupport<T>
Basis for Strategy pattern implementation for ATNA Auditing in XDS transactions.
- Author:
- Dmytro Rud
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanenrichAuditDatasetFromResponse(T auditDataset, Object response, org.openehealth.ipf.commons.audit.AuditContext auditContext) getEventOutcomeDescription(T auditDataset, Object pojo) org.openehealth.ipf.commons.audit.codes.EventOutcomeIndicatorgetEventOutcomeIndicator(T auditDataset, Object pojo) Methods inherited from class org.openehealth.ipf.commons.ihe.core.atna.AuditStrategySupport
doAudit, enrichAuditDatasetFromRequest, isAuditableResponse, isServerSide, makeAuditMessageMethods 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
createAuditDataset, enrichAuditDatasetFromResponse
-
Constructor Details
-
XdsAuditStrategy
public XdsAuditStrategy(boolean serverSide) Constructs an XDS audit strategy.- Parameters:
serverSide- whether this is a server-side or a client-side strategy.
-
-
Method Details
-
getEventOutcomeIndicator
-
getEventOutcomeDescription
-
enrichAuditDatasetFromResponse
public boolean enrichAuditDatasetFromResponse(T auditDataset, Object response, org.openehealth.ipf.commons.audit.AuditContext auditContext) - Specified by:
enrichAuditDatasetFromResponsein interfaceorg.openehealth.ipf.commons.ihe.core.atna.AuditStrategy<T extends XdsAuditDataset>- Overrides:
enrichAuditDatasetFromResponsein classorg.openehealth.ipf.commons.ihe.core.atna.AuditStrategySupport<T extends XdsAuditDataset>
-