Examples of PhdCandidacyPeriodBean


Examples of org.fenixedu.academic.domain.phd.candidacy.PhdCandidacyPeriodBean

        return mapping.findForward("list");
    }

    public ActionForward prepareCreatePhdCandidacyPeriod(ActionMapping mapping, ActionForm form, HttpServletRequest request,
            HttpServletResponse response) {
        PhdCandidacyPeriodBean bean = new PhdCandidacyPeriodBean();
        request.setAttribute("phdCandidacyPeriodBean", bean);

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

Examples of org.fenixedu.academic.domain.phd.candidacy.PhdCandidacyPeriodBean

        return mapping.findForward("createPhdCandidacyPeriod");
    }

    public ActionForward createPhdCandidacyPeriod(ActionMapping mapping, ActionForm form, HttpServletRequest request,
            HttpServletResponse response) {
        PhdCandidacyPeriodBean bean = readPhdCandidacyPeriodBean();

        switch (bean.getType()) {
        case EPFL:
            try {
                EPFLPhdCandidacyPeriod.create(bean);
                break;
            } catch (final DomainException e) {
View Full Code Here

Examples of org.fenixedu.academic.domain.phd.candidacy.PhdCandidacyPeriodBean

    }

    public ActionForward prepareEditPhdCandidacyPeriod(ActionMapping mapping, ActionForm form, HttpServletRequest request,
            HttpServletResponse response) {
        PhdCandidacyPeriod phdCandidacyPeriod = readPhdCandidacyPeriod(request);
        request.setAttribute("phdCandidacyPeriodBean", new PhdCandidacyPeriodBean(phdCandidacyPeriod));
        request.setAttribute("phdCandidacyPeriod", readPhdCandidacyPeriod(request));

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

Examples of org.fenixedu.academic.domain.phd.candidacy.PhdCandidacyPeriodBean

    }

    public ActionForward editPhdCandidacyPeriod(ActionMapping mapping, ActionForm form, HttpServletRequest request,
            HttpServletResponse response) {
        PhdCandidacyPeriod phdCandidacyPeriod = readPhdCandidacyPeriod(request);
        PhdCandidacyPeriodBean bean = readPhdCandidacyPeriodBean();

        try {
            phdCandidacyPeriod.edit(bean.getStart(), bean.getEnd());
        } catch (DomainException e) {
            addActionMessage("error", request, e.getKey(), e.getArgs());
            return editPhdCandidacyPeriodInvalid(mapping, form, request, response);
        }
View Full Code Here

Examples of org.fenixedu.academic.domain.phd.candidacy.PhdCandidacyPeriodBean

        return mapping.findForward("editPhdCandidacyPeriod");
    }

    public ActionForward addPhdProgram(ActionMapping mapping, ActionForm form, HttpServletRequest request,
            HttpServletResponse response) {
        PhdCandidacyPeriodBean phdCandidacyPeriodBean = readPhdCandidacyPeriodBean();
        InstitutionPhdCandidacyPeriod phdCandidacyPeriod = (InstitutionPhdCandidacyPeriod) readPhdCandidacyPeriod(request);

        phdCandidacyPeriod.addPhdProgramListToPeriod(phdCandidacyPeriodBean.getPhdProgramList());

        return prepareEditPhdCandidacyPeriod(mapping, form, request, response);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.