类 FindNextNodeUtil
java.lang.Object
cn.jrack.flowable.flow.FindNextNodeUtil
- 作者:
- Xuan xuan
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static booleancheckSubProcess(String Id, Collection<org.flowable.bpmn.model.FlowElement> flowElements, List<org.flowable.bpmn.model.UserTask> nextUser) 判断是否是多实例子流程并且需要设置集合类型变量static booleanexpressionResult(Map<String, Object> map, String expression) 校验el表达式static org.flowable.bpmn.model.FlowElementgetFlowElementById(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.FlowElementgetStartFlowElement(Collection<org.flowable.bpmn.model.FlowElement> flowElements) 返回流程的开始节点static org.flowable.bpmn.model.FlowElementgetSubProcess(Collection<org.flowable.bpmn.model.FlowElement> flowElements, org.flowable.bpmn.model.FlowElement flowElement) 查询一个节点的是否子任务中的节点,如果是,返回子任务static voidnext(Collection<org.flowable.bpmn.model.FlowElement> flowElements, org.flowable.bpmn.model.FlowElement flowElement, Map<String, Object> map, List<org.flowable.bpmn.model.UserTask> nextUser)
-
构造器详细资料
-
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- 节点IDflowElements- 流程节点集合- 返回:
-
getStartFlowElement
public static org.flowable.bpmn.model.FlowElement getStartFlowElement(Collection<org.flowable.bpmn.model.FlowElement> flowElements) 返回流程的开始节点- 参数:
flowElements- 节点集合
-
expressionResult
校验el表达式- 参数:
map-expression-- 返回:
-