List enrolled = getEnrolled(executionCourse.getExecutionPeriod(), curricularCourse, sp); if (enrolled != null) { enrolledInCurricularCourse += enrolled.size(); evaluated += getEvaluated(enrolled).intValue(); approved += getApproved(enrolled).intValue(); } } infoSiteEvaluationStatistics .setEnrolled(new Integer(enrolledInCurricularCourse)); infoSiteEvaluationStatistics.setEvaluated(new Integer(evaluated)); infoSiteEvaluationStatistics.setApproved(new Integer(approved));  infoExecutionCourse .setInfoSiteEvaluationStatistics(infoSiteEvaluationStatistics);  IPersistentCourseReport persistentCourseReport = sp.getIPersistentCourseReport(); ICourseReport courseReport = persistentCourseReport .readCourseReportByExecutionCourse(executionCourse.getIdInternal()); if (courseReport != null) { infoExecutionCourse .setCourseReportFilled(courseReport.getReport() != null ? new String( "true") : new String("false"));
List enrolled = getEnrolled(executionCourse.getExecutionPeriod(), curricularCourse, sp); if (enrolled != null) { enrolledInCurricularCourse += enrolled.size(); evaluated += getEvaluated(enrolled).intValue(); approved += getApproved(enrolled).intValue();
                private void getTeacherReportInformation(InfoExecutionCourse infoExecutionCourse,                        Object arg0) throws ExcepcaoPersistencia {                    IExecutionCourse executionCourse = (IExecutionCourse) arg0;                    if (executionCourse.getAssociatedCurricularCourses() != null) {                        ISuportePersistente sp = PersistenceSupportFactory.getDefaultPersistenceSupport();                        InfoSiteEvaluationStatistics infoSiteEvaluationStatistics = new InfoSiteEvaluationStatistics();                        int enrolledInCurricularCourse = 0;                        int evaluated = 0;                        int approved = 0;                        Iterator iter = executionCourse.getAssociatedCurricularCourses().iterator();                        while (iter.hasNext()) {                            ICurricularCourse curricularCourse = (ICurricularCourse) iter.next();                            List enrolled = getEnrolled(executionCourse.getExecutionPeriod(),                                    curricularCourse, sp);                            if (enrolled != null) {                                enrolledInCurricularCourse += enrolled.size();                                evaluated += getEvaluated(enrolled).intValue();                                approved += getApproved(enrolled).intValue();                            }                        }                        infoSiteEvaluationStatistics                                .setEnrolled(new Integer(enrolledInCurricularCourse));                        infoSiteEvaluationStatistics.setEvaluated(new Integer(evaluated));                        infoSiteEvaluationStatistics.setApproved(new Integer(approved));                        infoExecutionCourse                                .setInfoSiteEvaluationStatistics(infoSiteEvaluationStatistics);                        IPersistentCourseReport persistentCourseReport = sp.getIPersistentCourseReport();                        ICourseReport courseReport = persistentCourseReport                                .readCourseReportByExecutionCourse(executionCourse.getIdInternal());                        if (courseReport != null) {                            infoExecutionCourse                                    .setCourseReportFilled(courseReport.getReport() != null ? new String(                                            "true")                                            : new String("false"));                        }                    }                }