Package org.fenixedu.academic.domain.phd.serviceRequests

Examples of org.fenixedu.academic.domain.phd.serviceRequests.PhdAcademicServiceRequestCreateBean


    }

    public ActionForward prepareCreateNewRequest(ActionMapping mapping, ActionForm form, HttpServletRequest request,
            HttpServletResponse response) {
        PhdIndividualProgramProcess process = getPhdIndividualProgramProcess(request);
        PhdAcademicServiceRequestCreateBean academicServiceRequestCreateBean = new PhdAcademicServiceRequestCreateBean(process);

        request.setAttribute("phdAcademicServiceRequestCreateBean", academicServiceRequestCreateBean);

        return mapping.findForward("prepareCreateNewRequest");
    }
View Full Code Here


        return mapping.findForward("prepareCreateNewRequest");
    }

    public ActionForward createNewRequest(ActionMapping mapping, ActionForm form, HttpServletRequest request,
            HttpServletResponse response) {
        PhdAcademicServiceRequestCreateBean academicServiceRequestCreateBean = getPhdAcademicServiceRequestCreateBean();
        try {
            academicServiceRequestCreateBean.createNewRequest();
        } catch (PhdDomainOperationException exception) {
            addErrorMessage(request, exception.getMessage(), new String[0]);
            return prepareCreateNewRequest(mapping, form, request, response);
        }
View Full Code Here

        return forward;
    }

    public ActionForward createNewRequestInvalid(ActionMapping mapping, ActionForm form, HttpServletRequest request,
            HttpServletResponse response) {
        PhdAcademicServiceRequestCreateBean academicServiceRequestCreateBean = getPhdAcademicServiceRequestCreateBean();
        request.setAttribute("phdAcademicServiceRequestCreateBean", academicServiceRequestCreateBean);

        return mapping.findForward("prepareCreateNewRequest");
    }
View Full Code Here

TOP

Related Classes of org.fenixedu.academic.domain.phd.serviceRequests.PhdAcademicServiceRequestCreateBean

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.