private Map getStudentGroupsMapFromGroupPropertiesList(List groupPropertiesList, ISuportePersistente persistentSupport) throws ExcepcaoPersistencia {
private Map getStudentGroupsMapFromGroupPropertiesList(List groupPropertiesList) throws ExcepcaoPersistencia {
    private Map getStudentGroupsMapFromGroupPropertiesList(List groupPropertiesList,            ISuportePersistente persistentSupport) throws ExcepcaoPersistencia {        Map result = new HashMap();        List allStudentsGroups = new ArrayList();        Iterator gpIt = groupPropertiesList.iterator();        while (gpIt.hasNext()) {            allStudentsGroups                    .addAll(((Grouping) gpIt.next()).getStudentGroups());        }        for (Iterator sgIterator = allStudentsGroups.iterator(); sgIterator.hasNext();) {            StudentGroup sg = (StudentGroup) sgIterator.next();            List groupAttends = sg.getAttends();            List attendsList = (List) CollectionUtils.collect(groupAttends, new Transformer() {                public Object transform(Object input) {                                        Attends attendacy = (Attends) input;                    return attendacy;                }            });            result.put(sg, attendsList);        }        return result;    }