Interface CustomizedIncrementalDataFeedEntityUpdateRecordRepository<D extends com.broadleafcommerce.data.tracking.core.Trackable>
- All Known Subinterfaces:
- IncrementalDataFeedEntityUpdateRecordRepository<D>,- JpaIncrementalDataFeedEntityUpdateRecordRepository<D>
- All Known Implementing Classes:
- JpaCustomizedIncrementalDataFeedEntityUpdateRecordRepository
public interface CustomizedIncrementalDataFeedEntityUpdateRecordRepository<D extends com.broadleafcommerce.data.tracking.core.Trackable>
Advanced repository methods for 
IncrementalDataFeedEntityUpdateRecordRepository.- 
Method SummaryModifier and TypeMethodDescriptioninthardDeleteAllByProcessExecutionId(String dataFeedProcessExecutionId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Atomically finds and hard-deletesIncrementalDataFeedEntityUpdateRecordinstances belonging to the givenDataFeedProcessExecution.intsetExecutionIdForUnackedRecords(String dataFeedProcessId, String dataFeedProcessExecutionId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Atomically finds and setsIncrementalDataFeedEntityUpdateRecord.getDataFeedProcessExecutionId()on allIncrementalDataFeedEntityUpdateRecordentities where it is currentlynull.
- 
Method Details- 
setExecutionIdForUnackedRecords@Policy(operationTypes=UPDATE) int setExecutionIdForUnackedRecords(String dataFeedProcessId, String dataFeedProcessExecutionId, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Atomically finds and setsIncrementalDataFeedEntityUpdateRecord.getDataFeedProcessExecutionId()on allIncrementalDataFeedEntityUpdateRecordentities where it is currentlynull.- Parameters:
- dataFeedProcessId- the value of- IncrementalDataFeedEntityUpdateRecord.getDataFeedProcessId()to filter results by
- dataFeedProcessExecutionId- the new value to set for- IncrementalDataFeedEntityUpdateRecord.getDataFeedProcessExecutionId()
- contextInfo- context information around multitenant state
- Returns:
- the number of records that were updated
 
- 
hardDeleteAllByProcessExecutionId@Policy(operationTypes=DELETE) int hardDeleteAllByProcessExecutionId(String dataFeedProcessExecutionId, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Atomically finds and hard-deletesIncrementalDataFeedEntityUpdateRecordinstances belonging to the givenDataFeedProcessExecution.- Parameters:
- dataFeedProcessExecutionId- the value of- IncrementalDataFeedEntityUpdateRecord.getDataFeedProcessExecutionId()to match
- contextInfo- context information around multitenant state
- Returns:
- the number of records that were deleted
 
 
-