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
    Constructor
    Description
    XdsAuditStrategy(boolean serverSide)
    Constructs an XDS audit strategy.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    enrichAuditDatasetFromResponse(T auditDataset, Object response, org.openehealth.ipf.commons.audit.AuditContext auditContext)
     
    getEventOutcomeDescription(T auditDataset, Object pojo)
     
    org.openehealth.ipf.commons.audit.codes.EventOutcomeIndicator
    getEventOutcomeIndicator(T auditDataset, Object pojo)
     

    Methods inherited from class org.openehealth.ipf.commons.ihe.core.atna.AuditStrategySupport

    doAudit, enrichAuditDatasetFromRequest, 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

    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

      public org.openehealth.ipf.commons.audit.codes.EventOutcomeIndicator getEventOutcomeIndicator(T auditDataset, Object pojo)
    • getEventOutcomeDescription

      public String getEventOutcomeDescription(T auditDataset, Object pojo)
    • enrichAuditDatasetFromResponse

      public boolean enrichAuditDatasetFromResponse(T auditDataset, Object response, org.openehealth.ipf.commons.audit.AuditContext auditContext)
      Specified by:
      enrichAuditDatasetFromResponse in interface org.openehealth.ipf.commons.ihe.core.atna.AuditStrategy<T extends XdsAuditDataset>
      Overrides:
      enrichAuditDatasetFromResponse in class org.openehealth.ipf.commons.ihe.core.atna.AuditStrategySupport<T extends XdsAuditDataset>