Interface CustomizedCreditAccountRepository<D extends com.broadleafcommerce.data.tracking.core.Trackable>

All Known Subinterfaces:
CreditAccountRepository<D>, JpaCreditAccountRepository<D>
All Known Implementing Classes:
JpaCustomizedCreditAccountRepository

public interface CustomizedCreditAccountRepository<D extends com.broadleafcommerce.data.tracking.core.Trackable>
Advanced functionality related to CreditAccount.
Author:
Dima Myroniuk (dmyroniuk)
  • Method Summary

    Modifier and Type
    Method
    Description
    findAllByContextIdAndMatchingTenant(Iterable<String> contextIds, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
    Retrieves the credit accounts matching the provided IDs and the tenant from ContextInfo if present.
  • Method Details

    • findAllByContextIdAndMatchingTenant

      @Policy(operationTypes=READ) List<D> findAllByContextIdAndMatchingTenant(Iterable<String> contextIds, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Retrieves the credit accounts matching the provided IDs and the tenant from ContextInfo if present.

      This implementation finds all records within the tenant regardless of whether they're associated to an application.

      Parameters:
      contextIds - the credit account context ids
      contextInfo - Context information related to multitenancy
      Returns:
      The list of credit accounts matching the provided IDs and the tenant from the context