public static CompetenceCourse run(String name, String nameEn, String acronym, Boolean basic, RegimeType regimeType,
CompetenceCourseLevel competenceCourseLevel, CompetenceCourseType type, String unitID, ExecutionSemester startSemester)
throws FenixServiceException {
check(RolePredicates.BOLONHA_MANAGER_PREDICATE);
final CompetenceCourseGroupUnit unit = (CompetenceCourseGroupUnit) FenixFramework.getDomainObject(unitID);
if (unit == null) {
throw new FenixServiceException("error.invalidUnit");
}
checkIfCanCreateCompetenceCourse(name.trim(), nameEn.trim());
return new CompetenceCourse(name, nameEn, basic, regimeType, competenceCourseLevel, type, CurricularStage.DRAFT, unit,