Examples of PhdProgramDocumentUploadBean


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

    // Ratify final thesis
    public ActionForward prepareRatifyFinalThesis(ActionMapping mapping, ActionForm actionForm, HttpServletRequest request,
            HttpServletResponse response) {

        final PhdThesisProcessBean bean = new PhdThesisProcessBean();
        bean.addDocument(new PhdProgramDocumentUploadBean(PhdIndividualProgramDocumentType.FINAL_THESIS_RATIFICATION_DOCUMENT));

        request.setAttribute("thesisProcessBean", bean);
        return mapping.findForward("ratifyFinalThesis");
    }
View Full Code Here

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

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

        final PhdThesisProcessBean bean = new PhdThesisProcessBean();
        bean.addDocument(new PhdProgramDocumentUploadBean(PhdIndividualProgramDocumentType.CONCLUSION_DOCUMENT));

        request.setAttribute("thesisProcessBean", bean);
        return mapping.findForward("setFinalGrade");
    }
View Full Code Here

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

    // End of manage phd thesis process meetings

    public ActionForward prepareReplaceDocument(ActionMapping mapping, ActionForm form, HttpServletRequest request,
            HttpServletResponse response) {
        final PhdProgramDocumentUploadBean bean =
                new PhdProgramDocumentUploadBean(PhdIndividualProgramDocumentType.valueOf(request.getParameter("type")));

        request.setAttribute("documentBean", bean);

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

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

    @Override
    protected PhdIndividualProgramProcess executeActivity(PhdIndividualProgramProcess process, User userView, Object object) {
        PhdParticipantBean guidingBean = (PhdParticipantBean) object;
        PhdParticipant guiding = guidingBean.getParticipant();
        PhdProgramDocumentUploadBean acceptanceLetter = guidingBean.getGuidingAcceptanceLetter();

        new PhdGuiderAcceptanceLetter(guiding, acceptanceLetter.getType(), "", acceptanceLetter.getFileContent(),
                acceptanceLetter.getFilename(), userView.getPerson());

        return process;
    }
View Full Code Here

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

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

            final PhdProgramDocumentUploadBean bean = (PhdProgramDocumentUploadBean) object;

            if (bean.hasAnyInformation()) {
                final PhdCandidacyFeedbackRequestElement element = process.getElement(userView.getPerson());

                new PhdCandidacyFeedbackRequestDocument(element, bean.getRemarks(), bean.getFileContent(), bean.getFilename(),
                        null);

                process.notifyCoordinationOfCandidacyFeedback(element);
            }
View Full Code Here

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

            if (bean.getDocumentBean().hasAnyInformation()) {

                final PhdCandidacyFeedbackRequestElement element =
                        process.getCandidacyFeedbackRequestElement(bean.getParticipant());

                final PhdProgramDocumentUploadBean documentBean = bean.getDocumentBean();
                new PhdCandidacyFeedbackRequestDocument(element, documentBean.getRemarks(), documentBean.getFileContent(),
                        documentBean.getFilename(), null);

                process.notifyCoordinationOfCandidacyFeedback(element);
            }

            return process;
View Full Code Here

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

        throw new PreConditionNotValidException();
    }

    @Override
    protected PhdIndividualProgramProcess executeActivity(PhdIndividualProgramProcess process, User userView, Object object) {
        PhdProgramDocumentUploadBean bean = (PhdProgramDocumentUploadBean) object;

        new PhdGuidanceDocument(process, bean.getType(), bean.getRemarks(), bean.getFileContent(), bean.getFilename(),
                userView.getPerson());

        return process;
    }
View Full Code Here

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

    @Override
    protected PhdIndividualProgramProcess executeActivity(PhdIndividualProgramProcess process, User userView, Object object) {
        PhdParticipantBean bean = (PhdParticipantBean) object;
        PhdParticipant guiding = process.addGuiding(bean);
        if (bean.getGuidingAcceptanceLetter() != null && bean.getGuidingAcceptanceLetter().getFileContent() != null) {
            PhdProgramDocumentUploadBean acceptanceLetter = bean.getGuidingAcceptanceLetter();
            new PhdGuiderAcceptanceLetter(guiding, acceptanceLetter.getType(), "", bean.getGuidingAcceptanceLetter()
                    .getFileContent(), bean.getGuidingAcceptanceLetter().getFilename(), userView.getPerson());
        }

        return process;
    }
View Full Code Here

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

    private int maxDaysToFormalizeRegistration = DEFAULT_MAX_DAYS_TO_FORMALIZE_REGISTRATION;

    public RatifyCandidacyBean(PhdProgramCandidacyProcess process) {
        setProcess(process);
        this.ratificationFile = new PhdProgramDocumentUploadBean(PhdIndividualProgramDocumentType.CANDIDACY_RATIFICATION);
    }
View Full Code Here

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

    private LocalDate presentationRequestDate;

    private PhdIndividualProgramProcess phdIndividualProgramProcess;

    public PublicPresentationSeminarProcessBean() {
        this.document = new PhdProgramDocumentUploadBean();
    }
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.