Interface CartActionAuditProvider

All Known Implementing Classes:
ExternalCartActionAuditProvider

public interface CartActionAuditProvider
Provider for interfacing with CartActionAudits.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.broadleafcommerce.cart.client.domain.CartActionAudit
    createCartActionAudit(@NonNull com.broadleafcommerce.cart.client.domain.CartActionAudit cartActionAudit, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
    Create a new cart action audit.
    org.springframework.data.domain.Page<com.broadleafcommerce.cart.client.domain.CartActionAudit>
    retrieveCartActionAuditsByCartId(@NonNull String cartId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
    Find all cart action audits for a given cart id.
  • Method Details

    • createCartActionAudit

      com.broadleafcommerce.cart.client.domain.CartActionAudit createCartActionAudit(@NonNull @NonNull com.broadleafcommerce.cart.client.domain.CartActionAudit cartActionAudit, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Create a new cart action audit.
      Parameters:
      cartActionAudit - The cart action audit to create
      contextInfo - Context information around sandbox and multitenant state.
      Returns:
      The created audit.
    • retrieveCartActionAuditsByCartId

      org.springframework.data.domain.Page<com.broadleafcommerce.cart.client.domain.CartActionAudit> retrieveCartActionAuditsByCartId(@NonNull @NonNull String cartId, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Find all cart action audits for a given cart id.
      Parameters:
      cartId - The id of the cart
      contextInfo - Context information around sandbox and multitenant state.
      Returns:
      The relevant cart action audits.