Package org.fenixedu.academic.domain.phd

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


    public ActionForward prepareEditPhdIndividualProgramProcessInformationFocusAreaPostback(ActionMapping mapping,
            ActionForm actionForm, HttpServletRequest request, HttpServletResponse response) {
        request.setAttribute("candidacyBean", getCandidacyBean());

        PhdIndividualProgramProcessBean phdBean = getRenderedObject("individualProcessBean");
        phdBean.updateThesisSubjectBeans();

        request.setAttribute("individualProcessBean", phdBean);

        RenderUtils.invalidateViewState();
View Full Code Here


    }

    public ActionForward editPhdIndividualProgramProcessInformation(ActionMapping mapping, ActionForm actionForm,
            HttpServletRequest request, HttpServletResponse response) {

        final PhdIndividualProgramProcessBean bean = getRenderedObject("individualProcessBean");
        try {
            PhdIndividualProgramProcess individualProgramProcess = bean.getIndividualProgramProcess();
            ExecuteProcessActivity.run(individualProgramProcess, EditIndividualProcessInformation.class, bean);
            addSuccessMessage(request, "message.phdIndividualProgramProcessInformation.edit.success");

        } catch (final DomainException e) {
            addErrorMessage(request, e.getKey(), e.getArgs());
View Full Code Here

            InstitutionPhdCandidacyPeriod phdCandidacyPeriod = (InstitutionPhdCandidacyPeriod) bean.getPhdCandidacyPeriod();

            return phdCandidacyPeriod.getPhdProgramsSet();

        } else if (source instanceof PhdIndividualProgramProcessBean) {
            PhdIndividualProgramProcessBean bean = (PhdIndividualProgramProcessBean) source;
            InstitutionPhdCandidacyPeriod publicPhdCandidacyPeriod =
                    (InstitutionPhdCandidacyPeriod) bean.getIndividualProgramProcess().getCandidacyProcess()
                            .getPublicPhdCandidacyPeriod();

            return publicPhdCandidacyPeriod.getPhdProgramsSet();
        }
View Full Code Here

        return new EnumConverter();
    }

    @Override
    public Object provide(Object source, Object currentValue) {
        PhdIndividualProgramProcessBean processBean = (PhdIndividualProgramProcessBean) source;
        PhdIndividualProgramProcess process = processBean.getIndividualProgramProcess();

        return PhdIndividualProgramProcessState.getPossibleNextStates(process);
    }
View Full Code Here

    // End of Qualifications and Jobs information

    // Phd individual program process information
    public ActionForward prepareEditPhdIndividualProgramProcessInformation(ActionMapping mapping, ActionForm actionForm,
            HttpServletRequest request, HttpServletResponse response) {
        request.setAttribute("phdIndividualProgramProcessBean", new PhdIndividualProgramProcessBean(getProcess(request)));
        return mapping.findForward("editPhdIndividualProgramProcessInformation");
    }
View Full Code Here

    }

    public ActionForward editPhdIndividualProgramProcessInformation(ActionMapping mapping, ActionForm actionForm,
            HttpServletRequest request, HttpServletResponse response) {

        final PhdIndividualProgramProcessBean bean = getRenderedObject("phdIndividualProgramProcessBean");
        request.setAttribute("phdIndividualProgramProcessBean", bean);

        if (!bean.isCollaborationInformationCorrect()) {
            addErrorMessage(request, "message.phdIndividualProgramProcessInformation.invalid.collaboration");
            return mapping.findForward("editPhdIndividualProgramProcessInformation");
        }

        try {
View Full Code Here

    // change phd individual program process state

    public ActionForward managePhdIndividualProgramProcessState(ActionMapping mapping, ActionForm actionForm,
            HttpServletRequest request, HttpServletResponse response) {
        final PhdIndividualProgramProcessBean bean = new PhdIndividualProgramProcessBean();
        bean.setIndividualProgramProcess(getProcess(request));
        request.setAttribute("processBean", bean);
        return mapping.findForward("managePhdIndividualProgramProcessState");
    }
View Full Code Here

    }

    public ActionForward changePhdIndividualProgramProcessState(ActionMapping mapping, ActionForm actionForm,
            HttpServletRequest request, HttpServletResponse response) throws FenixActionException {

        final PhdIndividualProgramProcessBean bean = getRenderedObject("processBean");

        try {
            switch (bean.getProcessState()) {
            case CANCELLED:
                ExecuteProcessActivity.run(getProcess(request), CancelPhdProgramProcess.class.getSimpleName(), bean);
                break;

            case FLUNKED:
View Full Code Here

    }

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

        request.setAttribute("editQualificationExamsBean", new PhdIndividualProgramProcessBean(getProcess(request)));

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

public class PhdProgramFocusAreasProviderForEditDetails extends AbstractDomainObjectProvider {

    @Override
    public Object provide(Object source, Object current) {
        final PhdIndividualProgramProcessBean bean = (PhdIndividualProgramProcessBean) source;
        return bean.hasPhdProgram() ? bean.getPhdProgram().getPhdProgramFocusAreasSet() : Bennu.getInstance()
                .getPhdProgramFocusAreasSet();
    }
View Full Code Here

TOP

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

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.