ITurnoAluno ta = (ITurnoAluno)sp.getITurnoAlunoPersistente().readByTurnoAndAluno(sh, attend.getAluno());
ITurnoAluno ta = sp.getITurnoAlunoPersistente().readByTurnoAndAluno(sh, attend.getAluno());
    private Map getShiftsByAttends(List shifts, IFrequenta attend, ISuportePersistente sp)    throws FenixServiceException{        Map result = new HashMap();                Iterator it = shifts.iterator();        while(it.hasNext()){            ITurno sh = (ITurno)it.next();            try {                ITurnoAluno ta = (ITurnoAluno)sp.getITurnoAlunoPersistente().readByTurnoAndAluno(sh, attend.getAluno());                                if (ta != null)                    result.put(sh.getTipo().getSiglaTipoAula(),InfoShift.newInfoFromDomain(sh));//result.get(sh.getTipo())            }                    catch(ExcepcaoPersistencia ep) {                FenixServiceException newEx = new FenixServiceException("Persistence layer error");                newEx.fillInStackTrace();                throw newEx;            }        }        return result;    }