Exam Session initialization
On this page we should have a crud for SubjectExam
entity that enables search by:
- session
- definition.subject
- definition.cycle
- room
- date
On the top of the page, there should be a box for initialization of the session, where the user selects the YearExamSession
and clicks on button Initialize
.
On this action, we need to iterate over all ExamDefinition
entities with examSession=selectedYearExamSession.session
and to create an entity SubjectExam
with the provided YearExamSession
and ExamDefinition
if it does not already exist. After creation, the interface SubjectExamResourceCalculator.calculate(SubjectExam exam)
method should be invoked (this method should be in separate service and will be defined in another task).
The newly created SubjectExam
should be saved in the database.