Event Service
Component Detail
Service Layer
high complexity
mobilebackend
0
Dependencies
0
Dependents
2
Entities
0
Integrations
Description
Business logic layer for event lifecycle management including creation, editing, participant management, and aggregation for Bufdir reporting. Orchestrates between the wizard UI, the Event Repository, and the real-time subscription infrastructure.
event-service
Responsibilities
- Orchestrate event creation with participant linking
- Validate event data and participant counts before persistence
- Aggregate participant counts for Bufdir report generation
- Coordinate post-creation edits and participant changes
Interfaces
createEvent(eventData, participantIds)
updateEvent(eventId, changes)
addParticipant(eventId, userId)
removeParticipant(eventId, userId)
getEventWithParticipants(eventId)
listEventsForOrganization(orgId, filters)
getEventAggregatesForBufdirReport(orgId, period)
deleteEvent(eventId)
Related Data Entities (2)
Data entities managed by this component