List<Integer> curricularYears = Arrays.asList(getCurricularYearIDs());
DegreeCurricularPlan degreeCurricularPlan = getExecutionDegree().getDegreeCurricularPlan();
for (final ExecutionCourse executionCourse : getExecutionCourses()) {
for (final Evaluation evaluation : executionCourse.getAssociatedEvaluationsSet()) {
if (evaluation instanceof WrittenEvaluation) {
final WrittenEvaluation writtenEvaluation = (WrittenEvaluation) evaluation;
if (writtenEvaluation.hasScopeOrContextFor(curricularYears, degreeCurricularPlan)) {
final CalendarLink calendarLink =
new CalendarLink(executionCourse, writtenEvaluation, I18N.getLocale());
calendarLink.setLinkParameters(constructLinkParameters(executionCourse, writtenEvaluation));
result.add(calendarLink);
}