Package net.risesoft.service
Class InterfaceUtilService
- java.lang.Object
-
- net.risesoft.service.InterfaceUtilService
-
@Service("interfaceUtilService") public class InterfaceUtilService extends Object- Author:
- zhangchongjie
- Date:
- 2024/05/29
-
-
Constructor Summary
Constructors Constructor Description InterfaceUtilService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinterfaceCallByProcess(org.flowable.engine.impl.persistence.entity.ExecutionEntityImpl executionEntity, Map<String,Object> variables, String condition)流程启动,办结接口调用voidinterfaceCallBySequenceFlow(org.flowable.engine.delegate.event.impl.FlowableSequenceFlowTakenEventImpl flow, String condition)路由经过接口调用voidinterfaceCallByTask(org.flowable.task.service.delegate.DelegateTask task, Map<String,Object> variables, String condition)任务创建,完成接口调用voidsyncInterface(String processSerialNumber, String itemId, net.risesoft.model.itemadmin.InterfaceModel info, String processInstanceId, String processDefinitionId, String taskId, String taskKey, Integer loopCounter)同步调用接口
-
-
-
Method Detail
-
interfaceCallByProcess
public void interfaceCallByProcess(org.flowable.engine.impl.persistence.entity.ExecutionEntityImpl executionEntity, Map<String,Object> variables, String condition) throws Exception流程启动,办结接口调用- Parameters:
executionEntity-variables-condition-- Throws:
Exception
-
interfaceCallBySequenceFlow
public void interfaceCallBySequenceFlow(org.flowable.engine.delegate.event.impl.FlowableSequenceFlowTakenEventImpl flow, String condition) throws Exception路由经过接口调用- Parameters:
flow-condition-- Throws:
Exception
-
interfaceCallByTask
public void interfaceCallByTask(org.flowable.task.service.delegate.DelegateTask task, Map<String,Object> variables, String condition) throws Exception任务创建,完成接口调用- Parameters:
task-variables-condition-- Throws:
Exception
-
syncInterface
public void syncInterface(String processSerialNumber, String itemId, net.risesoft.model.itemadmin.InterfaceModel info, String processInstanceId, String processDefinitionId, String taskId, String taskKey, Integer loopCounter) throws Exception
同步调用接口- Parameters:
processSerialNumber- 流程编号itemId- 事项idinfo- 接口信息processInstanceId- 流程实例idprocessDefinitionId- 流程定义idtaskId- 任务idtaskKey- 任务keyloopCounter- 循环次数- Throws:
Exception
-
-