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

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


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

        final ExternalEnrolment externalEnrolment = getExternalEnrolment(request, actionForm);
        request.setAttribute("registration", externalEnrolment.getRegistration());
        request.setAttribute("externalEnrolmentBean", new EditExternalEnrolmentBean(externalEnrolment));
        return mapping.findForward("prepareEditExternalEnrolment");
    }
View Full Code Here


    }

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

        final EditExternalEnrolmentBean externalEnrolmentBean = getRenderedObject();
        final ExternalEnrolment externalEnrolment = externalEnrolmentBean.getExternalEnrolment();
        try {
            EditExternalEnrolment.run(externalEnrolmentBean, externalEnrolment.getRegistration());
            return manageExternalEnrolments(mapping, actionForm, request, response);

        } catch (final IllegalDataAccessException e) {
View Full Code Here

    }

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

        request.setAttribute("externalEnrolmentBean", new EditExternalEnrolmentBean(getExternalEnrolment(request)));
        return mapping.findForward("prepareEditExternalEnrolment");
    }
View Full Code Here

    }

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

        final EditExternalEnrolmentBean externalEnrolmentBean = getRenderedObject();
        try {
            EditExternalEnrolment.run(externalEnrolmentBean, externalEnrolmentBean.getExternalEnrolment().getRegistration());

            request.setAttribute("oid", externalEnrolmentBean.getExternalCurricularCourse().getExternalId());
            return viewExternalCurricularCourse(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.EditExternalEnrolmentBean

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.