Package org.fenixedu.academic.dto.administrativeOffice.externalUnits

Examples of org.fenixedu.academic.dto.administrativeOffice.externalUnits.EditExternalUnitBean


    }

    public ActionForward prepareEditUnit(ActionMapping mapping, ActionForm actionForm, HttpServletRequest request,
            HttpServletResponse response) {

        request.setAttribute("editUnitBean", new EditExternalUnitBean(getUnit(request)));
        return mapping.findForward("prepareEditUnit");
    }
View Full Code Here


    }

    public ActionForward editExternalUnit(ActionMapping mapping, ActionForm actionForm, HttpServletRequest request,
            HttpServletResponse response) throws FenixServiceException {

        final EditExternalUnitBean externalUnitBean = getRenderedObject();

        try {
            EditExternalUnit.run(externalUnitBean);
            request.setAttribute("oid", externalUnitBean.getExternalUnit().getExternalId());
            return viewUnit(mapping, actionForm, request, response);

        } catch (final IllegalDataAccessException e) {
            addActionMessage("error", request, "error.notAuthorized");
        } catch (final DomainException e) {
View Full Code Here

TOP

Related Classes of org.fenixedu.academic.dto.administrativeOffice.externalUnits.EditExternalUnitBean

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.