类 FindNextNodeUtil

java.lang.Object
cn.jrack.flowable.flow.FindNextNodeUtil

public class FindNextNodeUtil extends Object
作者:
Xuan xuan
  • 构造器概要

    构造器
    构造器
    说明
     
  • 方法概要

    修饰符和类型
    方法
    说明
    static boolean
    checkSubProcess(String Id, Collection<org.flowable.bpmn.model.FlowElement> flowElements, List<org.flowable.bpmn.model.UserTask> nextUser)
    判断是否是多实例子流程并且需要设置集合类型变量
    static boolean
    校验el表达式
    static org.flowable.bpmn.model.FlowElement
    getFlowElementById(String Id, Collection<org.flowable.bpmn.model.FlowElement> flowElements)
    根据ID查询流程节点对象, 如果是子任务,则返回子任务的开始节点
    static List<org.flowable.bpmn.model.UserTask>
    getNextUserTasks(org.flowable.engine.RepositoryService repositoryService, org.flowable.task.api.Task task, Map<String,Object> map)
    获取下一步骤的用户任务
    static org.flowable.bpmn.model.FlowElement
    getStartFlowElement(Collection<org.flowable.bpmn.model.FlowElement> flowElements)
    返回流程的开始节点
    static org.flowable.bpmn.model.FlowElement
    getSubProcess(Collection<org.flowable.bpmn.model.FlowElement> flowElements, org.flowable.bpmn.model.FlowElement flowElement)
    查询一个节点的是否子任务中的节点,如果是,返回子任务
    static void
    next(Collection<org.flowable.bpmn.model.FlowElement> flowElements, org.flowable.bpmn.model.FlowElement flowElement, Map<String,Object> map, List<org.flowable.bpmn.model.UserTask> nextUser)
     

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 构造器详细资料

    • FindNextNodeUtil

      public FindNextNodeUtil()
  • 方法详细资料

    • getNextUserTasks

      public static List<org.flowable.bpmn.model.UserTask> getNextUserTasks(org.flowable.engine.RepositoryService repositoryService, org.flowable.task.api.Task task, Map<String,Object> map)
      获取下一步骤的用户任务
      参数:
      repositoryService -
      map -
      返回:
    • next

      public static void next(Collection<org.flowable.bpmn.model.FlowElement> flowElements, org.flowable.bpmn.model.FlowElement flowElement, Map<String,Object> map, List<org.flowable.bpmn.model.UserTask> nextUser)
    • checkSubProcess

      public static boolean checkSubProcess(String Id, Collection<org.flowable.bpmn.model.FlowElement> flowElements, List<org.flowable.bpmn.model.UserTask> nextUser)
      判断是否是多实例子流程并且需要设置集合类型变量
    • getSubProcess

      public static org.flowable.bpmn.model.FlowElement getSubProcess(Collection<org.flowable.bpmn.model.FlowElement> flowElements, org.flowable.bpmn.model.FlowElement flowElement)
      查询一个节点的是否子任务中的节点,如果是,返回子任务
      参数:
      flowElements - 全流程的节点集合
      flowElement - 当前节点
      返回:
    • getFlowElementById

      public static org.flowable.bpmn.model.FlowElement getFlowElementById(String Id, Collection<org.flowable.bpmn.model.FlowElement> flowElements)
      根据ID查询流程节点对象, 如果是子任务,则返回子任务的开始节点
      参数:
      Id - 节点ID
      flowElements - 流程节点集合
      返回:
    • getStartFlowElement

      public static org.flowable.bpmn.model.FlowElement getStartFlowElement(Collection<org.flowable.bpmn.model.FlowElement> flowElements)
      返回流程的开始节点
      参数:
      flowElements - 节点集合
    • expressionResult

      public static boolean expressionResult(Map<String,Object> map, String expression)
      校验el表达式
      参数:
      map -
      expression -
      返回: