ArrayList summariesAux = new ArrayList();
List summariesAux = new ArrayList();
    public List readByExecutionCourseAndType(final Integer executionCourseID, TipoAula summaryType)    throws ExcepcaoPersistencia {               List summaries = readByExecutionCourse(executionCourseID);        Iterator iter = summaries.iterator();        ArrayList summariesAux = new ArrayList();                       while(iter.hasNext()){            ISummary summary = (ISummary) iter.next();            if(summary.getSummaryType() != null){	            if(summary.getSummaryType().getTipo().equals(summaryType.getTipo()))	                summariesAux.add(summary);            }        }                return summariesAux;    }