Examples of ThesisJuryElement


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

    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

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

    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

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

    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);
        }

        return manageThesisJuryElements(mapping, actionForm, request, response);
    }
View Full Code Here

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

    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);
        }

        return manageThesisJuryElements(mapping, actionForm, request, response);
    }
View Full Code Here

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

        }
    }

    @Override
    protected PhdThesisProcess executeActivity(PhdThesisProcess process, User userView, Object object) {
        final ThesisJuryElement element = (ThesisJuryElement) object;
        process.deleteJuryElement(element);
        return process;
    }
View Full Code Here

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

    @Override
    protected PhdThesisProcess executeActivity(PhdThesisProcess process, User userView, Object object) {

        final PhdThesisJuryElementBean bean = (PhdThesisJuryElementBean) object;
        final ThesisJuryElement juryElement = bean.getJuryElement();

        if (process.getThesisJuryElementsSet().contains(juryElement)) {
            juryElement.edit(bean);
        }

        return process;
    }
View Full Code Here

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

        if (!process.isParticipant(userView.getPerson())) {
            throw new PreConditionNotValidException();
        }

        final ThesisJuryElement element = process.getThesisJuryElement(userView.getPerson());
        if (element == null || !element.getReporter().booleanValue()) {
            throw new PreConditionNotValidException();
        }
    }
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.