Interface IncrementalDataFeedEntityUpdateRecordService<P extends IncrementalDataFeedEntityUpdateRecord>
- All Superinterfaces:
com.broadleafcommerce.data.tracking.core.service.CrudEntityService<P>
,com.broadleafcommerce.data.tracking.core.service.RsqlCrudEntityService<P>
- All Known Implementing Classes:
DefaultIncrementalDataFeedEntityUpdateRecordService
public interface IncrementalDataFeedEntityUpdateRecordService<P extends IncrementalDataFeedEntityUpdateRecord>
extends com.broadleafcommerce.data.tracking.core.service.RsqlCrudEntityService<P>
Service component providing API for CRUD operations on
IncrementalDataFeedEntityUpdateRecord
. Supported by
IncrementalDataFeedEntityUpdateRecordRepository
.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionint
hardDeleteAllByProcessExecutionId
(String dataFeedProcessExecutionId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Atomically finds and hard-deletesIncrementalDataFeedEntityUpdateRecord
instances belonging to the givenDataFeedProcessExecution
.int
setExecutionIdForUnackedRecords
(String dataFeedProcessId, String dataFeedProcessExecutionId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Atomically finds and setsIncrementalDataFeedEntityUpdateRecord.getDataFeedProcessExecutionId()
on allIncrementalDataFeedEntityUpdateRecord
entities where it is currentlynull
.Methods inherited from interface com.broadleafcommerce.data.tracking.core.service.CrudEntityService
create, createAll, createAllAllowingPartialSuccess, delete, readAll, readAll, readAll, readAllByContextId, readByContextId, replace, replaceAll, replaceAllAllowingPartialSuccess, update, updateAll, updateAllAllowingPartialSuccess, updateSort
Methods inherited from interface com.broadleafcommerce.data.tracking.core.service.RsqlCrudEntityService
readAll, readAll, readAll, readAll
-
Method Details
-
setExecutionIdForUnackedRecords
int setExecutionIdForUnackedRecords(String dataFeedProcessId, String dataFeedProcessExecutionId, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Atomically finds and setsIncrementalDataFeedEntityUpdateRecord.getDataFeedProcessExecutionId()
on allIncrementalDataFeedEntityUpdateRecord
entities where it is currentlynull
.- Parameters:
dataFeedProcessId
- the value ofIncrementalDataFeedEntityUpdateRecord.getDataFeedProcessId()
to filter results bydataFeedProcessExecutionId
- the new value to set forIncrementalDataFeedEntityUpdateRecord.getDataFeedProcessExecutionId()
contextInfo
- context information around multitenant state- Returns:
- the number of records that were updated
-
hardDeleteAllByProcessExecutionId
int hardDeleteAllByProcessExecutionId(String dataFeedProcessExecutionId, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Atomically finds and hard-deletesIncrementalDataFeedEntityUpdateRecord
instances belonging to the givenDataFeedProcessExecution
.- Parameters:
dataFeedProcessExecutionId
- the value ofIncrementalDataFeedEntityUpdateRecord.getDataFeedProcessExecutionId()
to matchcontextInfo
- context information around multitenant state- Returns:
- the number of records that were deleted
-