infoExecutionDegreeList.add(InfoExecutionDegree.newInfoFromDomain(executionDegree));
infoExecutionDegreeList.add(InfoExecutionDegreeWithInfoDegreeCurricularPlan.newInfoFromDomain(executionDegree));
    public List run(InfoExecutionYear infoExecutionYear) throws FenixServiceException,            ExcepcaoPersistencia {        List infoExecutionDegreeList = null;        ISuportePersistente sp = PersistenceSupportFactory.getDefaultPersistenceSupport();        String yearToSearch;        if (infoExecutionYear.getYear() == null || infoExecutionYear.getYear().length() == 0) {            IPersistentExecutionYear executionYearDAO = sp.getIPersistentExecutionYear();            IExecutionYear executionYear = executionYearDAO.readCurrentExecutionYear();            yearToSearch = executionYear.getYear();        } else {            yearToSearch = infoExecutionYear.getYear();        }        IPersistentExecutionDegree executionDegreeDAO = sp.getIPersistentExecutionDegree();        List executionDegrees = executionDegreeDAO.readByExecutionYearAndDegreeType(yearToSearch,                DegreeType.DEGREE);        Iterator iterator = executionDegrees.iterator();        infoExecutionDegreeList = new ArrayList();        while (iterator.hasNext()) {            IExecutionDegree executionDegree = (IExecutionDegree) iterator.next();            infoExecutionDegreeList.add(InfoExecutionDegree.newInfoFromDomain(executionDegree));        }        return infoExecutionDegreeList;    }