private void changeAnnulled2ActiveIfActivePlan(StudentCurricularPlanState newState, IPersistentEnrolment persistentEnrolment, IEnrolment enrolment) throws ExcepcaoPersistencia
private void changeAnnulled2ActiveIfActivePlan(StudentCurricularPlanState newState, IPersistentEnrolment persistentEnrolment, IEnrollment enrolment) throws ExcepcaoPersistencia
    private void changeAnnulled2ActiveIfActivePlan(StudentCurricularPlanState newState, IPersistentEnrolment persistentEnrolment, IEnrolment enrolment) throws ExcepcaoPersistencia    {        if (newState.getState().intValue() == StudentCurricularPlanState.ACTIVE) {            if (enrolment.getEnrolmentState().getValue() ==  EnrolmentState.ANNULED_TYPE) {        		persistentEnrolment.simpleLockWrite(enrolment);		        		enrolment.setEnrolmentState(EnrolmentState.ENROLED);        	}					            }    }