Examples of EnrolmentPeriodInSpecialSeasonEvaluations


Examples of org.fenixedu.academic.domain.EnrolmentPeriodInSpecialSeasonEvaluations

            HttpServletResponse response) {
        final Student student = getLoggedStudent(request);

        final List<StudentCurricularPlan> scps = generateSCPList(student);
        if (enrollmentPeriodNotOpen(new ArrayList<StudentCurricularPlan>(scps))) {
            EnrolmentPeriodInSpecialSeasonEvaluations enrolmentPeriod = getNextEnrollmentPeriod(scps);
            if (enrolmentPeriod == null) {
                addActionMessage("warning", request, "message.out.curricular.course.enrolment.period.default");
                request.setAttribute("disableContinue", true);
            } else {
                addActionMessage("warning", request, "message.out.special.season.enrolment.period.upcoming", enrolmentPeriod
                        .getStartDateDateTime().toString("dd-MM-yyyy"),
                        enrolmentPeriod.getEndDateDateTime().toString("dd-MM-yyyy"));
                request.setAttribute("disableContinue", true);
            }
        } else if (hasPendingDebts(student)) {
            addActionMessage("error", request, "error.special.season.cannot.enroll.due.to.pending.debts");
            request.setAttribute("disableContinue", true);
View Full Code Here

Examples of org.fenixedu.academic.domain.EnrolmentPeriodInSpecialSeasonEvaluations

    }

    private EnrolmentPeriodInSpecialSeasonEvaluations getNextEnrollmentPeriod(List<StudentCurricularPlan> scps) {
        final List<EnrolmentPeriodInSpecialSeasonEvaluations> nextOpenPeriodsForEachSCP =
                new ArrayList<EnrolmentPeriodInSpecialSeasonEvaluations>();
        EnrolmentPeriodInSpecialSeasonEvaluations result;
        for (final StudentCurricularPlan scp : scps) {
            result = scp.getDegreeCurricularPlan().getNextSpecialSeasonEnrolmentPeriod();
            if (result != null) {
                nextOpenPeriodsForEachSCP.add(result);
            }
View Full Code Here

Examples of org.fenixedu.academic.domain.EnrolmentPeriodInSpecialSeasonEvaluations

            new EnrolmentPeriodInCurricularCourses(degreeCurricularPlan, executionSemester, startDate, endDate);

        } else if (EnrolmentPeriodType.ENROLMENT_PERIOD_IN_SPECIAL_SEASON_EVALUATIONS.equals(enrolmentPeriodType)) {

            new EnrolmentPeriodInSpecialSeasonEvaluations(degreeCurricularPlan, executionSemester, startDate, endDate);

        } else if (EnrolmentPeriodType.ENROLMENT_PERIOD_IN_CURRICULAR_COURSES_SPECIAL_SEASON.equals(enrolmentPeriodType)) {

            new EnrolmentPeriodInCurricularCoursesSpecialSeason(degreeCurricularPlan, executionSemester, startDate, endDate);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.