return mapping.findForward("list-thesis");
}
public ActionForward listScientificComission(ActionMapping mapping, ActionForm actionForm, HttpServletRequest request,
HttpServletResponse response) throws Exception {
final Degree degree = getDomainObject(request, "degreeId");
request.setAttribute("degree", degree);
final ExecutionYear executionYear = getDomainObject(request, "executionYearId");
request.setAttribute("executionYear", executionYear);
if (degree == null || executionYear == null) {
return listThesis(mapping, actionForm, request, response);
}
final Set<ExecutionDegree> executionDegrees = new HashSet<ExecutionDegree>();
for (final DegreeCurricularPlan degreeCurricularPlan : degree.getDegreeCurricularPlansSet()) {
for (final ExecutionDegree executionDegree : degreeCurricularPlan.getExecutionDegreesSet()) {
if (executionDegree.getExecutionYear() == executionYear) {
executionDegrees.add(executionDegree);
}
}