Examples of ExecutionYear


Examples of org.fenixedu.academic.domain.ExecutionYear

        JsonArray executionYears = computeExecutionYearsForDegreeCurricularPlan(degreeCurricularPlan);
        request.setAttribute("executionYears", executionYears);

        String executionYearId = request.getParameter("executionYear");

        ExecutionYear currentExecutionYear = ExecutionYear.readCurrentExecutionYear();

        if (executionYearId != null) {
            currentExecutionYear = FenixFramework.getDomainObject(executionYearId);
        }
View Full Code Here

Examples of org.fenixedu.academic.domain.ExecutionYear

    }

    @Override
    public void renderReport(Spreadsheet spreadsheet) throws Exception {

        ExecutionYear executionYear = getExecutionYear();
        int civilYear = executionYear.getBeginCivilYear();
        fillSpreadsheet(spreadsheet);

        logger.info("BEGIN report for " + getDegreeType().name());

        List<PhdIndividualProgramProcess> retrieveProcesses = retrieveProcesses(executionYear);
View Full Code Here

Examples of org.fenixedu.academic.domain.ExecutionYear

        String universityName = university.getPartyName().getPreferedContent();

        PhdDiplomaRequest diplomaRequest = getDocumentRequest();
        String phdProgramConclusion =
                BundleUtil.getString(Bundle.ACADEMIC, getLocale(), "label.phd.diploma.pdhProgramConclusion");
        ExecutionYear conclusionYear = ExecutionYear.readByDateTime(diplomaRequest.getConclusionDate());
        String phdProgramDescription =
                getDocumentRequest().getPhdIndividualProgramProcess().getPhdProgram().getDegree().getNameI18N(conclusionYear)
                        .getContent(getLanguage());
        String phdConclusionDate = BundleUtil.getString(Bundle.ACADEMIC, getLocale(), "label.phd.diploma.pdhConclusionDate");
View Full Code Here

Examples of org.fenixedu.academic.domain.ExecutionYear

        if (hasActiveRegistration(degreeCurricularPlan)) {
            final Registration registration = getStudent().getActiveRegistrationFor(degreeCurricularPlan);
            setRegistration(registration);

            ExecutionYear currentYear = ExecutionYear.readCurrentExecutionYear();
            PersonalIngressionData pid = getStudent().getPersonalIngressionDataByExecutionYear(currentYear);
            pid.setCountryOfResidence(getPersonalDetails().getCountryOfResidence());
            PrecedentDegreeInformation pdi = registration.getPrecedentDegreeInformation(currentYear);
            pdi.setSchoolLevel(getMobilityStudentData().getSchoolLevel());
            pdi.setOtherSchoolLevel(getMobilityStudentData().getOtherSchoolLevel());
View Full Code Here

Examples of org.fenixedu.academic.domain.ExecutionYear

        return registration;
    }

    void enrol() {
        final Registration registration = getRegistration();
        final ExecutionYear executionYear = (ExecutionYear) getCandidacyExecutionInterval();
        final ExecutionSemester semesterToEnrol = executionYear.getFirstExecutionPeriod();

        Set<IDegreeModuleToEvaluate> degreeModulesToEnrol = new HashSet<IDegreeModuleToEvaluate>();
        degreeModulesToEnrol.addAll(getModulesToEnrolForFirstSemester());

        registration.getActiveStudentCurricularPlan().enrol(semesterToEnrol, degreeModulesToEnrol, Collections.EMPTY_LIST,
View Full Code Here

Examples of org.fenixedu.academic.domain.ExecutionYear

                CurricularRuleLevel.ENROLMENT_NO_RULES);
    }

    public Collection<DegreeModuleToEnrol> getModulesToEnrolForFirstSemester() {
        final Registration registration = getRegistration();
        final ExecutionYear executionYear = (ExecutionYear) getCandidacyExecutionInterval();
        final ExecutionSemester semesterToEnrol = executionYear.getFirstExecutionPeriod();
        final StudentCurricularPlan studentCurricularPlan = registration.getActiveStudentCurricularPlan();
        final DegreeCurricularPlan degreeCurricularPlan = registration.getLastDegreeCurricularPlan();

        Set<DegreeModuleToEnrol> degreeModulesToEnrol = new HashSet<DegreeModuleToEnrol>();
View Full Code Here

Examples of org.fenixedu.academic.domain.ExecutionYear

        return res.toString();
    }

    final private void reportEntries(final StringBuilder result, final Collection<ICurriculumEntry> entries,
            final Map<Unit, String> academicUnitIdentifiers) {
        ExecutionYear lastReportedExecutionYear = null;
        for (final ICurriculumEntry entry : entries) {
            final ExecutionYear executionYear = entry.getExecutionYear();
            if (lastReportedExecutionYear == null) {
                lastReportedExecutionYear = executionYear;
            }

            if (executionYear != lastReportedExecutionYear) {
View Full Code Here

Examples of org.fenixedu.academic.domain.ExecutionYear

    protected String getDegreeDescription() {
        final DegreeFinalizationCertificateRequest request = getDocumentRequest();

        CycleType cycleType = request.getWhatShouldBeRequestedCycle();

        ExecutionYear conclusionYear = null;
        if (cycleType == null) {
            conclusionYear = getDocumentRequest().getRegistration().getConclusionYear();
        } else {
            conclusionYear =
                    getDocumentRequest().getRegistration().getLastStudentCurricularPlan().getCycle(cycleType).getConclusionYear();
View Full Code Here

Examples of org.fenixedu.academic.domain.ExecutionYear

        if (executionYearID == null) {
            lecturedExecutionCourses = teacher.getAllLecturedExecutionCourses();

        } else {
            ExecutionYear executionYear = FenixFramework.getDomainObject(executionYearID);
            lecturedExecutionCourses = teacher.getLecturedExecutionCoursesByExecutionYear(executionYear);
        }

        List<ExecutionCourse> result;
View Full Code Here

Examples of org.fenixedu.academic.domain.ExecutionYear

        return mapping.findForward("toggleFirstYearShiftsCapacity");
    }

    public ActionForward blockFirstYearShiftsCapacity(ActionMapping mapping, ActionForm form, HttpServletRequest request,
            HttpServletResponse response) throws Exception {
        final ExecutionYear executionYear = getDomainObject(request, "executionYearId");
        Map<ExecutionDegree, Integer> modified = setFirstYearShiftsCapacity(true, executionYear);

        request.setAttribute("affectedDegrees", getAffectedDegreesInfo(modified));
        request.setAttribute("executionYear", executionYear);
        return mapping.findForward("toggleFirstYearShiftsCapacity");
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.