} catch (ExcepcaoPersistencia ex) { throw new FenixServiceException(ex);
final Collection schoolClasses = shift.getAssociatedClasses(); final List infoSchoolClasses = new ArrayList(schoolClasses.size()); infoShift.setInfoClasses(infoSchoolClasses); for (final Iterator iterator = schoolClasses.iterator(); iterator.hasNext(); ) { final ISchoolClass schoolClass = (ISchoolClass) iterator.next(); final InfoClass infoClass = InfoClass.newInfoFromDomain(schoolClass); infoSchoolClasses.add(infoClass); }  return infoShift;
    public InfoShift run(Integer oid) throws FenixServiceException {        InfoShift result = null;        try {            ISuportePersistente sp = PersistenceSupportFactory.getDefaultPersistenceSupport();            ITurnoPersistente shiftDAO = sp.getITurnoPersistente();            IShift shift = (IShift) shiftDAO.readByOID(Shift.class, oid);            if (shift != null) {                result = (InfoShift) Cloner.get(shift);            }        } catch (ExcepcaoPersistencia ex) {            throw new FenixServiceException(ex);        }        return result;    }