.getCompetenceCoursesByExecutionYear(executionYear);
.getCompetenceCoursesByExecutionPeriod(executionPeriod);
    public List<CompetenceCourseStatisticsDTO> run(Integer departementID, Integer executionYearID)            throws FenixServiceException, ExcepcaoPersistencia {        Department department = rootDomainObject.readDepartmentByOID(                departementID);        ExecutionYear executionYear = rootDomainObject.readExecutionYearByOID(executionYearID);        List<CompetenceCourse> competenceCourses = department                .getCompetenceCoursesByExecutionYear(executionYear);        List<CompetenceCourse> sortedCompetenceCourses = new ArrayList<CompetenceCourse>();        sortedCompetenceCourses.addAll(competenceCourses);        Collections.sort(sortedCompetenceCourses, new BeanComparator("name"));        List<CompetenceCourseStatisticsDTO> results = new ArrayList<CompetenceCourseStatisticsDTO>();        for (CompetenceCourse competenceCourse : sortedCompetenceCourses) {            List<EnrolmentEvaluation> evaluations = competenceCourse                    .getActiveEnrollmentEvaluations(executionYear);            CompetenceCourseStatisticsDTO competenceCourseStatistics = new CompetenceCourseStatisticsDTO();            competenceCourseStatistics.setIdInternal(competenceCourse.getIdInternal());            competenceCourseStatistics.setName(competenceCourse.getName());            createCourseStatistics(competenceCourseStatistics, evaluations);            results.add(competenceCourseStatistics);        }        return results;    }