turno.setAssociatedLessons(new ArrayList()); turno.setAssociatedTeacherProfessorShipPercentage(new ArrayList());
	public Boolean run(InfoShift infoTurno)		throws FenixServiceException {		ITurno turno = null;		boolean result = false;		try {			ISuportePersistente sp = SuportePersistenteOJB.getInstance();			IDisciplinaExecucaoPersistente executionCourseDAO =				sp.getIDisciplinaExecucaoPersistente();						IExecutionPeriod executionPeriod = Cloner.copyInfoExecutionPeriod2IExecutionPeriod(infoTurno.getInfoDisciplinaExecucao().getInfoExecutionPeriod());			IDisciplinaExecucao executionCourse =				executionCourseDAO					.readByExecutionCourseInitialsAndExecutionPeriod(					infoTurno.getInfoDisciplinaExecucao().getSigla(),					executionPeriod);			turno =				new Turno(					infoTurno.getNome(),					infoTurno.getTipo(),					infoTurno.getLotacao(),					executionCourse);			// TODO : this is requierd to write shifts.			//        I'm not sure of the significance, nor do I know if it is to			//        be attributed by SOP users. So for now just set it to 0. 			turno.setAvailabilityFinal(new Integer(0));						try {				sp.getITurnoPersistente().lockWrite(turno);			} catch (ExistingPersistentException ex) {				throw new ExistingServiceException(ex);			}			result = true;		} catch (ExcepcaoPersistencia ex) {			ex.printStackTrace();		}		return new Boolean(result);	}