Class AuditHandlerExecutor
java.lang.Object
com.kingsrook.qqq.backend.core.actions.audits.AuditHandlerExecutor
Executor for audit handlers.
Handles both sync and async execution of DML and Processed audit handlers.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecuteDMLHandlers(String tableName, DMLAuditHandlerInput input) Execute all DML audit handlers for the given table.voidexecuteProcessedHandlers(String tableName, ProcessedAuditHandlerInput input) Execute all processed audit handlers for the given table.
-
Constructor Details
-
AuditHandlerExecutor
public AuditHandlerExecutor()
-
-
Method Details
-
executeDMLHandlers
Execute all DML audit handlers for the given table.- Parameters:
tableName- the table name to get handlers forinput- 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
-