infoExecutionPeriods.add(InfoExecutionPeriod.newInfoFromDomain(executionPeriod));
infoExecutionPeriods.add(InfoExecutionPeriodWithInfoExecutionYear.newInfoFromDomain(executionPeriod));
    public List run(InfoExecutionYear infoExecutionYear) throws ExcepcaoPersistencia {        final ISuportePersistente sp = PersistenceSupportFactory.getDefaultPersistenceSupport();        final IPersistentExecutionYear executionYearDAO = sp.getIPersistentExecutionYear();        final IExecutionYear executionYear = (infoExecutionYear != null) ?                (IExecutionYear) executionYearDAO.readByOID(ExecutionYear.class, infoExecutionYear.getIdInternal())                : executionYearDAO.readCurrentExecutionYear();        final List<InfoExecutionPeriod> infoExecutionPeriods = new ArrayList<InfoExecutionPeriod>();        for (final IExecutionPeriod executionPeriod : executionYear.getExecutionPeriods()) {            infoExecutionPeriods.add(InfoExecutionPeriod.newInfoFromDomain(executionPeriod));        }        return infoExecutionPeriods;    }