| Modifier and Type | Field and Description |
|---|---|
private static Supplier<Node> |
FlowFactory.nodeSupplier |
| Modifier and Type | Method and Description |
|---|---|
static Node |
FlowFactory.newNode() |
| Modifier and Type | Method and Description |
|---|---|
static void |
FlowFactory.setNewNode(Supplier<Node> supplier) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
FlowNodeDao<T extends Node>
流程节点Mapper接口
|
| Modifier and Type | Field and Description |
|---|---|
private List<Node> |
FlowCombine.allNodes
所有的流程节点
|
| Modifier and Type | Method and Description |
|---|---|
List<Node> |
FlowCombine.getAllNodes() |
| Modifier and Type | Method and Description |
|---|---|
void |
FlowCombine.setAllNodes(List<Node> allNodes) |
| Modifier and Type | Method and Description |
|---|---|
List<Node> |
Definition.getNodeList() |
| Modifier and Type | Method and Description |
|---|---|
Definition |
Definition.setNodeList(List<Node> nodeList) |
| Modifier and Type | Field and Description |
|---|---|
private Node |
ListenerVariable.node
监听器对应的节点
|
| Modifier and Type | Field and Description |
|---|---|
private List<Node> |
ListenerVariable.nextNodes
下一次执行的节点集合
|
| Modifier and Type | Method and Description |
|---|---|
Node |
ListenerVariable.getNode() |
| Modifier and Type | Method and Description |
|---|---|
List<Node> |
ListenerVariable.getNextNodes() |
| Modifier and Type | Method and Description |
|---|---|
ListenerVariable |
ListenerVariable.setNode(Node node) |
| Modifier and Type | Method and Description |
|---|---|
ListenerVariable |
ListenerVariable.setNextNodes(List<Node> nextNodes) |
| Constructor and Description |
|---|
ListenerVariable(Definition definition,
Instance instance,
Node node,
Map<String,Object> variable) |
ListenerVariable(Definition definition,
Instance instance,
Node node,
Map<String,Object> variable,
Task task) |
ListenerVariable(Definition definition,
Instance instance,
Node node,
Map<String,Object> variable,
Task task,
List<Node> nextNodes) |
ListenerVariable(Definition definition,
Instance instance,
Node node,
Map<String,Object> variable,
Task task,
List<Node> nextNodes,
List<Task> nextTasks) |
| Constructor and Description |
|---|
ListenerVariable(Definition definition,
Instance instance,
Node node,
Map<String,Object> variable,
Task task,
List<Node> nextNodes) |
ListenerVariable(Definition definition,
Instance instance,
Node node,
Map<String,Object> variable,
Task task,
List<Node> nextNodes,
List<Task> nextTasks) |
| Modifier and Type | Method and Description |
|---|---|
Node |
NodeService.getNextNode(Long definitionId,
String nowNodeCode,
String anyNodeCode,
String skipType)
根据流程定义和当前节点code获取下一节点(不考虑下个节点是网关的情况)
anyNodeCode不为空,则可跳转anyNodeCode节点
|
| Modifier and Type | Method and Description |
|---|---|
List<Node> |
NodeService.getByFlowCode(String flowCode)
根据流程编码获取流程节点集合
|
List<Node> |
NodeService.getByNodeCodes(List<String> nodeCodes,
Long definitionId)
根据流程编码获取开启的唯一流程的流程节点集合
|
List<Node> |
NodeService.getNextByCheckGateway(Map<String,Object> variable,
Node nextNode)
校验是否网关节点,如果是重新获取新的后面的节点
|
List<Node> |
NodeService.getNextNodeList(Long definitionId,
String nowNodeCode,
String anyNodeCode,
String skipType,
Map<String,Object> variable)
根据流程定义和当前节点code获取下一节点,如是网关跳过取下一节点,并行网关返回多个节点
anyNodeCode不为空,则可跳转anyNodeCode节点
|
| Modifier and Type | Method and Description |
|---|---|
Task |
TaskService.addTask(Node node,
Instance instance,
Definition definition,
FlowParams flowParams)
设置流程待办任务对象
|
List<Node> |
NodeService.getNextByCheckGateway(Map<String,Object> variable,
Node nextNode)
校验是否网关节点,如果是重新获取新的后面的节点
|
List<HisTask> |
HisTaskService.setCooperateHis(Task task,
Node node,
FlowParams flowParams,
List<String> collaborators)
设置协作历史记录
|
HisTask |
HisTaskService.setSkipHisTask(Task task,
Node nextNode,
FlowParams flowParams)
设置流程历史任务信息
|
| Modifier and Type | Method and Description |
|---|---|
List<HisTask> |
HisTaskService.setSkipInsHis(Task task,
List<Node> nextNodes,
FlowParams flowParams)
设置流程历史任务信息
|
| Modifier and Type | Field and Description |
|---|---|
Node |
TaskServiceImpl.R.nowNode |
| Modifier and Type | Method and Description |
|---|---|
private Node |
InsServiceImpl.getFirstBetween(Node startNode)
有且只能有一个开始节点
|
Node |
NodeServiceImpl.getNextNode(Long definitionId,
String nowNodeCode,
String anyNodeCode,
String skipType) |
| Modifier and Type | Method and Description |
|---|---|
private List<Node> |
DefServiceImpl.filterNodes(Instance instance,
List<Skip> allSkips,
List<Node> nodeList)
流程图渲染,过滤掉当前任务后的节点
|
List<Node> |
NodeServiceImpl.getByFlowCode(String flowCode) |
List<Node> |
NodeServiceImpl.getByNodeCodes(List<String> nodeCodes,
Long definitionId) |
List<Node> |
NodeServiceImpl.getNextByCheckGateway(Map<String,Object> variable,
Node nextNode) |
List<Node> |
NodeServiceImpl.getNextNodeList(Long definitionId,
String nowNodeCode,
String anyNodeCode,
String skipType,
Map<String,Object> variable) |
| Modifier and Type | Method and Description |
|---|---|
Task |
TaskServiceImpl.addTask(Node node,
Instance instance,
Definition definition,
FlowParams flowParams) |
private List<Task> |
TaskServiceImpl.buildAddTasks(FlowParams flowParams,
Task task,
Instance instance,
List<Node> nextNodes,
Node nextNode,
Definition definition)
构建增待办任务
|
private void |
TaskServiceImpl.checkAuth(Node NowNode,
Task task,
FlowParams flowParams)
判断当前处理人是否有权限处理
|
private boolean |
TaskServiceImpl.cooperate(Node nowNode,
Task task,
FlowParams flowParams)
会签,票签,协作处理,返回true;或签或者会签、票签结束返回false
|
private Node |
InsServiceImpl.getFirstBetween(Node startNode)
有且只能有一个开始节点
|
List<Node> |
NodeServiceImpl.getNextByCheckGateway(Map<String,Object> variable,
Node nextNode) |
private Skip |
NodeServiceImpl.getSkipByCheck(Node nowNode,
List<Skip> skips,
String skipType)
通过校验跳转类型获取跳转集合
|
List<HisTask> |
HisTaskServiceImpl.setCooperateHis(Task task,
Node node,
FlowParams flowParams,
List<String> collaborators) |
private List<HisTask> |
InsServiceImpl.setHisTask(List<Node> nextNodes,
FlowParams flowParams,
Node startNode,
Long instanceId)
设置历史任务
|
HisTask |
HisTaskServiceImpl.setSkipHisTask(Task task,
Node nextNode,
FlowParams flowParams) |
private Instance |
InsServiceImpl.setStartInstance(Node firstBetweenNode,
String businessId,
FlowParams flowParams)
设置流程实例对象
|
| Modifier and Type | Method and Description |
|---|---|
private List<Task> |
TaskServiceImpl.buildAddTasks(FlowParams flowParams,
Task task,
Instance instance,
List<Node> nextNodes,
Node nextNode,
Definition definition)
构建增待办任务
|
private List<Node> |
DefServiceImpl.filterNodes(Instance instance,
List<Skip> allSkips,
List<Node> nodeList)
流程图渲染,过滤掉当前任务后的节点
|
private void |
DefServiceImpl.insertFlow(Definition definition,
List<Node> allNodes,
List<Skip> allSkips)
每次只做新增操作,保证新增的flowCode+version是唯一的
|
void |
DefServiceImpl.setColorMap(Map<String,Color> colorMap,
Instance instance,
List<Skip> allSkips,
List<Node> nodeList)
设置节点和跳转对应的颜色
|
NodeService |
NodeServiceImpl.setDao(FlowNodeDao<Node> warmDao) |
private List<HisTask> |
InsServiceImpl.setHisTask(List<Node> nextNodes,
FlowParams flowParams,
Node startNode,
Long instanceId)
设置历史任务
|
List<HisTask> |
HisTaskServiceImpl.setSkipInsHis(Task task,
List<Node> nextNodes,
FlowParams flowParams) |
private void |
TaskServiceImpl.updateFlowInfo(Task task,
Instance instance,
List<Task> addTasks,
FlowParams flowParams,
List<Node> nextNodes)
更新流程信息
|
| Constructor and Description |
|---|
R(Instance instance,
Definition definition,
Node nowNode,
Task task) |
| Modifier and Type | Method and Description |
|---|---|
private static Node |
FlowConfigUtil.initNodeAndCondition(org.dom4j.Element nodeElement)
读取工作节点和跳转条件
|
| Modifier and Type | Method and Description |
|---|---|
static void |
ListenerUtil.executeListener(ListenerVariable listenerVariable,
String lisType,
Node listenerNode) |
private static void |
FlowConfigUtil.initNodeAndCondition(Node node,
Long definitionId,
String version)
读取工作节点和跳转条件
|
Copyright © 2024. All rights reserved.