}
public ActionForward showActiveCurricularCourseScope(ActionMapping mapping, ActionForm form, HttpServletRequest request,
HttpServletResponse response) throws FenixActionException, FenixServiceException {
final SearchStudentsByCurricularCourseParametersBean searchBean = getOrCreateSearchBean();
final SortedSet<DegreeModuleScope> degreeModuleScopes =
new TreeSet<DegreeModuleScope>(
DegreeModuleScope.COMPARATOR_BY_CURRICULAR_YEAR_AND_SEMESTER_AND_CURRICULAR_COURSE_NAME_AND_BRANCH);
degreeModuleScopes.addAll(searchBean.getDegreeCurricularPlan().getDegreeModuleScopesFor(searchBean.getExecutionYear()));
if (degreeModuleScopes.isEmpty()) {
addActionMessage("message", request, "error.nonExisting.AssociatedCurricularCourses");
} else {
request.setAttribute("degreeModuleScopes", degreeModuleScopes);