Interface SharedCodeAuditSummaryRepository<D extends com.broadleafcommerce.data.tracking.core.Trackable>
- All Superinterfaces:
AlternateLifecycleSharedCodeAuditSummaryRepository<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:
JpaSharedCodeAuditSummaryRepository<D>
@NoRepositoryBean
public interface SharedCodeAuditSummaryRepository<D extends com.broadleafcommerce.data.tracking.core.Trackable>
extends com.broadleafcommerce.data.tracking.core.TrackableRepository<D>, com.broadleafcommerce.data.tracking.core.TrackableRsqlFilterExecutor<D>, AlternateLifecycleSharedCodeAuditSummaryRepository<D>
-
Method Summary
Modifier and TypeMethodDescriptionfindAllByOfferCodeIdIn
(Set<String> offerCodeIds, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Retrieve allSharedCodeAuditSummary
records that relate to the provided offer code IDs.findByOfferCodeId
(String offerCodeId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Retrieve theSharedCodeAuditSummary
record for the provided offer code ID.Methods inherited from interface com.broadleafcommerce.promotion.offer.repository.AlternateLifecycleSharedCodeAuditSummaryRepository
createOrUpdateAndIncrement
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
-
findAllByOfferCodeIdIn
@Policy(operationTypes=READ) List<D> findAllByOfferCodeIdIn(@NonNull Set<String> offerCodeIds, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Retrieve allSharedCodeAuditSummary
records that relate to the provided offer code IDs.- Parameters:
offerCodeIds
- the IDs of the offer code to find audit records forcontextInfo
- the context to perform the operation in- Returns:
- the
SharedCodeAuditSummary
records that relate to the provided offer code IDs
-
findByOfferCodeId
@Nullable @Policy(operationTypes=READ) D findByOfferCodeId(@NonNull String offerCodeId, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Retrieve theSharedCodeAuditSummary
record for the provided offer code ID.- Parameters:
offerCodeId
- the ID of the offer code to find audit records forcontextInfo
- the context to perform the operation in- Returns:
- the
SharedCodeAuditSummary
record that relates to the provided offer code ID
-