Interface DataFeedProcessExecutionRepository<D extends com.broadleafcommerce.data.tracking.core.Trackable>
- All Superinterfaces:
CustomizedDataFeedProcessExecutionRepository<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:
JpaDataFeedProcessExecutionRepository<D>
@NoRepositoryBean
public interface DataFeedProcessExecutionRepository<D extends com.broadleafcommerce.data.tracking.core.Trackable>
extends com.broadleafcommerce.data.tracking.core.TrackableRepository<D>, com.broadleafcommerce.data.tracking.core.TrackableRsqlFilterExecutor<D>, CustomizedDataFeedProcessExecutionRepository<D>
Repository for persistent counter-parts of DataFeedProcessExecution-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.data.domain.Page<D>findAllByDataFeedProcessId(String dataFeedProcessId, cz.jirutka.rsql.parser.ast.Node filters, org.springframework.data.domain.Pageable page, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) Reads the process execution instances for the specified data feed process id.findByContextIdAndDataFeedProcessId(String id, String dataFeedProcessId, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) Reads the process execution instance by id and the data feed process id.Methods inherited from interface com.broadleafcommerce.datafeed.repository.CustomizedDataFeedProcessExecutionRepository
initializeNotificationState, setQueriedDataFileLocation, setStatus, setStatusAndCompletionDetails, setStatusAndStartTimeMethods inherited from interface com.broadleafcommerce.common.messaging.notification.NotificationStateRepository
findNotificationReadyMembers, setFailedNotificationAttempt, setNotificationAcknowledgedMethods 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, setTrackableBehaviorUtilMethods inherited from interface com.broadleafcommerce.data.tracking.core.TrackableRsqlFilterExecutor
exists, findAll, findAll, findAll, findAll
-
Method Details
-
findByContextIdAndDataFeedProcessId
@Policy(operationTypes=READ) Optional<D> findByContextIdAndDataFeedProcessId(String id, String dataFeedProcessId, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo context) Reads the process execution instance by id and the data feed process id.- Parameters:
id- The context id for the entitydataFeedProcessId- the data feed process idcontext- context information around multitenant state- Returns:
- an
Optionalcontaining the narrowed entity instance, elseOptional.empty()
-
findAllByDataFeedProcessId
@Policy(operationTypes=READ) org.springframework.data.domain.Page<D> findAllByDataFeedProcessId(String dataFeedProcessId, @Nullable cz.jirutka.rsql.parser.ast.Node filters, @Nullable org.springframework.data.domain.Pageable page, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo context) Reads the process execution instances for the specified data feed process id.- Parameters:
dataFeedProcessId- the data feed process idfilters- the RSQLNodeused to restrict resultpage- the requested page of results from the databasecontext- context information around multitenant state- Returns:
- the process execution instances for the specified data feed process id
-