infoShiftOld.getInfoDisciplinaExecucao().getIdInternal());
infoShiftNew.getInfoDisciplinaExecucao().getIdInternal());  System.out.println("infoShiftOld.getInfoDisciplinaExecucao().getNome()= " + infoShiftOld.getInfoDisciplinaExecucao().getNome()); System.out.println("infoShiftNew.getInfoDisciplinaExecucao().getNome()= " + infoShiftNew.getInfoDisciplinaExecucao().getNome());
	public Object run(InfoShift infoShiftOld, InfoShift infoShiftNew)		throws FenixServiceException {		InfoShift infoShift = null;		try {			newShiftIsValid(				infoShiftOld,				infoShiftNew.getTipo(),				infoShiftNew.getInfoDisciplinaExecucao(),				infoShiftNew.getLotacao());		} catch (InvalidNewShiftExecutionCourse ex) {			throw new InvalidNewShiftExecutionCourse();		} catch (InvalidNewShiftType ex) {			throw new InvalidNewShiftType();		} catch (InvalidNewShiftCapacity ex) {			throw new InvalidNewShiftCapacity();		}		try {			ISuportePersistente sp;			sp = SuportePersistenteOJB.getInstance();			ITurno shift =				(ITurno) sp.getITurnoPersistente().readByOID(					Turno.class,					infoShiftOld.getIdInternal());			sp.getITurnoPersistente().lockWrite(shift);			shift.setNome(infoShiftNew.getNome());			shift.setTipo(infoShiftNew.getTipo());			shift.setLotacao(infoShiftNew.getLotacao());			IDisciplinaExecucao executionCourse =				(IDisciplinaExecucao) sp					.getIDisciplinaExecucaoPersistente()					.readByOID(					DisciplinaExecucao.class,					infoShiftOld.getInfoDisciplinaExecucao().getIdInternal());			shift.setDisciplinaExecucao(executionCourse);			infoShift = Cloner.copyShift2InfoShift(shift);		} catch (ExcepcaoPersistencia ex) {			throw new FenixServiceException(ex);		}		return infoShift;	}