Package org.plugtree.training.jbpm.humantasks.client.report.ReportService

Examples of org.plugtree.training.jbpm.humantasks.client.report.ReportService.DocumentProcessReport


      e.printStackTrace();
    }
  }

  private void refreshProcessDetails(long processId) {
    DocumentProcessReport report = this.service.getProcessReport(processId);
    StringBuilder textReport = new StringBuilder();
    textReport.append("Process:").append(processId).append("\n");
    textReport.append("Produced Document: ").append(report.getDocument())
        .append("\n");
    textReport.append("Translated Document: ")
        .append(report.getTranslatedDocument()).append("\n");
    textReport.append("Review Comment: ").append(report.getReviewComment())
        .append("\n");
    this.reportDetail.setText(textReport.toString());
  }
View Full Code Here


    String document = (String) workItem.getParameter("Document");
    String translatedDocument = (String) workItem
        .getParameter("TranslatedDocument");
    String reviewComment = (String) workItem
        .getParameter("ReviewComment");
    DocumentProcessReport report = new DocumentProcessReport();
    report.setProcessInstance(workItem.getProcessInstanceId());
    report.setDocument(document);
    report.setTranslatedDocument(translatedDocument);
    report.setReviewComment(reviewComment);
    service.addProcessReport(report);

  }
View Full Code Here

TOP

Related Classes of org.plugtree.training.jbpm.humantasks.client.report.ReportService.DocumentProcessReport

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.