Examples of DegreeType


Examples of org.fenixedu.academic.domain.degree.DegreeType

        final String degreeTypeString = (String) dynaActionForm.get("degreeType");

        if (isPresent(degreeTypeString)) {
            // putStudentCurricularPlanStateLabelListInRequest(request);

            final DegreeType degreeType = DegreeType.valueOf(degreeTypeString);

            final List infoDegreeCurricularPlans = ReadDegreeCurricularPlansByDegreeType.run(degreeType);

            putDegreeCurricularPlansInRequest(request, infoDegreeCurricularPlans);
        }
View Full Code Here

Examples of org.fenixedu.academic.domain.degree.DegreeType

        if (isPresent(studentNumberString) && isPresent(degreeTypeString) && isPresent(studentCurricularPlanStateString)
                && isPresent(degreeCurricularPlanIdString) && isPresent(startDateString)) {

            final Integer studentNumber = new Integer(studentNumberString);
            final DegreeType degreeType = DegreeType.valueOf(degreeTypeString);
            final StudentCurricularPlanState studentCurricularPlanState =
                    StudentCurricularPlanState.valueOf(studentCurricularPlanStateString);
            final Date startDate = simpleDateFormat.parse(startDateString);

            final User userView = Authenticate.getUser();
View Full Code Here

Examples of org.fenixedu.academic.domain.degree.DegreeType

    }

    final private String getGraduateTitle(final Registration registration, final CycleType requestedCycle) {
        final StringBuilder res = new StringBuilder();

        final DegreeType degreeType = getDocumentRequest().getDegreeType();
        if (degreeType.getQualifiesForGraduateTitle()) {
            res.append(", ").append(
                    BundleUtil.getString(Bundle.ACADEMIC, getDocumentRequest().getLanguage(),
                            "documents.DegreeFinalizationCertificate.graduateTitleInfo"));
            res.append(SINGLE_SPACE).append(registration.getGraduateTitle(requestedCycle, getLocale()));
        }
View Full Code Here

Examples of org.fenixedu.academic.domain.degree.DegreeType

    final private String getDiplomaDescription() {
        final StringBuilder res = new StringBuilder();

        final Degree degree = getDocumentRequest().getDegree();
        final DegreeType degreeType = degree.getDegreeType();
        if (degreeType.getQualifiesForGraduateTitle()) {
            res.append(", ");
            if (getDocumentRequest().getRegistryCode() != null) {
                res.append(BundleUtil.getString(Bundle.ACADEMIC, getDocumentRequest().getLanguage(),
                        "documents.DegreeFinalizationCertificate.registryNumber"));
                res.append(SINGLE_SPACE);
View Full Code Here

Examples of org.fenixedu.academic.domain.degree.DegreeType

        return getCurricularYearWithLowerYear(scopesFound, date);
    }

    public String getCurricularCourseUniqueKeyForEnrollment() {
        final DegreeType degreeType =
                (getDegreeCurricularPlan() != null && getDegreeCurricularPlan().getDegree() != null) ? getDegreeCurricularPlan()
                        .getDegree().getDegreeType() : null;
        return constructUniqueEnrollmentKey(getCode(), getName(), degreeType);
    }
View Full Code Here

Examples of org.fenixedu.academic.domain.degree.DegreeType

        Set<DegreeType> accessibleDegreeTypes =
                AcademicAccessRule.getDegreeTypesAccessibleToFunction(AcademicOperationType.SERVICE_REQUESTS,
                        Authenticate.getUser()).collect(Collectors.toSet());

        final Degree chosenDegree = degreeSearchBean.getDegree();
        final DegreeType chosenDegreeType = degreeSearchBean.getDegreeType();
        final ExecutionYear chosenExecutionYear = degreeSearchBean.getExecutionYear();

        final AcademicServiceRequestType chosenServiceRequestType = requestSearchBean.getAcademicServiceRequestType();
        final DocumentRequestType chosenDocumentRequestType = requestSearchBean.getChosenDocumentRequestType();
        final AcademicServiceRequestSituationType chosenRequestSituation =
View Full Code Here

Examples of org.fenixedu.academic.domain.degree.DegreeType

        try {
            String filename = getResourceMessage("label.requests");

            Degree degree = degreeSearchBean.getDegree();
            DegreeType degreeType = degreeSearchBean.getDegreeType();
            ExecutionYear executionYear = degreeSearchBean.getExecutionYear();
            if (degree != null) {
                filename += "_" + degree.getNameFor(executionYear).getContent().replace(' ', '_');
            } else if (degreeType != null) {
                filename += "_" + degreeType.getLocalizedName().replace(' ', '_');
            }
            filename += "_" + executionYear.getYear();

            response.setContentType("application/vnd.ms-excel");
            response.setHeader("Content-disposition", "attachment; filename=" + filename + ".xls");
View Full Code Here

Examples of org.fenixedu.academic.domain.degree.DegreeType

            if (executionSemester.getExecutionYear() == executionYear) {
                final ThesisPresentationState thesisPresentationState =
                        ThesisPresentationState.getThesisPresentationState(thesis);

                final Degree degree = enrolment.getStudentCurricularPlan().getDegree();
                final DegreeType degreeType = degree.getDegreeType();

                final Row row = spreadsheet.addRow();
                row.setCell(thesis.getStudent().getNumber().toString());
                row.setCell(thesis.getStudent().getPerson().getName());
                row.setCell(degreeType.getLocalizedName());
                row.setCell(degree.getPresentationName(executionYear));
                row.setCell(degree.getSigla());
                row.setCell(thesis.getTitle().getContent());
                row.setCell(thesisPresentationState.getName());
View Full Code Here

Examples of org.fenixedu.academic.domain.degree.DegreeType

        public int getNumberOfRegisteredStudents() {
            final ExecutionDegree executionDegree = contextBean.getExecutionDegree();
            int counter = 0;
            if (executionDegree == null) {
                final ExecutionYear executionYear = contextBean.getExecutionYear();
                final DegreeType degreeType = contextBean.getDegreeType();
                for (final Degree degree : rootDomainObject.getDegreesSet()) {
                    if (degree.getDegreeType() == degreeType) {
                        counter += countDegreeRegistrations(executionYear, degree);
                    }
                }
View Full Code Here

Examples of org.fenixedu.academic.domain.degree.DegreeType

        row.setCell(curricular.getTotalLoad(context.getCurricularPeriod(), executionSemester));
    }

    private String getLanguage(final CurricularCourse curricularCourse) {
        final DegreeType degreeType = curricularCourse.getDegreeType();
        if (degreeType.hasExactlyOneCycleType() && degreeType.getCycleType() == CycleType.FIRST_CYCLE) {
            return "Português";
        } else {
            return "Português/Inglês";
        }
    }
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.