类的使用
net.sohelp.boot.engine.workflow.entity.FlwTaskActor
使用FlwTaskActor的程序包
程序包
说明
-
net.sohelp.boot.demo.core.workflow中FlwTaskActor的使用
类型变量类型为FlwTaskActor的net.sohelp.boot.demo.core.workflow中的方法参数修饰符和类型方法说明booleanWorkflowTaskListener.notify(TaskEventType eventType, Supplier<FlwTask> supplier, List<FlwTaskActor> taskActors, NodeModel nodeModel, FlowCreator flowCreator) 任务事件通知处理器,根据不同事件类型发送相应通知并更新业务状态 -
net.sohelp.boot.engine.workflow中FlwTaskActor的使用
修饰符和类型方法说明default FlwTaskActorTaskAccessStrategy.getAllowedFlwTaskActor(Long taskId, FlowCreator flowCreator, List<FlwTaskActor> taskActors) 获取指定合法参与者对象TaskAccessStrategy.isAllowed(String userId, List<FlwTaskActor> taskActors) 根据创建人ID、参与者集合判断是否允许访问所属任务根据 taskId、createBy 判断创建人createBy是否允许执行任务返回变量类型为FlwTaskActor的类型的net.sohelp.boot.engine.workflow中的方法修饰符和类型方法说明QueryService.getActiveTaskActorsByInstanceId(Long instanceId) 根据 流程实例ID 获取当前活动任务列表default Optional<List<FlwTaskActor>> QueryService.getActiveTaskActorsByTaskId(Long taskId) TaskActorProvider.getTaskActors(NodeModel nodeModel, Execution execution) 根据Task模型的assignee、assignmentHandler属性以及运行时数据,确定参与者QueryService.getTaskActorsByTaskId(Long taskId) 根据任务ID获取活动任务参与者数组QueryService.getTaskActorsByTaskIdAndActorId(Long taskId, String actorId) 根据任务ID获取活动任务参与者数组修饰符和类型方法说明default booleanTaskService.addTaskActor(Long taskId, PerformType performType, FlwTaskActor taskActor, FlowCreator flowCreator) default booleanTaskService.addTaskActor(Long taskId, FlwTaskActor taskActor, FlowCreator flowCreator) booleanTaskService.changeTaskActor(Long taskId, FlwTaskActor taskActor) 修改 taskId 任务办理人为指定 taskActor 参与者类型变量类型为FlwTaskActor的net.sohelp.boot.engine.workflow中的方法参数修饰符和类型方法说明default booleanTaskActorProvider.abnormal(FlwTask flwTask, PerformType performType, List<FlwTaskActor> taskActors, Execution execution, NodeModel nodeModel) 非正常创建任务处理逻辑,默认抛出异常default booleanTaskService.addTaskActor(Long taskId, List<FlwTaskActor> taskActors, FlowCreator flowCreator) booleanTaskService.addTaskActor(Long taskId, PerformType performType, List<FlwTaskActor> taskActors, FlowCreator flowCreator) 向指定的任务ID添加参与者【加签】FlowEngine.createNewTask(Long taskId, TaskType taskType, PerformType performType, List<FlwTaskActor> taskActors, FlowCreator flowCreator, Map<String, Object> args) 根据已有任务、参与者创建新的任务TaskService.createNewTask(Long taskId, TaskType taskType, PerformType performType, List<FlwTaskActor> taskActors, FlowCreator flowCreator, Function<FlwTask, Execution> executionFunction) 根据已有任务、参与者创建新的任务default FlwTaskActorTaskAccessStrategy.getAllowedFlwTaskActor(Long taskId, FlowCreator flowCreator, List<FlwTaskActor> taskActors) 获取指定合法参与者对象TaskAccessStrategy.isAllowed(String userId, List<FlwTaskActor> taskActors) 根据创建人ID、参与者集合判断是否允许访问所属任务 -
net.sohelp.boot.engine.workflow.core中FlwTaskActor的使用
返回变量类型为FlwTaskActor的类型的net.sohelp.boot.engine.workflow.core中的方法类型变量类型为FlwTaskActor的net.sohelp.boot.engine.workflow.core中的方法参数修饰符和类型方法说明booleanExecution.abnormal(FlwTask flwTask, PerformType performType, List<FlwTaskActor> taskActors, NodeModel nodeModel) 非正常创建任务处理逻辑,默认抛出异常FlowEngineImpl.createNewTask(Long taskId, TaskType taskType, PerformType performType, List<FlwTaskActor> taskActors, FlowCreator flowCreator, Map<String, Object> args) -
net.sohelp.boot.engine.workflow.dao中FlwTaskActor的使用
返回变量类型为FlwTaskActor的类型的net.sohelp.boot.engine.workflow.dao中的方法修饰符和类型方法说明FlwTaskActorDao.selectListByActorId(String actorId) FlwTaskActorDao.selectListByInstanceId(Long instanceId) FlwTaskActorDao.selectListByTaskId(Long taskId) FlwTaskActorDao.selectListByTaskIdAndActorId(Long taskId, String actorId) FlwTaskActorDao.selectListByTaskIds(List<Long> taskIds) 修饰符和类型方法说明booleanFlwTaskActorDao.insert(FlwTaskActor taskActor) booleanFlwTaskActorDao.updateById(FlwTaskActor taskActor) -
net.sohelp.boot.engine.workflow.entity中FlwTaskActor的使用
修饰符和类型方法说明static FlwTaskActorFlwTaskActor.of(Long taskId, FlwHisTaskActor t) protected static FlwTaskActorFlwTaskActor.of(String tenantId, String actorId, String actorName, Integer actorType, Integer weight) static FlwTaskActorFlwTaskActor.of(FlowCreator flowCreator, FlwTask flwTask) static FlwTaskActorFlwTaskActor.of(NodeAssignee nodeAssignee, Integer actorType, boolean saveWeight) static FlwTaskActorFlwTaskActor.ofAgent(AgentType agentType, FlowCreator flowCreator, FlwTask flwTask, FlwTaskActor agentTaskActor) static FlwTaskActorFlwTaskActor.ofAgentIt(FlowCreator flowCreator) static FlwTaskActorFlwTaskActor.ofDepartment(String tenantId, String actorId, String actorName) static FlwTaskActorFlwTaskActor.ofFlowCreator(FlowCreator flowCreator) static FlwTaskActorFlwTaskActor.ofFlwHisTaskActor(Long taskId, FlwHisTaskActor hta) static FlwTaskActorFlwTaskActor.ofFlwInstance(FlwInstance flwInstance, Long taskId) static FlwTaskActorstatic FlwTaskActorFlwTaskActor.ofNodeAssignee(NodeAssignee nodeAssignee) static FlwTaskActorstatic FlwTaskActor修饰符和类型方法说明static FlwHisTaskActorFlwHisTaskActor.of(FlwTaskActor taskActor) static FlwTaskActorFlwTaskActor.ofAgent(AgentType agentType, FlowCreator flowCreator, FlwTask flwTask, FlwTaskActor agentTaskActor) -
net.sohelp.boot.engine.workflow.impl中FlwTaskActor的使用
修饰符和类型方法说明protected FlwTaskActorTaskServiceImpl.getAllowedFlwTaskActor(Long taskId, FlowCreator flowCreator) 获取指定 任务ID 合法参与者对象GeneralAccessStrategy.isAllowed(String userId, List<FlwTaskActor> taskActors) 如果创建人ID所属的组只要有一项存在于参与者集合中,则表示可访问根据 taskId、createId 判断创建人是否允许执行任务返回变量类型为FlwTaskActor的类型的net.sohelp.boot.engine.workflow.impl中的方法修饰符和类型方法说明QueryServiceImpl.getActiveTaskActorsByInstanceId(Long instanceId) GeneralTaskActorProvider.getTaskActors(NodeModel nodeModel, Execution execution) QueryServiceImpl.getTaskActorsByTaskId(Long taskId) protected List<FlwTaskActor> TaskServiceImpl.getTaskActorsByTaskId(Long taskId) QueryServiceImpl.getTaskActorsByTaskIdAndActorId(Long taskId, String actorId) 修饰符和类型方法说明protected voidTaskServiceImpl.assignTask(Long instanceId, Long taskId, int actorType, FlwTaskActor taskActor) 对指定的任务分配参与者。booleanTaskServiceImpl.changeTaskActor(Long taskId, FlwTaskActor taskActor) 类型变量类型为FlwTaskActor的net.sohelp.boot.engine.workflow.impl中的方法参数修饰符和类型方法说明booleanTaskServiceImpl.addTaskActor(Long taskId, PerformType performType, List<FlwTaskActor> taskActors, FlowCreator flowCreator) 向指定的任务ID添加参与者TaskServiceImpl.createNewTask(Long taskId, TaskType taskType, PerformType performType, List<FlwTaskActor> taskActors, FlowCreator flowCreator, Function<FlwTask, Execution> executionFunction) 根据已有任务、参与者创建新的任务GeneralAccessStrategy.isAllowed(String userId, List<FlwTaskActor> taskActors) 如果创建人ID所属的组只要有一项存在于参与者集合中,则表示可访问protected voidTaskServiceImpl.moveToHisTaskActor(List<FlwTaskActor> taskActors) 迁移任务参与者至历史表TaskServiceImpl.saveTask(FlwTask flwTask, PerformType performType, List<FlwTaskActor> taskActors, Execution execution, NodeModel nodeModel) 保存任务及参与者信息protected voidTaskServiceImpl.taskNotify(TaskEventType eventType, Supplier<FlwTask> supplier, List<FlwTaskActor> taskActors, NodeModel nodeModel, FlowCreator flowCreator) -
net.sohelp.boot.engine.workflow.listener中FlwTaskActor的使用
类型变量类型为FlwTaskActor的net.sohelp.boot.engine.workflow.listener中的方法参数修饰符和类型方法说明booleanTaskListener.notify(TaskEventType eventType, Supplier<FlwTask> supplier, List<FlwTaskActor> taskActors, NodeModel nodeModel, FlowCreator flowCreator) 流程引擎监听通知 -
net.sohelp.boot.engine.workflow.mapper中FlwTaskActor的使用
返回变量类型为FlwTaskActor的类型的net.sohelp.boot.engine.workflow.mapper中的方法修饰符和类型方法说明default List<FlwTaskActor> FlwTaskActorMapper.selectListByInstanceId(Long instanceId) 通过流程实例ID获取参与者列表default List<FlwTaskActor> FlwTaskActorMapper.selectListByTaskId(Long taskId) 通过任务ID获取参与者列表default List<FlwTaskActor> FlwTaskActorMapper.selectListByTaskIds(List<Long> taskIds) 通过任务ID列表获取参与者列表 -
net.sohelp.boot.engine.workflow.mapper.impl中FlwTaskActor的使用
返回变量类型为FlwTaskActor的类型的net.sohelp.boot.engine.workflow.mapper.impl中的方法修饰符和类型方法说明FlwTaskActorDaoImpl.selectListByActorId(String actorId) FlwTaskActorDaoImpl.selectListByInstanceId(Long instanceId) FlwTaskActorDaoImpl.selectListByTaskId(Long taskId) FlwTaskActorDaoImpl.selectListByTaskIdAndActorId(Long taskId, String actorId) FlwTaskActorDaoImpl.selectListByTaskIds(List<Long> taskIds) 修饰符和类型方法说明booleanFlwTaskActorDaoImpl.insert(FlwTaskActor taskActor) booleanFlwTaskActorDaoImpl.updateById(FlwTaskActor taskActor) -
net.sohelp.boot.engine.workflow.model中FlwTaskActor的使用
-
net.sohelp.boot.engine.workflow.spring.event中FlwTaskActor的使用
类型变量类型为FlwTaskActor的net.sohelp.boot.engine.workflow.spring.event中的方法参数修饰符和类型方法说明booleanEventTaskListener.notify(TaskEventType eventType, Supplier<FlwTask> supplier, List<FlwTaskActor> taskActors, NodeModel nodeModel, FlowCreator flowCreator)