Examples of CourseGroup


Examples of org.fenixedu.academic.domain.degreeStructure.CourseGroup

    }

    private static CurricularRule createDegreeModulesSelectionLimit(DegreeModule toApplyRule, ExecutionSemester begin,
            ExecutionSemester end, CurricularRuleParametersDTO parametersDTO) {

        final CourseGroup contextCourseGroup =
                (CourseGroup) FenixFramework.getDomainObject(parametersDTO.getContextCourseGroupID());

        return new DegreeModulesSelectionLimit((CourseGroup) toApplyRule, contextCourseGroup, begin, end,
                parametersDTO.getMinimumLimit(), parametersDTO.getMaximumLimit());
    }
View Full Code Here

Examples of org.fenixedu.academic.domain.degreeStructure.CourseGroup

    private static CurricularRule createRestrictionEnroledDegreeModule(DegreeModule toApplyRule, ExecutionSemester begin,
            ExecutionSemester end, CurricularRuleParametersDTO parametersDTO) {

        final DegreeModule enroledDegreeModule = FenixFramework.getDomainObject(parametersDTO.getSelectedDegreeModuleID());
        final CourseGroup contextCourseGroup =
                (CourseGroup) FenixFramework.getDomainObject(parametersDTO.getContextCourseGroupID());

        return new RestrictionEnroledDegreeModule((CurricularCourse) toApplyRule, (CurricularCourse) enroledDegreeModule,
                contextCourseGroup, parametersDTO.getCurricularPeriodInfoDTO(), begin, end);
    }
View Full Code Here

Examples of org.fenixedu.academic.domain.degreeStructure.CourseGroup

    private static CurricularRule createRestrictionNotEnroledDegreeModule(DegreeModule toApplyRule, ExecutionSemester begin,
            ExecutionSemester end, CurricularRuleParametersDTO parametersDTO) {

        final DegreeModule notEnroledDegreeModule = FenixFramework.getDomainObject(parametersDTO.getSelectedDegreeModuleID());
        final CourseGroup contextCourseGroup =
                (CourseGroup) FenixFramework.getDomainObject(parametersDTO.getContextCourseGroupID());

        return new RestrictionNotEnroledDegreeModule((CurricularCourse) toApplyRule, (CurricularCourse) notEnroledDegreeModule,
                contextCourseGroup, parametersDTO.getCurricularPeriodInfoDTO(), begin, end);
    }
View Full Code Here

Examples of org.fenixedu.academic.domain.degreeStructure.CourseGroup

    private static CurricularRule createRestrictionDoneDegreeModule(DegreeModule toApplyRule, ExecutionSemester begin,
            ExecutionSemester end, CurricularRuleParametersDTO parametersDTO) {

        final DegreeModule done = FenixFramework.getDomainObject(parametersDTO.getSelectedDegreeModuleID());
        final CourseGroup contextCourseGroup =
                (CourseGroup) FenixFramework.getDomainObject(parametersDTO.getContextCourseGroupID());

        return new RestrictionDoneDegreeModule((CurricularCourse) toApplyRule, (CurricularCourse) done, contextCourseGroup,
                parametersDTO.getCurricularPeriodInfoDTO(), begin, end);
    }
View Full Code Here

Examples of org.fenixedu.academic.domain.degreeStructure.CourseGroup

        super.setNewCourseGroup(bean.getCourseGroup());
    }

    private void checkParameters(final RegistrationAcademicServiceRequestCreateBean bean) {
        final CurriculumGroup curriculumGroup = bean.getCurriculumGroup();
        final CourseGroup newCourseGroup = bean.getCourseGroup();
        final ExecutionYear executionYear = bean.getExecutionYear();
        final Registration registration = bean.getRegistration();

        if (curriculumGroup == null) {
            throw new DomainException("error.CourseGroupChangeRequest.curriculumGroup.cannot.be.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.