Interface DataFeedProcessRepository<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:
JpaDataFeedProcessRepository<D>
@NoRepositoryBean
public interface DataFeedProcessRepository<D extends com.broadleafcommerce.data.tracking.core.Trackable>
extends com.broadleafcommerce.data.tracking.core.TrackableRepository<D>, com.broadleafcommerce.data.tracking.core.TrackableRsqlFilterExecutor<D>
Repository
for persistent counter-parts of DataFeedProcess
-
Method Summary
Modifier and TypeMethodDescriptionfindByProcessTypeAndEnabled
(String processType, boolean isEnabled, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Finds allDataFeedProcess
instances matching the given criteria.findByProcessTypeAndEnabledAndApplicationId
(String processType, boolean isEnabled, String applicationId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Finds allDataFeedProcess
instances matching the given criteria.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
-
findByProcessTypeAndEnabled
@Policy(operationTypes=READ) List<D> findByProcessTypeAndEnabled(String processType, boolean isEnabled, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Finds allDataFeedProcess
instances matching the given criteria.- Parameters:
processType
- theDataFeedProcess.getProcessType()
to matchisEnabled
- the value ofDataFeedProcess.isEnabled()
to matchcontextInfo
- context information around multitenant state- Returns:
- a list of found results
-
findByProcessTypeAndEnabledAndApplicationId
@Policy(operationTypes=READ) List<D> findByProcessTypeAndEnabledAndApplicationId(String processType, boolean isEnabled, String applicationId, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Finds allDataFeedProcess
instances matching the given criteria.- Parameters:
processType
- theDataFeedProcess.getProcessType()
to matchisEnabled
- the value ofDataFeedProcess.isEnabled()
to matchapplicationId
- the value ofDataFeedProcess.getApplicationId()
to matchcontextInfo
- context information around multitenant state- Returns:
- a list of found results
-