OldRoom room, Partial hour, boolean toCreate) {
OldRoom room, Partial hour) {
    private void setInfoToSummary(MultiLanguageString title, MultiLanguageString summaryText,	    Integer studentsNumber, Boolean isExtraLesson, Professorship professorship,	    String teacherName, Teacher teacher, Shift shift, Lesson lesson, YearMonthDay date,	    OldRoom room, Partial hour, boolean toCreate) {	checkParameters(title, summaryText, isExtraLesson, professorship, teacherName, teacher, shift,		lesson, date, room, hour);	checkTeacher(teacher, shift.getDisciplinaExecucao());	checkDate(date, shift.getDisciplinaExecucao().getExecutionPeriod(), lesson, toCreate);	setExecutionCourse(shift.getDisciplinaExecucao());	setTitle(title);	setSummaryText(summaryText);	setStudentsNumber(studentsNumber);	setIsExtraLesson(isExtraLesson);	setProfessorship(professorship);	setTeacherName(teacherName);	setTeacher(teacher);	setShift(shift);	setSummaryDateYearMonthDay(date);	setLastModifiedDateDateTime(new DateTime());	setSummaryType(shift.getTipo());	if (isExtraLesson) {	    HourMinuteSecond hourMinuteSecond = new HourMinuteSecond(hour.get(DateTimeFieldType		    .hourOfDay()), hour.get(DateTimeFieldType.minuteOfHour()), 0);	    setSummaryHourHourMinuteSecond(hourMinuteSecond);	    setRoom(room);	    removeLesson();	} else {	    setLesson(lesson);	    setRoom(lesson.getSala());	    setSummaryHourHourMinuteSecond(lesson.getBeginHourMinuteSecond());	}    }