Examples of replaceDocument()


Examples of org.fenixedu.academic.domain.phd.PhdProgramProcessDocument.replaceDocument()

    @Override
    protected PhdThesisProcess executeActivity(PhdThesisProcess process, User userView, Object object) {
        PhdProgramDocumentUploadBean documentBean = (PhdProgramDocumentUploadBean) object;
        PhdProgramProcessDocument document = process.getLatestDocumentVersionFor(documentBean.getType());

        document.replaceDocument(documentBean.getType(), documentBean.getRemarks(), documentBean.getFileContent(),
                documentBean.getFilename(), AccessControl.getPerson());

        return process;
    }
}
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.