Examples of Degree


Examples of org.fenixedu.academic.domain.Degree

                        for (final SchoolClass schoolClass : shift.getAssociatedClassesSet()) {
                            schoolClass.getNome();
                            final ExecutionDegree executionDegree = schoolClass.getExecutionDegree();
                            final DegreeCurricularPlan degreeCurricularPlan = executionDegree.getDegreeCurricularPlan();
                            degreeCurricularPlan.getName();
                            final Degree degree = degreeCurricularPlan.getDegree();
                            degree.getDegreeType();
                            final RootCourseGroup root = degreeCurricularPlan.getRoot();
                            load(root);
                        }
                        for (final Lesson lesson : shift.getAssociatedLessonsSet()) {
                            lesson.getBeginHourMinuteSecond();
View Full Code Here

Examples of org.fenixedu.academic.domain.Degree

                || (evaluationMethodTextEn != null && evaluationMethodTextEn.length() > 0);
    }

    private boolean isLecturedIn(final ExecutionCourse executionCourse, final List<DegreeType> degreeTypes) {
        for (final CurricularCourse curricularCourse : executionCourse.getAssociatedCurricularCoursesSet()) {
            final Degree degree = curricularCourse.getDegree();
            final DegreeType degreeType = degree.getDegreeType();
            if (degreeTypes.contains(degreeType)) {
                return true;
            }
        }
        return false;
View Full Code Here

Examples of org.fenixedu.academic.domain.Degree

    private static List<RegistrationWithStateForExecutionYearBean> search(final SearchStudentsByDegreeParametersBean searchbean) {

        final Set<Registration> registrations = new TreeSet<Registration>(Registration.COMPARATOR_BY_NUMBER_AND_ID);

        final Degree chosenDegree = searchbean.getDegree();
        final DegreeType chosenDegreeType = searchbean.getDegreeType();
        final ExecutionYear executionYear = searchbean.getExecutionYear();
        for (final ExecutionDegree executionDegree : executionYear.getExecutionDegreesSet()) {
            final DegreeCurricularPlan degreeCurricularPlan = executionDegree.getDegreeCurricularPlan();
            if (chosenDegreeType != null && degreeCurricularPlan.getDegreeType() != chosenDegreeType) {
View Full Code Here

Examples of org.fenixedu.academic.domain.Degree

        final List<RegistrationWithStateForExecutionYearBean> registrations = search(searchBean);

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

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

Examples of org.fenixedu.academic.domain.Degree

        ExecutionYear year = bean.getYear();
        ThesisState state = bean.getState();

        Collection<Degree> degrees = bean.getDegreeOptions();

        Degree degree = bean.getDegree();
        if (degree != null) {
            degrees = Collections.singleton(degree);
        }

        collectTheses(request, years, theses, year, state, degrees);
View Full Code Here

Examples of org.fenixedu.academic.domain.Degree

        for (RegistrationWithStateForExecutionYearBean registrationWithStateForExecutionYearBean : registrations) {

            final Registration registration = registrationWithStateForExecutionYearBean.getRegistration();
            spreadsheet.newRow();

            final Degree degree = registration.getDegree();
            spreadsheet.addCell(!(StringUtils.isEmpty(degree.getSigla())) ? degree.getSigla() : degree.getNameFor(executionYear)
                    .toString());
            spreadsheet.addCell(degree.getFilteredName(executionYear));
            spreadsheet.addCell(registration.getNumber().toString());

            final Person person = registration.getPerson();
            spreadsheet.addCell(person.getName());
            spreadsheet.addCell(person.getDocumentIdNumber());
View Full Code Here

Examples of org.fenixedu.academic.domain.Degree

    public ActionForward prepare(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response)
            throws Exception {

        String degreeId = getFromRequest("degreeID", request);
        request.setAttribute("degreeID", degreeId);
        Degree degree = FenixFramework.getDomainObject(degreeId);
        request.setAttribute("degree", degree);

        String executionDegreeId = getFromRequest("executionDegreeID", request);
        request.setAttribute("executionDegreeID", executionDegreeId);
View Full Code Here

Examples of org.fenixedu.academic.domain.Degree

    public ActionForward remove(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response)
            throws FenixActionException, FenixServiceException {
        final String departmentString = request.getParameter("departmentID");
        final String degreeString = request.getParameter("degreeID");
        final Department department = FenixFramework.getDomainObject(departmentString);
        final Degree degree = FenixFramework.getDomainObject(degreeString);
        RemoveDegreeFromDepartment.run(department, degree);
        final DepartmentDegreeBean departmentDegreeBean = new DepartmentDegreeBean();
        departmentDegreeBean.setDepartment(department);
        return forwardToPage(mapping, request, departmentDegreeBean);
    }
View Full Code Here

Examples of org.fenixedu.academic.domain.Degree

        request.setAttribute("index", indexValue);

        // degreeID
        String degreeId = (String) chooseExamContextoForm.get("degreeID");
        request.setAttribute("degreeID", degreeId);
        final Degree degree = FenixFramework.getDomainObject(degreeId);
        request.setAttribute("degree", degree);

        // curricularYearList
        final Boolean selectAllCurricularYears = (Boolean) chooseExamContextoForm.get("selectAllCurricularYears");
        final List<Integer> curricularYears = buildCurricularYearList(selectAllCurricularYears, degree, chooseExamContextoForm);
        request.setAttribute("curricularYearList", curricularYears);

        // degreeCurricularPlanID
        String degreeCurricularPlanId = getFromRequest("degreeCurricularPlanID", request);
        final DegreeCurricularPlan degreeCurricularPlan;
        if (StringUtils.isEmpty(degreeCurricularPlanId)) {
            degreeCurricularPlan = degree.getMostRecentDegreeCurricularPlan();
        } else {
            degreeCurricularPlan = FenixFramework.getDomainObject(degreeCurricularPlanId);
        }

        if (degreeCurricularPlan != null) {
View Full Code Here

Examples of org.fenixedu.academic.domain.Degree

        }

        @Override
        public Object execute() {
            final Department department = getDepartment();
            final Degree degree = getDegree();
            if (department != null && degree != null) {
                department.getDegreesSet().add(degree);
            }
            return null;
        }
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.