Mentor Program Service
Component Detail
Service Layer
medium complexity
mobilebackend
2
Dependencies
5
Dependents
2
Entities
0
Integrations
Description
Core business logic service for managing mentor program sessions and career workshops. Orchestrates session creation, updates, participant management, and note persistence. Enforces coordinator-only access via the Role Guard Service and delegates data operations to the Workshop Repository.
mentor-program-service
Responsibilities
- Create, update, and archive mentor program sessions
- Coordinate participant enrollment and attendance tracking
- Manage session to-do lists stored as JSON within session records
- Enforce role-based access so only coordinators can manage sessions
Interfaces
createSession(data)
updateSession(sessionId, data)
archiveSession(sessionId)
getSessionById(sessionId)
listSessions(organizationId)
addParticipant(sessionId, contactId)
removeParticipant(sessionId, participantId)
updateAttendance(sessionId, participantId, day, present)
saveTodos(sessionId, todos)
getTodos(sessionId)
saveNotes(sessionId, dayNumber, content)
getNotes(sessionId, dayNumber)
Relationships
Dependencies (2)
Components this component depends on
Dependents (5)
Components that depend on this component
Related Data Entities (2)
Data entities managed by this component