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

All Superinterfaces:
CustomizedPriceDataUsageDetailRepository<D>, com.broadleafcommerce.common.extension.DomainTypeAware, com.broadleafcommerce.common.messaging.notification.NotificationStateRepository, org.springframework.data.repository.Repository<D,String>, com.broadleafcommerce.data.tracking.core.TrackableRepository<D>, com.broadleafcommerce.data.tracking.core.TrackableRsqlFilterExecutor<D>
All Known Subinterfaces:
JpaPriceDataUsageDetailRepository<D>

public interface PriceDataUsageDetailRepository<D extends com.broadleafcommerce.data.tracking.core.Trackable> extends com.broadleafcommerce.data.tracking.core.TrackableRepository<D>, com.broadleafcommerce.data.tracking.core.TrackableRsqlFilterExecutor<D>, CustomizedPriceDataUsageDetailRepository<D>
Repository for persistent counter-parts of PriceDataUsageDetail
Author:
karanjariwala
  • Method Details

    • findAllByTransactionReferenceTypeAndTransactionReferenceId

      @Policy(operationTypes=READ) org.springframework.data.domain.Page<D> findAllByTransactionReferenceTypeAndTransactionReferenceId(String transactionReferenceType, String transactionReferenceId, @Nullable org.springframework.data.domain.Pageable page, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Parameters:
      transactionReferenceType - the referenceType of the transaction (e.g. CART)
      transactionReferenceId - the referenceId of the transaction (e.g. cartId)
      page - the page
      contextInfo - the context info
      Returns:
      Page of PriceDataUsageDetail
    • findAllByPriceDataIdIn

      @Policy(operationTypes=READ) org.springframework.data.domain.Page<D> findAllByPriceDataIdIn(Collection<String> priceDataIds, @Nullable org.springframework.data.domain.Pageable page, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Parameters:
      priceDataIds - a collection of priceDataIds that are to be fetched
      page - the page
      contextInfo - the context info
      Returns:
      Page of PriceDataUsageDetail