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 TypeMethodDescriptionfindAllByContextIdAndMatchingTenant
(Iterable<String> contextIds, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Retrieves the credit accounts matching the provided IDs and the tenant fromContextInfo
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 fromContextInfo
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 idscontextInfo
- Context information related to multitenancy- Returns:
- The list of credit accounts matching the provided IDs and the tenant from the context
-