Examples of DegreeModuleToEnrol


Examples of org.fenixedu.academic.domain.enrolment.DegreeModuleToEnrol

            if (curriculumGroup == null) {
                continue;
            }

            DegreeModuleToEnrol toEnrol = new DegreeModuleToEnrol(curriculumGroup, selectedContext, semesterToEnrol);
            degreeModulesToEnrol.add(toEnrol);
        }

        return degreeModulesToEnrol;
    }
View Full Code Here

Examples of org.fenixedu.academic.domain.enrolment.DegreeModuleToEnrol

    protected IDegreeModuleToEvaluate buildDegreeModuleToEnrolForCycle(StudentCurricularPlan scp, CycleType cycleType,
            ExecutionSemester semester) {
        final CycleCourseGroup cycleCourseGroup = scp.getCycleCourseGroup(cycleType);
        final Context context = cycleCourseGroup.getParentContextsByExecutionSemester(semester).iterator().next();
        return new DegreeModuleToEnrol(scp.getRoot(), context, semester);
    }
View Full Code Here

Examples of org.fenixedu.academic.domain.enrolment.DegreeModuleToEnrol

    protected List<IDegreeModuleToEvaluate> buildCourseGroupsToEnrol(CurriculumGroup group, ExecutionSemester executionSemester) {
        final List<IDegreeModuleToEvaluate> result = new ArrayList<IDegreeModuleToEvaluate>();
        final List<Context> courseGroupContextsToEnrol = group.getCourseGroupContextsToEnrol(executionSemester);

        for (final Context context : courseGroupContextsToEnrol) {
            result.add(new DegreeModuleToEnrol(group, context, executionSemester));

        }

        return result;
    }
View Full Code Here

Examples of org.fenixedu.academic.domain.enrolment.DegreeModuleToEnrol

            // NOTE: Temporary solution until first degree completes
            final CurricularCourse curricularCourse = (CurricularCourse) context.getChildDegreeModule();
            for (final int curricularYear : curricularYears) {
                if (context.containsSemesterAndCurricularYear(executionSemester.getSemester(), curricularYear,
                        curricularCourse.getRegime())) {
                    result.add(new DegreeModuleToEnrol(group, context, executionSemester));
                    break;
                }
            }
        }
View Full Code Here

Examples of org.fenixedu.academic.domain.enrolment.DegreeModuleToEnrol

    protected List<IDegreeModuleToEvaluate> buildCurricularCoursesToEnrol(CurriculumGroup group,
            ExecutionSemester executionSemester) {

        final List<IDegreeModuleToEvaluate> result = new ArrayList<IDegreeModuleToEvaluate>();
        for (final Context context : group.getCurricularCourseContextsToEnrol(executionSemester)) {
            result.add(new DegreeModuleToEnrol(group, context, executionSemester));
        }

        return result;

    }
View Full Code Here

Examples of org.fenixedu.academic.domain.enrolment.DegreeModuleToEnrol

            }

            final Context context = (Context) converter.convert(type, parts[0]);
            final CurriculumGroup curriculumGroup = (CurriculumGroup) converter.convert(type, parts[1]);
            final ExecutionSemester executionSemester = (ExecutionSemester) converter.convert(type, parts[2]);
            result.add(new DegreeModuleToEnrol(curriculumGroup, context, executionSemester));
        }

        return result;
    }
View Full Code Here

Examples of org.fenixedu.academic.domain.enrolment.DegreeModuleToEnrol

        final List<IDegreeModuleToEvaluate> result = new ArrayList<IDegreeModuleToEvaluate>();
        for (final Context context : group.getCurricularCourseContextsToEnrol(semester)) {

            if (canBeUsed(collection, context)) {
                result.add(new DegreeModuleToEnrol(group, context, semester));
            }
        }

        return result;
    }
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.