infoClasses = (List) CollectionUtils.collect(classes, new Transformer() { public Object transform(Object arg0) { return InfoClass.newInfoFromDomain((ISchoolClass) arg0); } }); } catch (ExcepcaoPersistencia ex) { throw new FenixServiceException(ex); }
final IExecutionDegree executionDegree = schoolClass.getExecutionDegree(); final InfoExecutionDegree infoExecutionDegree = InfoExecutionDegree.newInfoFromDomain(executionDegree); infoClass.setInfoExecutionDegree(infoExecutionDegree);  final IDegreeCurricularPlan degreeCurricularPlan = executionDegree.getDegreeCurricularPlan(); final InfoDegreeCurricularPlan infoDegreeCurricularPlan = InfoDegreeCurricularPlan.newInfoFromDomain(degreeCurricularPlan); infoExecutionDegree.setInfoDegreeCurricularPlan(infoDegreeCurricularPlan);  final IDegree degree = degreeCurricularPlan.getDegree(); final InfoDegree infoDegree = InfoDegree.newInfoFromDomain(degree); infoDegreeCurricularPlan.setInfoDegree(infoDegree);  return infoClass; } });
    public List run(InfoExecutionCourse infoExecutionCourse) throws FenixServiceException {        List infoClasses = null;        try {            ISuportePersistente sp = PersistenceSupportFactory.getDefaultPersistenceSupport();            IExecutionCourse executionCourse = (IExecutionCourse) sp.getIPersistentExecutionCourse()                    .readByOID(ExecutionCourse.class, infoExecutionCourse.getIdInternal());            List classes = sp.getITurmaPersistente().readByExecutionCourse(executionCourse);            infoClasses = (List) CollectionUtils.collect(classes, new Transformer() {                public Object transform(Object arg0) {                    return InfoClass.newInfoFromDomain((ISchoolClass) arg0);                }            });        } catch (ExcepcaoPersistencia ex) {            throw new FenixServiceException(ex);        }        return infoClasses;    }