final Space campus = (Space) FenixFramework.getDomainObject(campusID);
if (campus == null) {
throw new FenixServiceException("error.noCampus");
}
final OccupationPeriod periodLessonsFirstSemester =
getOccupationPeriod(periodLessonsFirstSemesterBegin, periodLessonsFirstSemesterEnd);
final OccupationPeriod periodLessonsSecondSemester =
getOccupationPeriod(periodLessonsSecondSemesterBegin, periodLessonsSecondSemesterEnd);
final OccupationPeriod periodExamsFirstSemester =
getOccupationPeriod(periodExamsFirstSemesterBegin, periodExamsFirstSemesterEnd);
final OccupationPeriod periodExamsSecondSemester =
getOccupationPeriod(periodExamsSecondSemesterBegin, periodExamsSecondSemesterEnd);
final OccupationPeriod periodExamsSpecialSeason =
getOccupationPeriod(periodExamsSpecialSeasonBegin, periodExamsSpecialSeasonEnd);
final OccupationPeriod gradeSubmissionNormalSeason1 =
getOccupationPeriod(periodExamsFirstSemesterBegin, gradeSubmissionNormalSeason1EndDate);
final OccupationPeriod gradeSubmissionNormalSeason2 =
getOccupationPeriod(periodExamsSecondSemesterBegin, gradeSubmissionNormalSeason2EndDate);
final OccupationPeriod gradeSubmissionSpecialSeason =
getOccupationPeriod(periodExamsSpecialSeasonBegin, gradeSubmissionSpecialSeasonEndDate);
executionDegree.edit(executionYear, campus, publishedExamMap, periodLessonsFirstSemester, periodExamsFirstSemester,
periodLessonsSecondSemester, periodExamsSecondSemester, periodExamsSpecialSeason, gradeSubmissionNormalSeason1,
gradeSubmissionNormalSeason2, gradeSubmissionSpecialSeason);