Package org.apache.oodt.cas.workflow.instrepo

Examples of org.apache.oodt.cas.workflow.instrepo.WorkflowInstanceMetMap


    this.startIdx = this.totalWorkflowInsts != 0 ? ((this.pageNum - 1) * PAGE_SIZE) + 1
        : 0;
  }

  private String getWorkflowInstMet(WorkflowInstance inst, String metMapFilePath) {
    WorkflowInstanceMetMap wInstMetMap = null;
    String metString = null;

    try {
      wInstMetMap = WorkflowInstanceMetadataReader
          .parseMetMapFile(metMapFilePath);
      Metadata instMetadata = wm.getWM().getWorkflowInstanceMetadata(
          inst.getId());
      List<String> wInstFields = wInstMetMap.getFieldsForWorkflow(inst
          .getWorkflow().getId()) != null ? wInstMetMap
          .getFieldsForWorkflow(inst.getWorkflow().getId()) : wInstMetMap
          .getDefaultFields();
      StringBuffer metStrBuf = new StringBuffer();

      for (String wInstField : wInstFields) {
        metStrBuf.append(wInstField);
View Full Code Here

TOP

Related Classes of org.apache.oodt.cas.workflow.instrepo.WorkflowInstanceMetMap

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.