List executionPeriods = persistentExecutionPeriod.readAllExecutionPeriod();
Collection executionPeriods = persistentExecutionPeriod.readAll(ExecutionPeriod.class);
    private IExecutionPeriod getNextExecutionPeriod(ISuportePersistente persistentSupport, IExecutionPeriod currentExecutionPeriod) throws ExcepcaoPersistencia {        IPersistentExecutionPeriod persistentExecutionPeriod = persistentSupport.getIPersistentExecutionPeriod();        List executionPeriods = persistentExecutionPeriod.readAllExecutionPeriod();        for (Iterator iterator = executionPeriods.iterator(); iterator.hasNext(); ) {            IExecutionPeriod otherExecutionPeriod = (IExecutionPeriod) iterator.next();            if (otherExecutionPeriod.getPreviousExecutionPeriod() != null                    && currentExecutionPeriod.getIdInternal().equals(otherExecutionPeriod.getPreviousExecutionPeriod().getIdInternal())) {                return otherExecutionPeriod;            }        }        return null;    }