Package org.fenixedu.academic.domain.phd

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


    @Override
    protected PhdThesisProcess internalExecuteActivity(PhdThesisProcess process, User userView, PhdExternalOperationBean bean) {

        final PhdProgramDocumentUploadBean documentBean = bean.getDocumentBean();
        if (documentBean.hasAnyInformation()) {
            new PhdThesisReportFeedbackDocument(bean.getParticipant().getThesisJuryElement(process), documentBean.getRemarks(),
                    documentBean.getFileContent(), documentBean.getFilename(), null);
        }

        return process;
    }
View Full Code Here


    protected PhdThesisProcess executeActivity(PhdThesisProcess process, User userView, Object object) {
        final PhdThesisProcessBean bean = (PhdThesisProcessBean) object;

        for (final PhdProgramDocumentUploadBean documentBean : bean.getDocuments()) {
            if (documentBean.hasAnyInformation()) {
                new PhdThesisReportFeedbackDocument(bean.getJuryElement(), documentBean.getRemarks(),
                        documentBean.getFileContent(), documentBean.getFilename(), AccessControl.getPerson());
            }
        }

        return process;
View Full Code Here

    public boolean isFor(final Person person) {
        return getParticipant().isFor(person);
    }

    public boolean isDocumentValidated() {
        final PhdThesisReportFeedbackDocument document = getLastFeedbackDocument();
        return document != null && document.isAssignedToProcess();
    }
View Full Code Here

TOP

Related Classes of org.fenixedu.academic.domain.phd.PhdThesisReportFeedbackDocument

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.