Interface DatabaseAuditPlugin

All Superinterfaces:
AuditPlugin
All Known Subinterfaces:
ExtraQueryDatabaseAuditPlugin
All Known Implementing Classes:
ActivityAuditPlugin, BatchAuditPlugin, ExportSearchAuditPlugin, FormulationAuditPlugin, ReportAuditPlugin

public interface DatabaseAuditPlugin extends AuditPlugin

DatabaseAuditPlugin interface.

Version:
$Id: $Id
Author:
matthieu
  • Method Details

    • beforeRecordAuditEntry

      void beforeRecordAuditEntry(Map<String,Serializable> auditValues)

      beforeRecordAuditEntry.

      Parameters:
      auditValues - a Map object
    • afterRecordAuditEntry

      void afterRecordAuditEntry(Map<String,Serializable> auditValues)

      afterRecordAuditEntry.

      Parameters:
      auditValues - a Map object
    • getAuditApplicationId

      String getAuditApplicationId()

      getAuditApplicationId.

      Returns:
      a String object
    • getAuditApplicationPath

      String getAuditApplicationPath()

      getAuditApplicationPath.

      Returns:
      a String object
    • getKeyMap

      Map<String,AuditDataType> getKeyMap()

      getKeyMap.

      Returns:
      a Map object
    • isRecordOnStart

      default boolean isRecordOnStart()
      Whether the entry has to be recorded when the audited operation starts and completed when it ends, instead of being recorded once at the end. An operation heavy enough to bring the server down leaves no trace at all when its entry is only written on completion. Recording it upfront keeps the author, the volume and the start time available even when the operation never returns: such an entry simply stays flagged as not completed.
      Returns:
      a boolean