for (StudentCurricularPlan studentCurricularPlan : student.getStudentCurricularPlans()) { for (Enrolment enrolment : studentCurricularPlan.getEnrolments()) {
for (StudentCurricularPlan scp : student.getStudentCurricularPlans()) { for (Enrolment enrolment : scp.getEnrolments()) {
	public void execute(ServiceRequest request, ServiceResponse response)			throws Exception {		IUserView id = (IUserView) request.getRequester();		Student student = readStudent(id);		if(student == null) {			throw new NotAuthorizedFilterException("noAuthorization");		}				ExecutionPeriod actualExecutionPeriod = persistentSupport.getIPersistentExecutionPeriod().readActualExecutionPeriod();		ExecutionPeriod previousExecutionPeriod = actualExecutionPeriod.getPreviousExecutionPeriod();		ExecutionPeriod beforePreviousExecutionPeriod = previousExecutionPeriod.getPreviousExecutionPeriod();				for (StudentCurricularPlan studentCurricularPlan : student.getStudentCurricularPlans()) {			for (Enrolment enrolment : studentCurricularPlan.getEnrolments()) {				if(enrolment.getExecutionPeriod().equals(previousExecutionPeriod) || enrolment.getExecutionPeriod().equals(beforePreviousExecutionPeriod)) {					return;				}			}		}		throw new NotAuthorizedFilterException("error.no.enrolment.two.previous.executions");	}