public ActionForward showSummariesPostBack(ActionMapping mapping, ActionForm form, HttpServletRequest request,
HttpServletResponse response) {
final IViewState viewState = RenderUtils.getViewState();
ShowSummariesBean bean = (ShowSummariesBean) viewState.getMetaObject().getObject();
ExecutionCourse executionCourse = bean.getExecutionCourse();
ShiftType shiftType = bean.getShiftType();
Shift shift = bean.getShift();
SummaryTeacherBean summaryTeacher = bean.getSummaryTeacher();
Professorship teacher = (summaryTeacher != null) ? summaryTeacher.getProfessorship() : null;
Boolean otherTeachers = (summaryTeacher != null) ? summaryTeacher.getOthers() : null;
SummariesOrder summariesOrder = bean.getSummariesOrder();
Set<Summary> summariesToShow =
summariesOrder == null || summariesOrder.equals(SummariesOrder.DECREASING) ? new TreeSet<Summary>(
Summary.COMPARATOR_BY_DATE_AND_HOUR) : new TreeSet<Summary>(new ReverseComparator(
Summary.COMPARATOR_BY_DATE_AND_HOUR));