@RestController public class HistoricTaskInstanceVariableDataResource extends Object
| Modifier and Type | Field and Description |
|---|---|
protected org.activiti.engine.HistoryService |
historyService |
protected RestResponseFactory |
restResponseFactory |
| Constructor and Description |
|---|
HistoricTaskInstanceVariableDataResource() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getVariableData(String taskId,
String variableName,
String scope,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
RestVariable |
getVariableFromRequest(boolean includeBinary,
String taskId,
String variableName,
String scope,
javax.servlet.http.HttpServletRequest request) |
@Autowired protected RestResponseFactory restResponseFactory
@Autowired protected org.activiti.engine.HistoryService historyService
public HistoricTaskInstanceVariableDataResource()
@RequestMapping(value="/history/historic-task-instances/{taskId}/variables/{variableName}/data",
method=GET)
@ResponseBody
public byte[] getVariableData(@PathVariable(value="taskId")
String taskId,
@PathVariable(value="variableName")
String variableName,
@RequestParam(value="scope",required=false)
String scope,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
public RestVariable getVariableFromRequest(boolean includeBinary, String taskId, String variableName, String scope, javax.servlet.http.HttpServletRequest request)
Copyright © 2016 Alfresco. All rights reserved.