final Integer participationId = Integer.parseInt(request.getParameter("participationId")); final Object[] args = { participationId, getUserView(request).getPerson().getName() };  try { ServiceUtils.executeService(getUserView(request), "DeleteResultParticipation", args); } catch (FenixServiceException e) { addActionMessage(request, "researcher.result.error.participationNotFound"); }
ResultParticipation participation = readResultParticipationFromRequest(request); if(participation==null){ return backToResultList(mapping, form, request, response); }  ResultParticipation.deleteResultParticipation(participation);
    public ActionForward removeParticipation(ActionMapping mapping, ActionForm form,            HttpServletRequest request, HttpServletResponse response) throws Exception {        final Integer participationId = Integer.parseInt(request.getParameter("participationId"));        final Object[] args = { participationId, getUserView(request).getPerson().getName() };                try {            ServiceUtils.executeService(getUserView(request), "DeleteResultParticipation", args);            }        catch (FenixServiceException e) {            addActionMessage(request, "researcher.result.error.participationNotFound");        }                return prepareEditParticipation(mapping,form,request,response);    }