Class AuditHelper


  • public final class AuditHelper
    extends Object
    Helper class to decouple audit log code.
    • Constructor Detail

      • AuditHelper

        public AuditHelper()
    • Method Detail

      • addAuditLog

        public static void addAuditLog​(Request request,
                                       DataTree.ProcessTxnResult txnResult,
                                       boolean failedTxn)
        Add audit log if audit log is enabled and operation is of type which to be audit logged.
        Parameters:
        request - user request
        txnResult - ProcessTxnResult
        failedTxn - whether audit is being done failed transaction for normal transaction