类 CustomProcessDefinitionServiceImpl
- java.lang.Object
-
- net.risesoft.service.impl.CustomProcessDefinitionServiceImpl
-
- 所有已实现的接口:
CustomProcessDefinitionService
@Transactional(readOnly=true) @Service("customProcessDefinitionService") public class CustomProcessDefinitionServiceImpl extends Object implements CustomProcessDefinitionService- 作者:
- qinman, zhangchongjie
- Date:
- 2022/12/30
-
-
构造器概要
构造器 构造器 说明 CustomProcessDefinitionServiceImpl()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 StringgetEndNodeKeyByTaskId(String taskId)获取某一任务所在节点的目标是结束节点的目标节点Key,如果有多个结束节点则获取第一个List<org.flowable.bpmn.model.FlowElement>getFilteredActivityImpls(String processDefinitionId)获取过滤过的ActivityImpl的list,过滤掉GateWay类型节点StringgetNodeType(String processDefinitionId, String taskDefKey)获取具体流程的某个节点类型IntegergetOutPutNodeCount(String taskId)根据taskId获取某个节点除去end节点和默认路由节点的所有的输出线路的个数List<org.flowable.bpmn.model.SequenceFlow>getPvmTransitions(String taskId)根据taskId获取某个节点所有的输出线路StringgetStartNodeKeyByProcessDefinitionId(String processDefinitionId)Description:StringgetStartNodeKeyByProcessDefinitionKey(String processDefinitionKey)根据流程定义key获取最新版本的流程定义的启动节点的taskdefineKeyStringgetTaskDefKey4EndEvent(String taskId)根据任务Id获取流程的结束节点信息BooleanisCallActivity(String processDefinitionId, String taskDefKey)判断流程定义的节点是否是callActivity节点BooleanisContainNodeType(String taskId, String nodeType)查找当前任务节点的输出目标节点中是否包含某一类型的特定节点net.risesoft.pojo.Y9Result<List<TargetModel>>listContainEndEvent4UserTask(String processDefinitionId)获取有办结权限的UserTasknet.risesoft.pojo.Y9Result<List<FlowElementModel>>listFlowElementByProcessDefinitionId(String processDefinitionId, Boolean isContainStartNode)根据流程定义Id获取节点,路由信息 isContainStartNode为true时,不包含开始节点net.risesoft.pojo.Y9Result<List<TargetModel>>listNodesByProcessDefinitionId(String processDefinitionId, Boolean isContainStartNode)根据流程定义Id获取节点信息 isContainStartNode为true时,不包含开始节点net.risesoft.pojo.Y9Result<List<GatewayModel>>listParallelGateway(String processDefinitionId, String taskDefKey)根据流程定义Id和流程节点Key获取目标任务节点集合net.risesoft.pojo.Y9Result<List<TargetModel>>listTargetNodes(String processDefinitionId, String taskDefKey)根据流程定义Id和流程节点Key获取目标任务节点集合net.risesoft.pojo.Y9Result<List<GatewayModel>>listTargetNodes4ParallelGateway(String processDefinitionId, String taskDefKey)根据流程定义Id和流程节点Key获取目标任务节点集合net.risesoft.pojo.Y9Result<List<TargetModel>>listTargetNodes4UserTask(String processDefinitionId, String taskDefKey, Boolean isContainEndNode)Description: 根据流程定义Id和流程节点Key获取目标任务节点集合net.risesoft.pojo.Y9Result<List<TargetModel>>listTargetNodesContainEndNodeAndNotEq(String processDefinitionId, String taskDefKey)根据流程定义Id和流程节点Key获取目标任务节点集合,去除名称相等的节点,并且加上结束节点
-
-
-
方法详细资料
-
getEndNodeKeyByTaskId
public String getEndNodeKeyByTaskId(String taskId)
从接口复制的说明:CustomProcessDefinitionService获取某一任务所在节点的目标是结束节点的目标节点Key,如果有多个结束节点则获取第一个- 指定者:
getEndNodeKeyByTaskId在接口中CustomProcessDefinitionService- 返回:
-
getFilteredActivityImpls
public List<org.flowable.bpmn.model.FlowElement> getFilteredActivityImpls(String processDefinitionId)
获取过滤过的ActivityImpl的list,过滤掉GateWay类型节点- 参数:
processDefinitionId- 流程定义ID- 返回:
- List
-
getNodeType
public String getNodeType(String processDefinitionId, String taskDefKey)
从接口复制的说明:CustomProcessDefinitionService获取具体流程的某个节点类型- 指定者:
getNodeType在接口中CustomProcessDefinitionService- 返回:
-
getOutPutNodeCount
public Integer getOutPutNodeCount(String taskId)
从接口复制的说明:CustomProcessDefinitionService根据taskId获取某个节点除去end节点和默认路由节点的所有的输出线路的个数- 指定者:
getOutPutNodeCount在接口中CustomProcessDefinitionService- 返回:
-
getPvmTransitions
public List<org.flowable.bpmn.model.SequenceFlow> getPvmTransitions(String taskId)
根据taskId获取某个节点所有的输出线路- 参数:
taskId- 任务Id- 返回:
- List
-
getStartNodeKeyByProcessDefinitionId
public String getStartNodeKeyByProcessDefinitionId(String processDefinitionId)
从接口复制的说明:CustomProcessDefinitionServiceDescription:
-
getStartNodeKeyByProcessDefinitionKey
public String getStartNodeKeyByProcessDefinitionKey(String processDefinitionKey)
从接口复制的说明:CustomProcessDefinitionService根据流程定义key获取最新版本的流程定义的启动节点的taskdefineKey
-
getTaskDefKey4EndEvent
public String getTaskDefKey4EndEvent(String taskId)
从接口复制的说明:CustomProcessDefinitionService根据任务Id获取流程的结束节点信息- 指定者:
getTaskDefKey4EndEvent在接口中CustomProcessDefinitionService- 返回:
-
isCallActivity
public Boolean isCallActivity(String processDefinitionId, String taskDefKey)
从接口复制的说明:CustomProcessDefinitionService判断流程定义的节点是否是callActivity节点- 指定者:
isCallActivity在接口中CustomProcessDefinitionService- 返回:
-
isContainNodeType
public Boolean isContainNodeType(String taskId, String nodeType)
从接口复制的说明:CustomProcessDefinitionService查找当前任务节点的输出目标节点中是否包含某一类型的特定节点- 指定者:
isContainNodeType在接口中CustomProcessDefinitionService- 返回:
-
listContainEndEvent4UserTask
public net.risesoft.pojo.Y9Result<List<TargetModel>> listContainEndEvent4UserTask(String processDefinitionId)
从接口复制的说明:CustomProcessDefinitionService获取有办结权限的UserTask- 指定者:
listContainEndEvent4UserTask在接口中CustomProcessDefinitionService- 返回:
-
listFlowElementByProcessDefinitionId
public net.risesoft.pojo.Y9Result<List<FlowElementModel>> listFlowElementByProcessDefinitionId(String processDefinitionId, Boolean isContainStartNode)
从接口复制的说明:CustomProcessDefinitionService根据流程定义Id获取节点,路由信息 isContainStartNode为true时,不包含开始节点- 指定者:
listFlowElementByProcessDefinitionId在接口中CustomProcessDefinitionService- 返回:
- Y9Result
- >
-
listNodesByProcessDefinitionId
public net.risesoft.pojo.Y9Result<List<TargetModel>> listNodesByProcessDefinitionId(String processDefinitionId, Boolean isContainStartNode)
从接口复制的说明:CustomProcessDefinitionService根据流程定义Id获取节点信息 isContainStartNode为true时,不包含开始节点- 指定者:
listNodesByProcessDefinitionId在接口中CustomProcessDefinitionService- 返回:
- Y9Result
- >
-
listParallelGateway
public net.risesoft.pojo.Y9Result<List<GatewayModel>> listParallelGateway(String processDefinitionId, String taskDefKey)
从接口复制的说明:CustomProcessDefinitionService根据流程定义Id和流程节点Key获取目标任务节点集合- 指定者:
listParallelGateway在接口中CustomProcessDefinitionService- 返回:
- Y9Result
- >
-
listTargetNodes
public net.risesoft.pojo.Y9Result<List<TargetModel>> listTargetNodes(String processDefinitionId, String taskDefKey)
从接口复制的说明:CustomProcessDefinitionService根据流程定义Id和流程节点Key获取目标任务节点集合- 指定者:
listTargetNodes在接口中CustomProcessDefinitionService- 返回:
- Y9Result
- >
-
listTargetNodes4ParallelGateway
public net.risesoft.pojo.Y9Result<List<GatewayModel>> listTargetNodes4ParallelGateway(String processDefinitionId, String taskDefKey)
从接口复制的说明:CustomProcessDefinitionService根据流程定义Id和流程节点Key获取目标任务节点集合
-
listTargetNodes4UserTask
public net.risesoft.pojo.Y9Result<List<TargetModel>> listTargetNodes4UserTask(String processDefinitionId, String taskDefKey, Boolean isContainEndNode)
从接口复制的说明:CustomProcessDefinitionServiceDescription: 根据流程定义Id和流程节点Key获取目标任务节点集合- 指定者:
listTargetNodes4UserTask在接口中CustomProcessDefinitionService- 返回:
-
listTargetNodesContainEndNodeAndNotEq
public net.risesoft.pojo.Y9Result<List<TargetModel>> listTargetNodesContainEndNodeAndNotEq(String processDefinitionId, String taskDefKey)
从接口复制的说明:CustomProcessDefinitionService根据流程定义Id和流程节点Key获取目标任务节点集合,去除名称相等的节点,并且加上结束节点
-
-