Class ProcessedAuditHandlerInput

java.lang.Object
com.kingsrook.qqq.backend.core.model.actions.audits.ProcessedAuditHandlerInput
All Implemented Interfaces:
Serializable

public class ProcessedAuditHandlerInput extends Object implements Serializable
Input for processed audit handlers containing AuditSingleInput objects. This provides the same data that gets stored in the audit tables.
See Also:
  • Constructor Details

    • ProcessedAuditHandlerInput

      public ProcessedAuditHandlerInput()
  • Method Details

    • getAuditSingleInputs

      public List<AuditSingleInput> getAuditSingleInputs()
      Getter for auditSingleInputs
    • setAuditSingleInputs

      public void setAuditSingleInputs(List<AuditSingleInput> auditSingleInputs)
      Setter for auditSingleInputs
    • withAuditSingleInputs

      public ProcessedAuditHandlerInput withAuditSingleInputs(List<AuditSingleInput> auditSingleInputs)
      Fluent setter for auditSingleInputs
      Parameters:
      auditSingleInputs - list of individual audit records to be processed
    • getTimestamp

      public Instant getTimestamp()
      Getter for timestamp
    • setTimestamp

      public void setTimestamp(Instant timestamp)
      Setter for timestamp
    • withTimestamp

      public ProcessedAuditHandlerInput withTimestamp(Instant timestamp)
      Fluent setter for timestamp
      Parameters:
      timestamp - when the audit event occurred
    • getSession

      public QSession getSession()
      Getter for session
    • setSession

      public void setSession(QSession session)
      Setter for session
    • withSession

      public ProcessedAuditHandlerInput withSession(QSession session)
      Fluent setter for session
      Parameters:
      session - the user session associated with the audit
    • getSourceType

      public String getSourceType()
      Getter for sourceType
    • setSourceType

      public void setSourceType(String sourceType)
      Setter for sourceType
    • withSourceType

      public ProcessedAuditHandlerInput withSourceType(String sourceType)
      Fluent setter for sourceType
      Parameters:
      sourceType - identifier for the type of source that triggered the audit