Package org.fenixedu.academic.domain.phd.thesis

Examples of org.fenixedu.academic.domain.phd.thesis.PhdThesisProcess


    }

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

        final PhdThesisProcess process = getProcess(request);
        final ThesisJuryElement juryElement = getJuryElement(request);
        final ThesisJuryElement lower = process.getOrderedThesisJuryElements().lower(juryElement);

        if (lower != null) {
            swapJuryElements(request, juryElement, lower);
        }
View Full Code Here


    }

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

        final PhdThesisProcess process = getProcess(request);
        final ThesisJuryElement juryElement = getJuryElement(request);
        final ThesisJuryElement higher = process.getOrderedThesisJuryElements().higher(juryElement);

        if (higher != null) {
            swapJuryElements(request, juryElement, higher);
        }
View Full Code Here

    }

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

        final PhdThesisProcess process = getProcess(request);
        final ThesisJuryElement juryElement = getJuryElement(request);
        final ThesisJuryElement first = process.getOrderedThesisJuryElements().first();

        if (juryElement != first) {
            moveElement(request, juryElement, first.getElementOrder() - 1);
        }
View Full Code Here

    }

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

        final PhdThesisProcess process = getProcess(request);
        final ThesisJuryElement juryElement = getJuryElement(request);
        final ThesisJuryElement last = process.getOrderedThesisJuryElements().last();

        if (juryElement != last) {
            moveElement(request, juryElement, last.getElementOrder() - 1);
        }
View Full Code Here

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

        final PhdThesisProcessBean bean = new PhdThesisProcessBean();
        final PhdThesisProcess thesisProcess = getProcess(request);

        bean.setThesisProcess(thesisProcess);
        setDefaultDiscussionMailInformation(bean, thesisProcess);

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

    }

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

        final PhdThesisProcess thesisProcess = getProcess(request);

        try {
            ExecuteProcessActivity.run(thesisProcess, ScheduleThesisDiscussion.class, getThesisProcessBean());

        } catch (final DomainException e) {
View Full Code Here

    }

    public ActionForward setPhdJuryElementsRatificationEntity(ActionMapping mapping, ActionForm form, HttpServletRequest request,
            HttpServletResponse response) {
        final PhdThesisProcessBean bean = getRenderedObject("thesisProcessBean");
        final PhdThesisProcess process = getProcess(request);

        ExecuteProcessActivity.run(process, SetPhdJuryElementRatificationEntity.class, bean);

        return prepareSubmitJuryElementsDocument(mapping, form, request, response, bean);
    }
View Full Code Here

    // Schedule first thesis meeting
    public ActionForward prepareScheduleFirstThesisMeeting(ActionMapping mapping, ActionForm actionForm,
            HttpServletRequest request, HttpServletResponse response) {

        final PhdThesisProcessBean bean = new PhdThesisProcessBean();
        final PhdThesisProcess thesisProcess = getProcess(request);

        bean.setThesisProcess(thesisProcess);
        setDefaultMeetingMailInformation(bean, thesisProcess);

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

    }

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

        final PhdThesisProcess thesisProcess = getProcess(request);

        try {
            ExecuteProcessActivity.run(thesisProcess.getMeetingProcess(), ScheduleFirstThesisMeeting.class,
                    getThesisProcessBean());

        } catch (final DomainException e) {
            addErrorMessage(request, e.getKey(), e.getArgs());
            return scheduleThesisMeetingInvalid(mapping, actionForm, request, response);
View Full Code Here

    @Override
    public ActionForward prepareScheduleThesisMeeting(ActionMapping mapping, ActionForm actionForm, HttpServletRequest request,
            HttpServletResponse response) {

        final PhdThesisProcessBean bean = new PhdThesisProcessBean();
        final PhdThesisProcess thesisProcess = getProcess(request);

        bean.setThesisProcess(thesisProcess);
        setDefaultMeetingMailInformation(bean, thesisProcess);

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

TOP

Related Classes of org.fenixedu.academic.domain.phd.thesis.PhdThesisProcess

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.