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

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


    }

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

        request.setAttribute("createExternalCurricularCourseBean", new CreateExternalCurricularCourseBean(getUnit(request)));
        return mapping.findForward("prepareCreateExternalCurricularCourse");
    }
View Full Code Here


    }

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

        final CreateExternalCurricularCourseBean externalCurricularCourseBean = getRenderedObject();

        try {
            CreateExternalCurricularCourse.run(externalCurricularCourseBean);

            request.setAttribute("oid", externalCurricularCourseBean.getParentUnit().getExternalId());
            return viewUnit(mapping, actionForm, request, response);

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

TOP

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

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.