addInfoMessage(BundleUtil.getString(Bundle.BOLONHA, "curricularCourseCreated"));
return "buildCurricularPlan";
}
private void runCreateCurricularCourse() throws FenixActionException, FenixServiceException {
final CurricularCourseType curricularCourseType = CurricularCourseType.valueOf(getSelectedCurricularCourseType());
if (curricularCourseType.equals(CurricularCourseType.NORMAL_COURSE)) {
checkCompetenceCourse();
CreateCurricularCourse.run(new CreateCurricularCourse.CreateCurricularCourseArgs(getWeight(), getPrerequisites(),
getPrerequisitesEn(), getCompetenceCourseID(), getCourseGroupID(), getCurricularYearID(),
getCurricularSemesterID(), getDegreeCurricularPlanID(), getBeginExecutionPeriodID(),
getFinalEndExecutionPeriodID()));
} else if (curricularCourseType.equals(CurricularCourseType.OPTIONAL_COURSE)) {
checkCurricularCourseNameAndNameEn();
CreateCurricularCourse.run(new CreateCurricularCourse.CreateOptionalCurricularCourseArgs(getDegreeCurricularPlanID(),
getCourseGroupID(), getName(), getNameEn(), getCurricularYearID(), getCurricularSemesterID(),
getBeginExecutionPeriodID(), getFinalEndExecutionPeriodID()));