public Object run(InfoStudent infoStudent) { List infoLessons = new ArrayList();
public Object run(final InfoStudent infoStudent) throws ExcepcaoPersistencia { final ISuportePersistente persistentSupport = SuportePersistenteOJB.getInstance(); final IAulaPersistente persistentLesson = persistentSupport.getIAulaPersistente();
    public Object run(InfoStudent infoStudent) {        List infoLessons = new ArrayList();        try {            ISuportePersistente sp = SuportePersistenteOJB.getInstance();            List lessons =            //				sp.getITurnoAulaPersistente().readLessonsByStudent(            //					infoStudent.getInfoPerson().getUsername());            sp.getIAulaPersistente().readLessonsByStudent(infoStudent.getInfoPerson().getUsername());            if (lessons != null)                for (int i = 0; i < lessons.size(); i++) {                    //ITurnoAula lesson = (ITurnoAula) lessons.get(i);                    IAula lesson = (IAula) lessons.get(i);                    InfoLesson infoLesson = Cloner.copyILesson2InfoLesson(lesson);                    ITurno shift = lesson.getShift();                    InfoShift infoShift = Cloner.copyShift2InfoShift(shift);                    infoLesson.setInfoShift(infoShift);                    infoLessons.add(infoLesson);                }        } catch (ExcepcaoPersistencia ex) {            ex.printStackTrace();        }        return infoLessons;    }