}
public ActionForward downloadRoomLessonOccupationInfo(ActionMapping mapping, ActionForm form, HttpServletRequest request,
HttpServletResponse response) throws IOException {
final ExecutionSemester executionSemester = getExecutionSemester(request);
final ExecutionYear executionYear = executionSemester.getExecutionYear();
response.setContentType("application/vnd.ms-excel");
response.setHeader("Content-disposition", "attachment; filename=occupationMap"
+ executionYear.getYear().replace('/', '_') + "_" + executionSemester.getSemester() + ".xls");
final RoomMap occupationMap = new RoomMap();
Space.getSpaces().forEach(s -> occupationMap.register(s));
for (final ExecutionCourse executionCourse : executionSemester.getAssociatedExecutionCoursesSet()) {
for (final CourseLoad courseLoad : executionCourse.getCourseLoadsSet()) {
for (final Shift shift : courseLoad.getShiftsSet()) {
for (final Lesson lesson : shift.getAssociatedLessonsSet()) {
occupationMap.register(lesson);
}