public ActionForward markAsTemporaryEnrolled( ActionMapping mapping, ActionForm actionForm, HttpServletRequest request, HttpServletResponse response) { Enrolment enrolment = readEnrolment(request); PreBolognaEvaluationManagement.markAsTemporaryEnrolled(enrolment); return prepareSetEvaluations(mapping, actionForm, request, response); }
public ActionForward prepareCurriculumValidation( ActionMapping mapping, ActionForm actionForm, HttpServletRequest request, HttpServletResponse response) { StudentCurricularPlan studentCurricularPlan = readStudentCurricularPlan(request); request.setAttribute( "studentCurriculumValidationAllowed", PreBolognaEvaluationManagement.getEvaluationForCurriculumValidationAllowed( studentCurricularPlan)); return mapping.findForward("show-curriculum-validation-options"); }
public ActionForward removeEnrolmentEvaluation( ActionMapping mapping, ActionForm actionForm, HttpServletRequest request, HttpServletResponse response) throws Exception { EnrolmentEvaluation evaluationToVoid = readEnrolmentEvaluation(request); try { PreBolognaEvaluationManagement.deleteEnrolmentEvaluationCurriculumValidationContext( evaluationToVoid); } catch (DomainException de) { addActionMessage("error", request, de.getKey(), de.getArgs()); } return prepareEditEvaluation(mapping, actionForm, request, response); }
@Override public ActionForward execute( ActionMapping mapping, ActionForm actionForm, HttpServletRequest request, HttpServletResponse response) throws Exception { StudentCurricularPlan studentCurricularPlan = readStudentCurricularPlan(request); if (studentCurricularPlan != null) { request.setAttribute( "studentCurriculumValidationAllowed", PreBolognaEvaluationManagement.getEvaluationForCurriculumValidationAllowed( studentCurricularPlan)); } return super.execute(mapping, actionForm, request, response); }