Class AuditHandlerExecutor

java.lang.Object
com.kingsrook.qqq.backend.core.actions.audits.AuditHandlerExecutor

public class AuditHandlerExecutor extends Object
Executor for audit handlers. Handles both sync and async execution of DML and Processed audit handlers.
  • Constructor Details

    • AuditHandlerExecutor

      public AuditHandlerExecutor()
  • Method Details

    • executeDMLHandlers

      public void executeDMLHandlers(String tableName, DMLAuditHandlerInput input) throws QException
      Execute all DML audit handlers for the given table.
      Parameters:
      tableName - the table name to get handlers for
      input - the DML audit handler input
      Throws:
      QException - if a sync handler with FAIL_OPERATION policy throws
    • executeProcessedHandlers

      public void executeProcessedHandlers(String tableName, ProcessedAuditHandlerInput input) throws QException
      Execute all processed audit handlers for the given table.
      Parameters:
      tableName - the table name to get handlers for (from the first audit single input)
      input - the processed audit handler input
      Throws:
      QException - if a sync handler with FAIL_OPERATION policy throws