public InfoShift run(Integer oid) throws FenixServiceException {
public InfoShift run(final Integer oid) throws ExcepcaoPersistencia { final ISuportePersistente sp = PersistenceSupportFactory.getDefaultPersistenceSupport(); final ITurnoPersistente shiftDAO = sp.getITurnoPersistente(); final IShift shift = (IShift) shiftDAO.readByOID(Shift.class, oid);
    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;    }