final HttpServletResponse response) {
ThesisSubject subject = getDomainObject(request, "thesisSubjectId");
ThesisSubjectBean bean = getRenderedObject("bean");
try {
subject.edit(bean.getName(), bean.getDescription(), bean.getTeacher(), bean.getExternalAdvisorName());
} catch (PhdDomainOperationException e) {
addActionMessage("error", request, e.getKey(), e.getArgs());
return editThesisSubjectInvalid(mapping, form, request, response);
}