private List readAttendingCourses(ISuportePersistente sp, Integer studentNumber)
private List readAttendingCourses(ISuportePersistente sp, Integer studentNumber, TipoCurso tipoCurso)
    private List readAttendingCourses(ISuportePersistente sp, Integer studentNumber)            throws ExcepcaoPersistencia {        List infoAttendingCourses = null;        IFrequentaPersistente frequentaPersistente = sp.getIFrequentaPersistente();        List attendList = frequentaPersistente.readByStudentNumber(studentNumber);        if (attendList != null && attendList.size() > 0) {            infoAttendingCourses = new ArrayList();            Iterator iterator = attendList.iterator();            while (iterator.hasNext()) {                IFrequenta attend = (Frequenta) iterator.next();                IExecutionCourse executionCourse = attend.getDisciplinaExecucao();                if (executionCourse != null                        && executionCourse.getExecutionPeriod() != null                        && executionCourse.getExecutionPeriod().getState().equals(                                new PeriodState(PeriodState.CURRENT))) {                    infoAttendingCourses.add(InfoExecutionCourseWithExecutionPeriod                            .newInfoFromDomain(executionCourse));                }            }        }        return infoAttendingCourses;    }