Examples of PhdExternalOperationBean


Examples of org.fenixedu.academic.domain.phd.access.PhdExternalOperationBean

    public ActionForward prepare(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) {
        return mapping.findForward("showOperations");
    }

    private PhdParticipant getPhdParticipant(HttpServletRequest request) {
        final PhdExternalOperationBean bean = getOperationBean();
        return bean != null ? bean.getParticipant() : PhdParticipant.readByAccessHashCode(getHash(request));
    }
View Full Code Here

Examples of org.fenixedu.academic.domain.phd.access.PhdExternalOperationBean

    // jury document download

    public ActionForward prepareJuryDocumentsDownload(ActionMapping mapping, ActionForm form, HttpServletRequest request,
            HttpServletResponse response) {
        request.setAttribute("operationBean", new PhdExternalOperationBean(getPhdParticipant(request),
                PhdProcessAccessType.JURY_DOCUMENTS_DOWNLOAD));

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

Examples of org.fenixedu.academic.domain.phd.access.PhdExternalOperationBean

    // jury report feedback operations

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

        final PhdExternalOperationBean bean =
                new PhdExternalOperationBean(getPhdParticipant(request), PhdProcessAccessType.JURY_REPORTER_FEEDBACK_UPLOAD);

        bean.setDocumentBean(new PhdProgramDocumentUploadBean(PhdIndividualProgramDocumentType.JURY_REPORT_FEEDBACK));

        request.setAttribute("operationBean", bean);
        request.setAttribute("lastReportFeedbackDocument", getThesisJuryElement(request, bean).getLastFeedbackDocument());
        request.setAttribute("waitingForJuryReporterFeedback", getProcess(request).getThesisProcess()
                .isWaitingForJuryReporterFeedback());
View Full Code Here

Examples of org.fenixedu.academic.domain.phd.access.PhdExternalOperationBean

    }

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

        final PhdExternalOperationBean bean = getOperationBean();
        request.setAttribute("operationBean", bean);
        request.setAttribute("lastReportFeedbackDocument", getThesisJuryElement(request, bean).getLastFeedbackDocument());
        request.setAttribute("waitingForJuryReporterFeedback", getProcess(request).getThesisProcess()
                .isWaitingForJuryReporterFeedback());
View Full Code Here

Examples of org.fenixedu.academic.domain.phd.access.PhdExternalOperationBean

    // Download candidacy feedback documents

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

        request.setAttribute("operationBean", new PhdExternalOperationBean(getPhdParticipant(request),
                PhdProcessAccessType.CANDIDACY_FEEDBACK_DOCUMENTS_DOWNLOAD));
        return mapping.findForward("candidacyFeedbackDocumentsDownload");
    }
View Full Code Here

Examples of org.fenixedu.academic.domain.phd.access.PhdExternalOperationBean

    }

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

        final PhdExternalOperationBean bean =
                new PhdExternalOperationBean(getPhdParticipant(request), PhdProcessAccessType.CANDIDACY_FEEDBACK_UPLOAD);

        bean.setDocumentBean(new PhdProgramDocumentUploadBean(PhdIndividualProgramDocumentType.CANDIDACY_FEEDBACK_DOCUMENT));

        request.setAttribute("operationBean", bean);
        request.setAttribute("canUploadDocuments", getFeedBackRequest(request).canUploadDocuments());
        request.setAttribute("lastFeedbackDocument", getCandidacyFeedbackRequestElement(request, bean).getLastFeedbackDocument());
View Full Code Here

Examples of org.fenixedu.academic.domain.phd.access.PhdExternalOperationBean

    }

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

        final PhdExternalOperationBean bean = getOperationBean();
        request.setAttribute("operationBean", bean);
        request.setAttribute("canUploadDocuments", getFeedBackRequest(request).canUploadDocuments());
        request.setAttribute("lastFeedbackDocument", getCandidacyFeedbackRequestElement(request, bean).getLastFeedbackDocument());

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

Examples of org.fenixedu.academic.domain.phd.access.PhdExternalOperationBean

    // Jury review documents download

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

        request.setAttribute("operationBean", new PhdExternalOperationBean(getPhdParticipant(request),
                PhdProcessAccessType.JURY_REVIEW_DOCUMENTS_DOWNLOAD));

        return mapping.findForward("juryReviewDocumentsDownload");
    }
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.