Package org.fenixedu.academic.domain.phd

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


            conclusionDate = individualProgramProcess.getRegistration().getConclusionDateForBolonha().toLocalDate();
        } else {
            conclusionDate = bean.getConclusionDate();
        }

        PhdProgramInformation phdProgramInformation =
                getProcess(request).getIndividualProgramProcess().getPhdProgram().getPhdProgramInformationByDate(conclusionDate);

        request.setAttribute("isExempted", individualProgramProcess.getStudyPlan().isExempted());
        request.setAttribute("conclusionDateForPhdInformation", conclusionDate);
        request.setAttribute("phdProgramInformation", phdProgramInformation);
View Full Code Here


            conclusionDate = individualProgramProcess.getRegistration().getConclusionDateForBolonha().toLocalDate();
        } else {
            conclusionDate = bean.getConclusionDate();
        }

        PhdProgramInformation phdProgramInformation =
                getProcess(request).getIndividualProgramProcess().getPhdProgram().getPhdProgramInformationByDate(conclusionDate);

        request.setAttribute("isExempted", individualProgramProcess.getStudyPlan().isExempted());
        request.setAttribute("conclusionDateForPhdInformation", conclusionDate);
        request.setAttribute("phdProgramInformation", phdProgramInformation);
View Full Code Here

        return mapping.findForward("createPhdInformation");
    }

    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);
            request.setAttribute("phdProgramInformationBean", readPhdInformationBean);
            setError(request, mapping, null, null, e);
            return mapping.findForward("editPhdProgramInformation");
View Full Code Here

        return listPhdProgramInformations(mapping, form, request, response);
    }

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

        request.setAttribute("phdProgramInformation", phdProgramInformation);
        request.setAttribute("phdProgramInformationBean", readPhdInformationBean());

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

        return getPhdIndividualProgramProcess().getPhdProgram().getName().getContent(locale);
    }

    @Override
    public long getEctsCredits() {
        PhdProgramInformation information = getPhdInformationForConclusionDate();

        if (information == null) {
            return 0;
        }

        return information.getMaxStudyPlanEctsCredits().add(information.getMaxThesisEctsCredits()).longValue();
    }
View Full Code Here

        }
    }

    @Override
    public Integer getNumberOfCurricularYears() {
        PhdProgramInformation information = getPhdInformationForConclusionDate();

        if (information == null) {
            return null;
        }

        return information.getNumberOfYears();
    }
View Full Code Here

            PhdConclusionProcess conclusionProcess = getPhdIndividualProgramProcess().getLastConclusionProcess();
            conclusionDate = conclusionProcess.getConclusionDate();
        }

        PhdProgram phdProgram = getPhdIndividualProgramProcess().getPhdProgram();
        PhdProgramInformation information = phdProgram.getPhdProgramInformationByDate(conclusionDate);
        return information;
    }
View Full Code Here

        return information;
    }

    @Override
    public Integer getNumberOfCurricularSemesters() {
        PhdProgramInformation information = getPhdInformationForConclusionDate();

        if (information == null) {
            return null;
        }

        return information.getNumberOfSemesters();
    }
View Full Code Here

TOP

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

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.