Examples of IngressionInformationBean


Examples of org.fenixedu.academic.dto.candidacy.IngressionInformationBean

        }

        executionDegreeBean.setExecutionDegree(executionDegree);
        RenderUtils.invalidateViewState();
        request.setAttribute("executionDegreeBean", executionDegreeBean);
        request.setAttribute("ingressionInformationBean", new IngressionInformationBean());

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

Examples of org.fenixedu.academic.dto.candidacy.IngressionInformationBean

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

        ExecutionDegreeBean executionDegreeBean =
                (ExecutionDegreeBean) RenderUtils.getViewState("executionDegree").getMetaObject().getObject();
        IngressionInformationBean ingressionInformationBean =
                (IngressionInformationBean) RenderUtils.getViewState("chooseIngression").getMetaObject().getObject();
        ingressionInformationBean.clearIngressionAndEntryPhase();

        RenderUtils.invalidateViewState();

        request.setAttribute("executionDegreeBean", executionDegreeBean);
        request.setAttribute("ingressionInformationBean", ingressionInformationBean);

        if (ingressionInformationBean.getRegistrationProtocol() != null
                && !ingressionInformationBean.getRegistrationProtocol().isEnrolmentByStudentAllowed()) {
            request.setAttribute("choosePersonBean", new ChoosePersonBean());
        }

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

Examples of org.fenixedu.academic.dto.candidacy.IngressionInformationBean

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

        ExecutionDegreeBean executionDegreeBean =
                (ExecutionDegreeBean) RenderUtils.getViewState("executionDegree").getMetaObject().getObject();
        IngressionInformationBean ingressionInformationBean =
                (IngressionInformationBean) RenderUtils.getViewState("chooseIngression").getMetaObject().getObject();
        ingressionInformationBean.clearAgreement();

        RenderUtils.invalidateViewState();

        request.setAttribute("executionDegreeBean", executionDegreeBean);
        request.setAttribute("ingressionInformationBean", ingressionInformationBean);

        if (ingressionInformationBean.getIngression() != null && !ingressionInformationBean.getIngression().hasEntryPhase()) {
            request.setAttribute("choosePersonBean", new ChoosePersonBean());
        }

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

Examples of org.fenixedu.academic.dto.candidacy.IngressionInformationBean

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

        ExecutionDegreeBean executionDegreeBean =
                (ExecutionDegreeBean) RenderUtils.getViewState("executionDegree").getMetaObject().getObject();
        IngressionInformationBean ingressionInformationBean =
                (IngressionInformationBean) RenderUtils.getViewState("chooseIngression").getMetaObject().getObject();
        ingressionInformationBean.clearAgreement();

        RenderUtils.invalidateViewState("executionDegree");
        RenderUtils.invalidateViewState("chooseIngression");

        request.setAttribute("executionDegreeBean", executionDegreeBean);
View Full Code Here

Examples of org.fenixedu.academic.dto.candidacy.IngressionInformationBean

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

        ExecutionDegreeBean executionDegreeBean =
                (ExecutionDegreeBean) RenderUtils.getViewState("executionDegree").getMetaObject().getObject();
        IngressionInformationBean ingressionInformationBean =
                (IngressionInformationBean) RenderUtils.getViewState("chooseIngression").getMetaObject().getObject();
        PrecedentDegreeInformationBean precedentDegreeInformationBean =
                RenderUtils.getViewState("precedentDegreeInformation") == null ? new PrecedentDegreeInformationBean() : (PrecedentDegreeInformationBean) RenderUtils
                        .getViewState("precedentDegreeInformation").getMetaObject().getObject();
View Full Code Here

Examples of org.fenixedu.academic.dto.candidacy.IngressionInformationBean

public class EntryPhaseProvider implements DataProvider {

    @Override
    public Object provide(Object source, Object currentValue) {
        IngressionInformationBean ingressionInformationBean = (IngressionInformationBean) source;
        if (ingressionInformationBean.getIngression() != null && ingressionInformationBean.getIngression().hasEntryPhase()) {
            return Arrays.asList(EntryPhase.values());
        }
        return new ArrayList<EntryPhase>();
    }
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.