类 EwaWfMain

java.lang.Object
com.gdxsoft.easyweb.script.Workflow.EwaWfMain

public class EwaWfMain extends Object
  • 字段详细资料

  • 构造器详细资料

    • EwaWfMain

      public EwaWfMain()
  • 方法详细资料

    • flowNext

      public static String flowNext(String workflowId, String curUnit, String nextUnit, String taskPks, String appItemname, RequestValue rv)
      流程到下一步
      参数:
      workflowId - 工作流编号
      curUnit - 当前节点
      nextUnit - 下一个节点
      taskPks - 任务的主键值
      appItemname - 任务配置信息的ITEMNAME
      rv - rv
      返回:
    • getAppTable

      public static DTTable getAppTable(String wfId, DataConnection cnn)
      获取_EWA_WF_APP数据
      参数:
      wfId -
      cnn -
      返回:
    • getAppTable

      public static DTTable getAppTable(String xmlName, String itemName, DataConnection cnn)
    • getAppCfg

      public static org.json.JSONObject getAppCfg(String xmlName, String itemName, DataConnection cnn) throws Exception
      获取工作流应用的配置信息 WF_ID
      APP_XMLNAME
      APP_ITEMNAME
      APP_ID
      APP_REF_TAG
      APP_WF_NAME
      APP_WF_DS
      APP_WF_FIELD
      APP_WF_TABLE
      APP_WF_PKS
      APP_WF_DES
      APP_WF_CDATE
      APP_WF_MDATE
      APP_FRAME_XMLNAME
      APP_FRAME_ITEMNAME
      参数:
      xmlName -
      itemName -
      cnn -
      返回:
      抛出:
      Exception
    • doPost

      public void doPost() throws Exception
      执行提交,rv包含数据:
      SYS_STA_TAG 当前节点
      SYS_STA_VAL 下个节点
      SYS_STA_RID 来源编号
      SYS_STA_TABLE 来源
      APP_XMLNAME
      APP_ITEMNAME
      参数:
      rv -
      抛出:
      Exception
    • doPost

      public void doPost(String curUnit, String nextUnit, String taskPks) throws Exception
      执行下一步
      参数:
      curUnit - 当前节点
      nextUnit - 下一个节点
      taskPks - 任务数据的主键
      rv - RequestValue
      抛出:
      Exception
    • doPost

      public void doPost(String curUnit, String nextUnit, String taskPks, String appItemname) throws Exception
      执行下一步
      参数:
      curUnit - 当前节点
      nextUnit - 下一个节点
      taskPks - 任务数据的主键
      appItemname - 任务配置信息的ITEMNAME
      抛出:
      Exception
    • doGetStatusDlv

      public String doGetStatusDlv(RequestValue rv) throws Exception
      执行版本
      参数:
      rv -
      返回:
      抛出:
      Exception
    • doGetStatus

      public String doGetStatus(RequestValue rv) throws Exception
      抛出:
      Exception
    • initDlv

      public void initDlv(String wfId, RequestValue rv) throws Exception
      正式执行的 发布后的初始化
      参数:
      wfId -
      rv -
      version -
      抛出:
      Exception
    • init

      public void init(String wfId)
    • init

      public void init(String wfId, String refId)
    • delivedAll

      public String delivedAll(String refId) throws Exception
      抛出:
      Exception
    • delivedAll

      public String delivedAll(String refId, String targetDatabaseName) throws Exception
      抛出:
      Exception
    • delived

      public boolean delived(String wfId, String refId, String targetDatabaseName) throws Exception
      发布版本
      抛出:
      Exception
    • delived

      public boolean delived(String wfId, String refId) throws Exception
      发布版本
      抛出:
      Exception
    • getUnit

      public EwaWfUnit getUnit(String unitId)
    • getUnits

      public HashMap<String, EwaWfUnit> getUnits()
      返回:
      the _Units
    • getCnns

      public HashMap<String,EwaWfCnn> getCnns()
      返回:
      the _Cnns
    • getWf

      public EwaWf getWf()
      返回:
      the _Wf