Package org.fenixedu.academic.domain

Examples of org.fenixedu.academic.domain.ExecutionYear$ExecutionYearSearchCache


                precedentInfo.setPhdIndividualProgramProcess(getPhdIndividualProgramProcess());
            } else {
                precedentInfo.setRegistration(getRegistration());
            }

            ExecutionYear currentExecutionYear = ExecutionYear.readCurrentExecutionYear();
            personalData = getStudent().getPersonalIngressionDataByExecutionYear(currentExecutionYear);
            if (personalData == null) {
                personalData = new PersonalIngressionData(getStudent(), currentExecutionYear, precedentInfo);
            } else {
                personalData.addPrecedentDegreesInformations(precedentInfo);
View Full Code Here


    public void setDegrees(List<Degree> degrees) {
        this.degrees = degrees;
    }

    public void graduatedPersonCandidacyLog() {
        ExecutionYear executionYear = ExecutionYear.readCurrentExecutionYear();
        CandidaciesLog.createLog(getDegree(), executionYear, Bundle.MESSAGING,
                "log.degree.candidacies.introduceresultsforgraduatedperson", getCandidacyProcess().getPersonalDetails()
                        .getPerson().getName());

    }
View Full Code Here

        checkIsScientificCommissionMember();
    }

    private void checkIsScientificCommissionMember() {
        final Enrolment enrolment = getEnrolment();
        final ExecutionYear executionYear = enrolment.getExecutionYear();
        final DegreeCurricularPlan degreeCurricularPlan = enrolment.getDegreeCurricularPlanOfStudent();
        final Person person = AccessControl.getPerson();

        if (person != null) {
            for (final ScientificCommission scientificCommission : person.getScientificCommissionsSet()) {
View Full Code Here

            return false;
        }
    }

    private ExecutionDegree getExecutionDegree(final Enrolment enrolment) {
        final ExecutionYear executionYear = enrolment.getExecutionYear();
        final DegreeCurricularPlan degreeCurricularPlan = enrolment.getDegreeCurricularPlanOfDegreeModule();
        return degreeCurricularPlan.getExecutionDegreeByYear(executionYear);
    }
View Full Code Here

    }

    private void sendRejectionEmail(final String rejectionComment) {

        final Collection<Person> persons = new HashSet<Person>();
        final ExecutionYear executionYear = getEnrolment().getExecutionYear();
        for (ScientificCommission member : getDegree().getScientificCommissionMembers(executionYear)) {
            if (member.isContact()) {
                persons.add(member.getPerson());
            }
        }
View Full Code Here

            } else {
                boolean isMember = false;

                final Enrolment enrolment = getEnrolment();
                final DegreeCurricularPlan degreeCurricularPlan = enrolment.getDegreeCurricularPlanOfDegreeModule();
                final ExecutionYear executionYear = enrolment.getExecutionYear();
                final ExecutionDegree executionDegree = degreeCurricularPlan.getExecutionDegreeByYear(executionYear);
                if (executionDegree != null) {
                    for (ScientificCommission member : executionDegree.getScientificCommissionMembersSet()) {
                        isMember = isMember || president == member.getPerson();
View Full Code Here

    public ActionForward downloadRoomLessonOccupationInfo(ActionMapping mapping, ActionForm form, HttpServletRequest request,
            HttpServletResponse response) throws IOException {
        final ExecutionSemester executionSemester = getExecutionSemester(request);

        final ExecutionYear executionYear = executionSemester.getExecutionYear();

        response.setContentType("application/vnd.ms-excel");
        response.setHeader("Content-disposition", "attachment; filename=occupationMap"
                + executionYear.getYear().replace('/', '_') + "_" + executionSemester.getSemester() + ".xls");

        final RoomMap occupationMap = new RoomMap();

        Space.getSpaces().forEach(s -> occupationMap.register(s));
View Full Code Here

        return count;
    }

    public Integer getCurricularYearOneYearAgo() {
        ExecutionYear oneYearAgo = getForExecutionYear().getPreviousExecutionYear();

        if (student == null) {
            return 0;
        }
View Full Code Here

        return lastRegistration.getCurricularYear(oneYearAgo);
    }

    public Integer getCurricularYearInCurrentYear() {
        ExecutionYear currentYear = getForExecutionYear();

        if (student == null) {
            return 0;
        }
View Full Code Here

        return lastRegistration.getCurricularYear(currentYear);
    }

    public BigDecimal getNumberOfEnrolledEctsCurrentYear() {
        ExecutionYear currentYear = getForExecutionYear();

        return new BigDecimal(getRegistration().getEnrolmentsEcts(currentYear));
    }
View Full Code Here

TOP

Related Classes of org.fenixedu.academic.domain.ExecutionYear$ExecutionYearSearchCache

Copyright © 2018 www.massapicom. 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.