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

All Superinterfaces:
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:
JpaOfferAuditDetailRepository<D>

@NoRepositoryBean public interface OfferAuditDetailRepository<D extends com.broadleafcommerce.data.tracking.core.Trackable> extends com.broadleafcommerce.data.tracking.core.TrackableRepository<D>, com.broadleafcommerce.data.tracking.core.TrackableRsqlFilterExecutor<D>
Author:
Nathan Moore (nathanmoore).
  • Method Summary

    Modifier and Type
    Method
    Description
    findAllByOfferCodeIdIn(Set<String> offerCodeIds, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
    Find all OfferAuditDetail records that relate to the provided offer code id.
    findAllByOfferCodeIdInAndTargetValueAndTargetType(Set<String> offerCodeIds, String userTargetValue, String userTargetType, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
    Find all OfferAuditDetail records that relate to the provided offer code ids.
    findAllByOfferIdIn(Set<String> offerIds, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
    Find all OfferAuditDetail records that relate to the provided offer id.
    findAllByOfferIdInAndTargetValueAndTargetType(Set<String> offerIds, String userTargetValue, String userTargetType, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
    Find all OfferAuditDetail records that relate to the provided offer ids.

    Methods inherited from interface com.broadleafcommerce.common.messaging.notification.NotificationStateRepository

    findNotificationReadyMembers, setFailedNotificationAttempt, setNotificationAcknowledged

    Methods inherited from interface com.broadleafcommerce.data.tracking.core.TrackableRepository

    archive, existsByContextId, findAll, findAll, findAll, findAll, findAll, findAll, findAllByContextId, findByContextId, findByContextIdAndCatalog, findByNativeId, findDeployable, findMaxSortMember, findMinSortMember, findOriginal, findPromotable, findPromoteOrientedItems, findRebasable, findRejectable, findRevertable, findTarget, getDomainType, getEntityInformation, getTrackableBehaviorUtil, getTypesToRegisterInMappingContext, pruneChangeDetails, pruneRestingNotificationStates, purgeObsoleteSandboxData, save, saveAll, setTrackableBehaviorUtil

    Methods inherited from interface com.broadleafcommerce.data.tracking.core.TrackableRsqlFilterExecutor

    exists, findAll, findAll, findAll, findAll
  • Method Details

    • findAllByOfferIdIn

      @Policy(operationTypes=READ) List<D> findAllByOfferIdIn(Set<String> offerIds, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Find all OfferAuditDetail records that relate to the provided offer id.
      Parameters:
      offerIds - The set of offer ids to use to fetch related OfferAuditDetail records.
      contextInfo - context information around sandbox and multitenant state
      Returns:
      all OfferAuditDetail records that relate to the provided offer id.
    • findAllByOfferCodeIdIn

      @Policy(operationTypes=READ) List<D> findAllByOfferCodeIdIn(Set<String> offerCodeIds, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Find all OfferAuditDetail records that relate to the provided offer code id.
      Parameters:
      offerCodeIds - The set of offer code ids to use to fetch related OfferAuditDetail records.
      contextInfo - context information around sandbox and multitenant state
      Returns:
      all OfferAuditDetail records that relate to the provided offer code ids.
    • findAllByOfferCodeIdInAndTargetValueAndTargetType

      @Policy(operationTypes=READ) List<D> findAllByOfferCodeIdInAndTargetValueAndTargetType(Set<String> offerCodeIds, String userTargetValue, String userTargetType, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Find all OfferAuditDetail records that relate to the provided offer code ids.
      Parameters:
      offerCodeIds - The set of offer code ids to use to fetch related OfferAuditDetail records.
      contextInfo - context information around sandbox and multitenant state
      Returns:
      all OfferAuditDetail records that relate to the provided offer code ids.
    • findAllByOfferIdInAndTargetValueAndTargetType

      @Policy(operationTypes=READ) List<D> findAllByOfferIdInAndTargetValueAndTargetType(Set<String> offerIds, String userTargetValue, String userTargetType, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Find all OfferAuditDetail records that relate to the provided offer ids.
      Parameters:
      offerIds - The set of offer ids to use to fetch related OfferAuditDetail records.
      contextInfo - context information around sandbox and multitenant state
      Returns:
      all OfferAuditDetail records that relate to the provided offer ids.