Package net.risesoft.service.impl
Class CustomVariableServiceImpl
- java.lang.Object
-
- net.risesoft.service.impl.CustomVariableServiceImpl
-
- All Implemented Interfaces:
CustomVariableService
@Service("customVariableService") public class CustomVariableServiceImpl extends Object implements CustomVariableService- Author:
- qinman, zhangchongjie
- Date:
- 2022/12/30
-
-
Constructor Summary
Constructors Constructor Description CustomVariableServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete 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
-
deleteVariable
public void deleteVariable(String taskId, String key)
Description copied from interface:CustomVariableService删除流程变量- Specified by:
deleteVariablein interfaceCustomVariableService
-
getVariable
public Object getVariable(String taskId, String key)
Description copied from interface:CustomVariableService获取流程变量- Specified by:
getVariablein interfaceCustomVariableService- Returns:
-
getVariableLocal
public Object getVariableLocal(String taskId, String key)
Description copied from interface:CustomVariableService获取任务变量- Specified by:
getVariableLocalin interfaceCustomVariableService- Returns:
-
getVariables
public Map<String,Object> getVariables(String taskId)
Description copied from interface:CustomVariableService获取多个流程变量- Specified by:
getVariablesin interfaceCustomVariableService- Returns:
-
getVariablesLocal
public Map<String,Object> getVariablesLocal(String taskId)
Description copied from interface:CustomVariableService获取所有任务变量- Specified by:
getVariablesLocalin interfaceCustomVariableService- Returns:
-
removeVariableLocal
public void removeVariableLocal(String taskId, String key)
Description copied from interface:CustomVariableServiceDescription:- Specified by:
removeVariableLocalin interfaceCustomVariableService
-
setVariable
public void setVariable(String taskId, String key, Object val)
Description copied from interface:CustomVariableService设置流程变量- Specified by:
setVariablein interfaceCustomVariableService
-
setVariableLocal
public void setVariableLocal(String taskId, String key, Object val)
Description copied from interface:CustomVariableService设置任务变量- Specified by:
setVariableLocalin interfaceCustomVariableService
-
setVariables
public void setVariables(String taskId, Map<String,Object> map)
Description copied from interface:CustomVariableService这是保存多个流程变量- Specified by:
setVariablesin interfaceCustomVariableService
-
setVariablesLocal
public void setVariablesLocal(String taskId, Map<String,Object> map)
Description copied from interface:CustomVariableService设置多个任务变量- Specified by:
setVariablesLocalin interfaceCustomVariableService
-
-