final ExecutionDegree executionDegree = rootDomainObject.readExecutionDegreeByOID(executionDegreeOID); final Scheduleing scheduleing = executionDegree.getScheduling(); if (scheduleing == null) { final ActionErrors actionErrors = new ActionErrors(); actionErrors.add("error.scheduling.not.defined", new ActionError("error.scheduling.not.defined")); saveErrors(request, actionErrors); final String path = StringAppender.append("/manageFinalDegreeWork.do?method=prepare&degreeCurricularPlanID=", executionDegree.getDegreeCurricularPlan().getIdInternal().toString(), "&executionDegreeOID=" + executionDegreeOID.toString()); final ActionForward actionForward = new ActionForward(path); return actionForward; }
    public ActionForward publishAprovedProposals(ActionMapping mapping, ActionForm form,            HttpServletRequest request, HttpServletResponse response) throws FenixActionException,            FenixFilterException, FenixServiceException {        IUserView userView = SessionUtils.getUserView(request);        DynaActionForm dynaActionForm = (DynaActionForm) form;        Integer executionDegreeOID = Integer.valueOf((String) dynaActionForm.get("executionDegreeOID"));        request.setAttribute("executionDegreeOID", executionDegreeOID);        Object args[] = { executionDegreeOID };        try {            ServiceUtils.executeService(userView, "PublishAprovedFinalDegreeWorkProposals", args);        } catch (NotAuthorizedFilterException e) {            ActionErrors actionErrors = new ActionErrors();            actionErrors.add("error", new ActionError("error.exception.notAuthorized2"));            saveErrors(request, actionErrors);            return mapping.getInputForward();          } catch (FenixServiceException e) {            throw new FenixActionException(e);        }        return prepare(mapping, form, request, response);    }