public class BaseExecutionVariableResource extends Object
Modifier and Type | Field and Description |
---|---|
protected org.springframework.core.env.Environment |
env |
protected boolean |
isSerializableVariableAllowed |
protected RestResponseFactory |
restResponseFactory |
protected org.activiti.engine.RuntimeService |
runtimeService |
Constructor and Description |
---|
BaseExecutionVariableResource() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
allowProcessInstanceUrl() |
protected RestVariable |
constructRestVariable(String variableName,
Object value,
RestVariable.RestVariableScope variableScope,
String executionId,
boolean includeBinary) |
protected org.activiti.engine.runtime.Execution |
getExecutionFromRequest(String executionId)
Get valid execution from request.
|
protected String |
getExecutionIdParameter() |
protected org.activiti.engine.runtime.Execution |
getProcessInstanceFromRequest(String processInstanceId) |
protected byte[] |
getVariableDataByteArray(org.activiti.engine.runtime.Execution execution,
String variableName,
String scope,
javax.servlet.http.HttpServletResponse response) |
RestVariable |
getVariableFromRequest(org.activiti.engine.runtime.Execution execution,
String variableName,
String scope,
boolean includeBinary) |
protected boolean |
hasVariableOnScope(org.activiti.engine.runtime.Execution execution,
String variableName,
RestVariable.RestVariableScope scope) |
protected void |
postConstruct() |
protected RestVariable |
setBinaryVariable(org.springframework.web.multipart.MultipartHttpServletRequest request,
org.activiti.engine.runtime.Execution execution,
int responseVariableType,
boolean isNew) |
protected RestVariable |
setSimpleVariable(RestVariable restVariable,
org.activiti.engine.runtime.Execution execution,
boolean isNew) |
protected void |
setVariable(org.activiti.engine.runtime.Execution execution,
String name,
Object value,
RestVariable.RestVariableScope scope,
boolean isNew) |
@Autowired protected org.springframework.core.env.Environment env
@Autowired protected RestResponseFactory restResponseFactory
@Autowired protected org.activiti.engine.RuntimeService runtimeService
protected boolean isSerializableVariableAllowed
@PostConstruct protected void postConstruct()
protected byte[] getVariableDataByteArray(org.activiti.engine.runtime.Execution execution, String variableName, String scope, javax.servlet.http.HttpServletResponse response)
protected RestVariable setBinaryVariable(org.springframework.web.multipart.MultipartHttpServletRequest request, org.activiti.engine.runtime.Execution execution, int responseVariableType, boolean isNew)
protected RestVariable setSimpleVariable(RestVariable restVariable, org.activiti.engine.runtime.Execution execution, boolean isNew)
protected void setVariable(org.activiti.engine.runtime.Execution execution, String name, Object value, RestVariable.RestVariableScope scope, boolean isNew)
protected boolean hasVariableOnScope(org.activiti.engine.runtime.Execution execution, String variableName, RestVariable.RestVariableScope scope)
public RestVariable getVariableFromRequest(org.activiti.engine.runtime.Execution execution, String variableName, String scope, boolean includeBinary)
protected RestVariable constructRestVariable(String variableName, Object value, RestVariable.RestVariableScope variableScope, String executionId, boolean includeBinary)
protected org.activiti.engine.runtime.Execution getExecutionFromRequest(String executionId)
protected org.activiti.engine.runtime.Execution getProcessInstanceFromRequest(String processInstanceId)
protected String getExecutionIdParameter()
protected boolean allowProcessInstanceUrl()
Copyright © 2016 Alfresco. All rights reserved.