程序包 com.sh.wf.util

类 TaskUtil

java.lang.Object
com.sh.wf.util.TaskUtil

public class TaskUtil extends Object

Description:

Title:首亨软件 - TSS/CRM等

从以下版本开始:
Jul 18, 2013
  • 字段详细资料

    • log4j

      protected static org.apache.logging.log4j.Logger log4j
  • 构造器详细资料

    • TaskUtil

      public TaskUtil()
  • 方法详细资料

    • processExedFlag

      public static String[] processExedFlag(DataCenter dc, WFTask task, String userId, boolean autoCommit)
      处理循环结点中,当前权限的用户是否已经执行
      参数:
      dc - 数据中心
      task - 任务实例
      userId - 执行者编号
      autoCommit - 是否自动提交事务
      返回:
      String[]
    • parserTaskLine

      public static String parserTaskLine(WFTaskBase task, List<FlowLine> lineList, String retVal, FlowObject flowObject, FlowContext flowContext, DataCenter dc)
      解析线条
      参数:
      task - WFTaskBase
      lineList - List
      retVal - String
      flowObject - FlowObject
      flowContext - FlowContext
      dc - DataCenter
      返回:
      String
    • parserTaskLine_Special

      public static String parserTaskLine_Special(FlowContext flowContext, WFTaskBase task, FlowObject flowObject, FlowLine line, DataCenter dc)
      指定线条的情况
      参数:
      flowContext -
      task -
      flowObject -
      line -
      dc -
      返回:
    • saveCurTaskInfo

      public static String[] saveCurTaskInfo(WFTask task, FlowObject flowObject, String lastObjectId, DataCenter dc, boolean autoCommit, String userId, FlowContext flowContext, WFTaskRunCallbac callback)
    • saveCurTaskInfo

      public static String[] saveCurTaskInfo(WFTask task, FlowObject flowObject, String lastObjectId, DataCenter dc, boolean autoCommit, String userId, String isBack, FlowContext flowContext, WFTaskRunCallbac callback)
      保存流程实例当前信息
      参数:
      task - WFTask
      flowObject - FlowObject
      lastObjectId - String
      dc - DataCenter
      autoCommit - boolean
      userId - String
      isBack - String
      flowContext - FlowContext
      callback - WFTaskRunCallbac
      返回:
      String[]
    • checkIsAllVclExe

      public static boolean checkIsAllVclExe(WFTask task, FlowContext flowContext, String userId)
      判断是否当前结点所有人都执行过了
      参数:
      task - WFTask
      flowContext - FlowContext
      userId - String
      返回:
      boolean