Package net.risesoft.service
Interface CustomVariableService
-
- All Known Implementing Classes:
CustomVariableServiceImpl
public interface CustomVariableService- Author:
- qinman, zhangchongjie
- Date:
- 2022/12/30
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddeleteVariable(String taskId, String key)删除流程变量ObjectgetVariable(String taskId, String key)获取流程变量ObjectgetVariableLocal(String taskId, String key)获取任务变量Map<String,Object>getVariables(String taskId)获取多个流程变量Map<String,Object>getVariablesLocal(String taskId)获取所有任务变量voidremoveVariableLocal(String taskId, String key)Description:voidsetVariable(String taskId, String key, Object val)设置流程变量voidsetVariableLocal(String taskId, String key, Object val)设置任务变量voidsetVariables(String taskId, Map<String,Object> map)这是保存多个流程变量voidsetVariablesLocal(String taskId, Map<String,Object> map)设置多个任务变量
-
-
-
Method Detail
-
getVariable
Object getVariable(String taskId, String key)
获取流程变量- Parameters:
taskId-key-- Returns:
-
getVariableLocal
Object getVariableLocal(String taskId, String key)
获取任务变量- Parameters:
taskId-key-- Returns:
-
getVariables
Map<String,Object> getVariables(String taskId)
获取多个流程变量- Parameters:
taskId-- Returns:
-
getVariablesLocal
Map<String,Object> getVariablesLocal(String taskId)
获取所有任务变量- Parameters:
taskId-- Returns:
-
removeVariableLocal
void removeVariableLocal(String taskId, String key)
Description:- Parameters:
taskId-key-
-
setVariable
void setVariable(String taskId, String key, Object val)
设置流程变量- Parameters:
taskId-key-val-
-
setVariableLocal
void setVariableLocal(String taskId, String key, Object val)
设置任务变量- Parameters:
taskId-key-val-
-
setVariables
void setVariables(String taskId, Map<String,Object> map)
这是保存多个流程变量- Parameters:
taskId-map-
-
-