Bulk Import Store
Component Detail
Data Layer
medium complexity
backend
0
Dependencies
2
Dependents
2
Entities
0
Integrations
Description
Data layer managing bulk registration records including the batch metadata (coordinator, timestamp, participant count) and the individual activity records generated per participant. Tracks bulk operation history for audit trail purposes and supports querying bulk registrations in the activity feed and coordinator reports.
bulk-import-store
Responsibilities
- Persist bulk registration batch metadata with coordinator and timestamp
- Store individual activity records linked to the bulk batch
- Support transactional writes for atomic batch creation and rollback
- Provide query interfaces for bulk registration history and audit trail
- Label bulk-created activities distinctly in activity feed and audit log
Interfaces
createBulkBatch(batch: BulkBatchMetadata): String
addBatchActivities(batchId: String, activities: List<Activity>): void
commitBatch(batchId: String): void
rollbackBatch(batchId: String): void
getBulkBatchesByCoordinator(coordinatorId: String): List<BulkBatchMetadata>
getBatchActivities(batchId: String): List<Activity>
getBulkActivityCount(batchId: String): int
markBatchCancelled(batchId: String): void
Relationships
Dependents (2)
Components that depend on this component
Related Data Entities (2)
Data entities managed by this component