result = true; } catch (ExcepcaoPersistencia ex) { throw new FenixServiceException(ex.getMessage()); }  return new Boolean (result); }
  public Boolean run(InfoClass infoClass, InfoShift infoShift) throws FenixServiceException {    ITurmaTurno turmaTurno = null;    boolean result = false;    try {      ISuportePersistente sp = SuportePersistenteOJB.getInstance();            IExecutionPeriod executionPeriod = Cloner.copyInfoExecutionPeriod2IExecutionPeriod(infoClass.getInfoExecutionPeriod());      ICursoExecucao executionDegree = Cloner.copyInfoExecutionDegree2ExecutionDegree(infoClass.getInfoExecutionDegree());       IDisciplinaExecucao executionCourse = Cloner.copyInfoExecutionCourse2ExecutionCourse(infoShift.getInfoDisciplinaExecucao());            ITurma group = sp.getITurmaPersistente().readByNameAndExecutionDegreeAndExecutionPeriod(infoClass.getNome(), executionDegree, executionPeriod);      ITurno shift = sp.getITurnoPersistente().readByNameAndExecutionCourse(infoShift.getNome(), executionCourse);	  turmaTurno = new TurmaTurno(group, shift);            try {		sp.getITurmaTurnoPersistente().lockWrite(turmaTurno);	} catch (ExistingPersistentException e) {		throw new ExistingServiceException(e);	}            result = true;    } catch (ExcepcaoPersistencia ex) {		throw new FenixServiceException(ex.getMessage());    }    return new Boolean (result);  }