public class TaskVariableBaseResource extends TaskBaseResource
| Modifier and Type | Field and Description |
|---|---|
protected org.springframework.core.env.Environment |
env |
protected boolean |
isSerializableVariableAllowed |
protected RuntimeService |
runtimeService |
historyService, restResponseFactory, taskService| Constructor and Description |
|---|
TaskVariableBaseResource() |
| Modifier and Type | Method and Description |
|---|---|
RestVariable |
getVariableFromRequest(String taskId,
String variableName,
String scope,
boolean includeBinary) |
protected boolean |
hasVariableOnScope(org.flowable.task.api.Task task,
String variableName,
RestVariable.RestVariableScope scope) |
protected void |
postConstruct() |
protected RestVariable |
setBinaryVariable(org.springframework.web.multipart.MultipartHttpServletRequest request,
org.flowable.task.api.Task task,
boolean isNew) |
protected RestVariable |
setSimpleVariable(RestVariable restVariable,
org.flowable.task.api.Task task,
boolean isNew) |
protected void |
setVariable(org.flowable.task.api.Task task,
String name,
Object value,
RestVariable.RestVariableScope scope,
boolean isNew) |
addProcessvariables, addTaskvariables, getDelegationState, getHistoricTaskFromRequest, getTaskFromRequest, getTasksFromQueryRequest, populateTaskFromRequest@Autowired protected org.springframework.core.env.Environment env
@Autowired protected RuntimeService runtimeService
protected boolean isSerializableVariableAllowed
@PostConstruct protected void postConstruct()
public RestVariable getVariableFromRequest(String taskId, String variableName, String scope, boolean includeBinary)
protected boolean hasVariableOnScope(org.flowable.task.api.Task task,
String variableName,
RestVariable.RestVariableScope scope)
protected RestVariable setBinaryVariable(org.springframework.web.multipart.MultipartHttpServletRequest request, org.flowable.task.api.Task task, boolean isNew)
protected RestVariable setSimpleVariable(RestVariable restVariable, org.flowable.task.api.Task task, boolean isNew)
protected void setVariable(org.flowable.task.api.Task task,
String name,
Object value,
RestVariable.RestVariableScope scope,
boolean isNew)
Copyright © 2018 Flowable. All rights reserved.