private IEnrolment writeEnrollment(ICurricularCourse curricularCourse, IStudentCurricularPlan toStudentCurricularPlan,
private IEnrollment writeEnrollment(ICurricularCourse curricularCourse, IStudentCurricularPlan toStudentCurricularPlan,
	private IEnrolment writeEnrollment(ICurricularCourse curricularCourse, IStudentCurricularPlan toStudentCurricularPlan,		String grade, IUserView userView) throws ExcepcaoPersistencia	{		ISuportePersistente persistenceDAO = SuportePersistenteOJB.getInstance();		IPersistentEnrolment enrollmentDAO = persistenceDAO.getIPersistentEnrolment();		IPersistentExecutionPeriod executionPeriodDAO = persistenceDAO.getIPersistentExecutionPeriod();		IExecutionPeriod executionPeriod = executionPeriodDAO.readActualExecutionPeriod();		IEnrolment enrollmentToWrite = enrollmentDAO.readByStudentCurricularPlanAndCurricularCourseAndExecutionPeriod(			toStudentCurricularPlan, curricularCourse, executionPeriod);		if (enrollmentToWrite == null)		{			enrollmentToWrite = new Enrolment();			enrollmentDAO.simpleLockWrite(enrollmentToWrite);			enrollmentToWrite.setCurricularCourse(curricularCourse);			enrollmentToWrite.setEnrolmentEvaluationType(EnrolmentEvaluationType.EQUIVALENCE_OBJ);			enrollmentToWrite.setEnrolmentState(getEnrollmentStateByGrade(grade));			enrollmentToWrite.setExecutionPeriod(executionPeriod);			enrollmentToWrite.setStudentCurricularPlan(toStudentCurricularPlan);			enrollmentToWrite.setCreationDate(new Date());		}		writeEnrollmentEvaluation(enrollmentToWrite, grade, userView);		return enrollmentToWrite;	}