Package org.fenixedu.academic.domain.phd

Examples of org.fenixedu.academic.domain.phd.PhdProgramInformationBean


    public ActionForward prepareCreatePhdInformation(ActionMapping mapping, ActionForm form, HttpServletRequest request,
            HttpServletResponse response) {
        PhdProgram phdProgram = readPhdProgram(request);
        request.setAttribute("phdProgram", phdProgram);
        request.setAttribute("phdProgramInformationBean", new PhdProgramInformationBean(phdProgram));

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


        return mapping.findForward("createPhdInformation");
    }

    public ActionForward create(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) {

        PhdProgramInformationBean readPhdInformationBean = readPhdInformationBean();
        try {
            PhdProgramInformation.createInformation(readPhdInformationBean);
        } catch (PhdDomainOperationException e) {
            request.setAttribute("phdProgramInformationBean", readPhdInformationBean);
            setError(request, mapping, null, null, e);
View Full Code Here

    public ActionForward prepareEditPhdProgramInformation(ActionMapping mapping, ActionForm form, HttpServletRequest request,
            HttpServletResponse response) {
        PhdProgramInformation phdProgramInformation = readPhdProgramInformation(request);

        request.setAttribute("phdProgramInformation", phdProgramInformation);
        request.setAttribute("phdProgramInformationBean", new PhdProgramInformationBean(phdProgramInformation));

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

        return mapping.findForward("editPhdProgramInformation");
    }

    public ActionForward edit(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) {
        PhdProgramInformation phdProgramInformation = readPhdProgramInformation(request);
        PhdProgramInformationBean readPhdInformationBean = readPhdInformationBean();

        try {
            phdProgramInformation.edit(readPhdInformationBean);
        } catch (PhdDomainOperationException e) {
            request.setAttribute("phdProgramInformation", phdProgramInformation);
View Full Code Here

TOP

Related Classes of org.fenixedu.academic.domain.phd.PhdProgramInformationBean

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.