persistentEnrolmentEvaluation.delete(enrolmentEvaluation);
persistentEnrolmentEvaluation.simpleLockWrite(enrolmentEvaluation); enrolmentEvaluation.setEnrolmentEvaluationState(EnrolmentEvaluationState.ANNULED_OBJ);
	public static void deleteAttendAndEnrolmentEvaluations(IEnrolment enrolment) throws ExcepcaoPersistencia {		ISuportePersistente persistentSupport = null;		IPersistentEnrolmentEvaluation persistentEnrolmentEvaluation = null;		IFrequentaPersistente persistentAttend = null;		persistentSupport = SuportePersistenteOJB.getInstance();		persistentAttend = persistentSupport.getIFrequentaPersistente();		persistentEnrolmentEvaluation = persistentSupport.getIPersistentEnrolmentEvaluation();		IFrequenta attend = persistentAttend.readByEnrolment(enrolment);		List enrolmentEvaluationsList = persistentEnrolmentEvaluation.readEnrolmentEvaluationByEnrolment(enrolment);		if(attend != null) {			persistentAttend.delete(attend);		}				if(enrolmentEvaluationsList != null) {			Iterator iterator = enrolmentEvaluationsList.iterator();			while(iterator.hasNext()) {				IEnrolmentEvaluation enrolmentEvaluation = (IEnrolmentEvaluation) iterator.next();				if(enrolmentEvaluation != null) {					persistentEnrolmentEvaluation.delete(enrolmentEvaluation);				}			}		}	}