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

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


    }

    protected ActionForward prepareProcessNewState(ActionMapping mapping, ActionForm form, HttpServletRequest request,
            HttpServletResponse response, AcademicServiceRequestSituationType situationType) {
        PhdAcademicServiceRequest academicServiceRequest = getPhdAcademicServiceRequest(request);
        PhdAcademicServiceRequestBean academicServiceRequestBean = new PhdAcademicServiceRequestBean(academicServiceRequest);

        academicServiceRequestBean.setSituationType(situationType);
        request.setAttribute("phdAcademicServiceRequestBean", academicServiceRequestBean);

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


        return mapping.findForward("prepareProcessNewState");
    }

    protected ActionForward handleNewSituation(ActionMapping mapping, ActionForm form, HttpServletRequest request,
            HttpServletResponse response) {
        PhdAcademicServiceRequestBean academicServiceRequestBean = getPhdAcademicServiceRequestBean();
        try {
            academicServiceRequestBean.handleNewSituation();
        } catch (DomainException e) {
            addActionMessage("academicAdminOfficeErrors", request, e.getKey(), e.getArgs());
            request.setAttribute("phdAcademicServiceRequestBean", getPhdAcademicServiceRequestBean());

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

TOP

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

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.