public ActionForward switchResponsability(ActionMapping mapping, ActionForm form, HttpServletRequest request,
HttpServletResponse response) {
final String coordinatorId = request.getParameter("coordinatorId");
Coordinator coordinator = FenixFramework.getDomainObject(coordinatorId);
final String executionDegreeId = request.getParameter("executionDegreeId");
ExecutionDegree executionDegree = FenixFramework.getDomainObject(executionDegreeId);
final String personId = request.getParameter("personId");
final Person personSwitching = FenixFramework.getDomainObject(personId);
String backPath = request.getParameter("backPath");
if (coordinator.isResponsible()) {
coordinator.makeAction(OperationType.CHANGERESPONSIBLE_FALSE, personSwitching);
// coordinator.setAsNotResponsible();
} else {
coordinator.makeAction(OperationType.CHANGERESPONSIBLE_TRUE, personSwitching);
// coordinator.setAsResponsible();
}
ExecutionDegreeCoordinatorsBean coordsBean = new ExecutionDegreeCoordinatorsBean(executionDegree);
coordsBean.setEscapedBackPath(backPath);