Class AuditInformation.AuditInformationBuilder

java.lang.Object
com.broadleafcommerce.common.audit.event.AuditInformation.AuditInformationBuilder
Enclosing class:
AuditInformation

public static class AuditInformation.AuditInformationBuilder extends Object
  • Method Details

    • primary

      The primary user associated with the current flow. May be null if unknown. Represented by the sub attribute of the JWT token.
      Returns:
      this.
    • secondary

      public AuditInformation.AuditInformationBuilder secondary(String secondary)
      The secondary user associated with the current flow (acting on behalf of the primary user). May be null if unknown. Represented by the csr_sub attribute of the JWT token.
      Returns:
      this.
    • customerId

      public AuditInformation.AuditInformationBuilder customerId(String customerId)
      The customer id associated with the current flow. May be null if unknown. Represented by the customer_id attribute of the JWT token.
      Returns:
      this.
    • accountId

      public AuditInformation.AuditInformationBuilder accountId(String accountId)
      The account id associated with the current flow. May be null if unknown. Represented by the acct_id attribute of the JWT token.
      Returns:
      this.
    • tenantId

      The tenant id associated with the current flow. May be null if unknown. Harvested from the ContextInfo instance (if available).
      Returns:
      this.
    • catalogId

      public AuditInformation.AuditInformationBuilder catalogId(String catalogId)
      The catalog id associated with the current flow. May be null if unknown. Harvested from the ContextInfo instance (if available).
      Returns:
      this.
    • applicationId

      public AuditInformation.AuditInformationBuilder applicationId(String applicationId)
      The application id associated with the current flow. May be null if unknown. Harvested from the ContextInfo instance (if available).
      Returns:
      this.
    • build

      public AuditInformation build()
    • toString

      public String toString()
      Overrides:
      toString in class Object