@RestController public class HistoricTaskQueryResource extends Object
Modifier and Type | Field and Description |
---|---|
protected HistoryService |
historyService |
protected PermissionService |
permissionService |
protected UserCache |
userCache |
protected UserService |
userService |
Constructor and Description |
---|
HistoricTaskQueryResource() |
Modifier and Type | Method and Description |
---|---|
protected List<com.activiti.model.runtime.TaskRepresentation> |
convertTaskInfoList(List<HistoricTaskInstance> tasks) |
com.activiti.model.common.ResultListDataRepresentation |
listTasks(com.fasterxml.jackson.databind.node.ObjectNode requestNode) |
@Inject protected HistoryService historyService
@Inject protected UserService userService
@Inject protected UserCache userCache
@Inject protected PermissionService permissionService
@RequestMapping(value="/rest/query/history/tasks", method=POST, produces="application/json") public com.activiti.model.common.ResultListDataRepresentation listTasks(@RequestBody com.fasterxml.jackson.databind.node.ObjectNode requestNode)
protected List<com.activiti.model.runtime.TaskRepresentation> convertTaskInfoList(List<HistoricTaskInstance> tasks)
Copyright © 2014–2015 Alfresco. All rights reserved.