Examples of DegreeModuleScope


Examples of org.fenixedu.academic.domain.DegreeModuleScope

    private void investigate(final CurricularCourse curricularCourse, final ExecutionSemester executionPeriod, final Row row,
            final ExecutionCourse executionCourse) {
        final Degree degree = curricularCourse.getDegree();

        final DegreeModuleScope degreeModuleScope = findDegreeModuleScope(curricularCourse, executionPeriod);
        final String group = findGroup(curricularCourse, degreeModuleScope);
        final String department = findDepartment(curricularCourse);
        final String scientificArea = findScientificAres(curricularCourse);
        final CompetenceCourseLoad competenceCourseLoad = findCompetenceCourseLoad(curricularCourse, executionPeriod);

        row.setCell(degree.getDegreeType().getLocalizedName());
        row.setCell(degree.getNome());
        row.setCell(degree.getSigla());
        row.setCell(curricularCourse.getName());
        row.setCell(curricularCourse.getCompetenceCourse() != null ? curricularCourse.getCompetenceCourse().getExternalId() : null);
        row.setCell(executionCourse != null ? executionCourse.getExternalId().toString() : "");
        row.setCell(executionPeriod.getExecutionYear().getName());
        row.setCell(degreeModuleScope != null ? degreeModuleScope.getCurricularYear().toString() : "");
        if (curricularCourse.isAnual()) {
            row.setCell(" ");
        } else {
            row.setCell(degreeModuleScope != null ? degreeModuleScope.getCurricularSemester().toString() : "");
        }
        row.setCell(group);
        row.setCell(executionCourse != null ? findResponsibleTeachers(executionCourse) : "");
        row.setCell(department);
        row.setCell(scientificArea);
View Full Code Here

Examples of org.fenixedu.academic.domain.DegreeModuleScope

    private List<DegreeModuleScope> readCurricularCourseScopesAndContexts(final List<String> degreeModuleScopeIDs)
            throws FenixServiceException {

        List<DegreeModuleScope> result = new ArrayList<DegreeModuleScope>();
        for (String key : degreeModuleScopeIDs) {
            DegreeModuleScope degreeModuleScope = DegreeModuleScope.getDegreeModuleScopeByKey(key);
            if (degreeModuleScope != null) {
                result.add(degreeModuleScope);
            }
        }
View Full Code Here

Examples of org.fenixedu.academic.domain.DegreeModuleScope

    private List<DegreeModuleScope> readCurricularCourseScopesAndContexts(final List<String> degreeModuleScopeIDs)
            throws FenixServiceException {

        List<DegreeModuleScope> result = new ArrayList<DegreeModuleScope>();
        for (String key : degreeModuleScopeIDs) {
            DegreeModuleScope degreeModuleScope = DegreeModuleScope.getDegreeModuleScopeByKey(key);
            if (degreeModuleScope != null) {
                result.add(degreeModuleScope);
            }
        }
View Full Code Here

Examples of org.fenixedu.academic.domain.DegreeModuleScope

    }

    static public InfoExternalCurricularCourseInfo newFromDomain(CurricularCourse course) {
        Integer year = null;
        for (Object element2 : course.getDegreeModuleScopes()) {
            DegreeModuleScope element = (DegreeModuleScope) element2;
            int currentYear = element.getCurricularYear().intValue();
            if (year == null || currentYear < year.intValue()) {
                year = currentYear;
            }
        }
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.