public List<ExecutionCourse> run(String degreeCurricularPlanID, String executionPeriodID, String curricularYearID)
throws FenixServiceException {
final ExecutionSemester executionSemester = FenixFramework.getDomainObject(executionPeriodID);
if (executionSemester == null) {
throw new FenixServiceException("error.no.executionPeriod");
}
final DegreeCurricularPlan degreeCurricularPlan = FenixFramework.getDomainObject(degreeCurricularPlanID);
if (degreeCurricularPlan == null) {
throw new FenixServiceException("error.coordinator.noDegreeCurricularPlan");
}
CurricularYear curricularYear = null;
if (curricularYearID != null) {
curricularYear = FenixFramework.getDomainObject(curricularYearID);
if (curricularYear == null) {
throw new FenixServiceException("error.no.curYear");
}
}
final List<ExecutionCourse> result = new ArrayList<ExecutionCourse>();
for (final ExecutionCourse executionCourse : executionSemester.getAssociatedExecutionCoursesSet()) {