@RestController
@RequestMapping(value="/workflow/process")
@Authorize(permission="workflow-process",
description="\u5de5\u4f5c\u6d41-\u6d41\u7a0b\u7ba1\u7406")
public class FlowableProcessController
extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
FlowableProcessController.Type |
| 构造器和说明 |
|---|
FlowableProcessController() |
| 限定符和类型 | 方法和说明 |
|---|---|
ResponseMessage<List<CandidateDetail>> |
candidateList(String taskId,
Map<String,Object> data,
org.hswebframework.web.authorization.Authentication authentication) |
ResponseMessage<Void> |
claim(String taskId,
org.hswebframework.web.authorization.Authentication authentication) |
ResponseMessage<Void> |
complete(String taskId,
Map<String,Object> formData,
org.hswebframework.web.authorization.Authentication authentication) |
ResponseMessage<PagerResult<TaskInfo>> |
getClaims(QueryParamEntity query,
org.hswebframework.web.authorization.Authentication authentication) |
ResponseMessage<PagerResult<TaskInfo>> |
getClaimsAndTodo(QueryParamEntity query,
org.hswebframework.web.authorization.Authentication authentication) |
ResponseMessage<PagerResult<Object>> |
getFormData(FlowableProcessController.Type type,
String processDefineId,
QueryParamEntity query,
org.hswebframework.web.authorization.Authentication authentication) |
ResponseMessage<PagerResult<TaskInfo>> |
getHistory(QueryParamEntity query,
org.hswebframework.web.authorization.Authentication authentication) |
ResponseMessage<PagerResult<Object>> |
getTaskFormData(String processDefineId,
String taskDefineKey,
QueryParamEntity query) |
ResponseMessage<PagerResult<TaskInfo>> |
getTodoList(QueryParamEntity query,
org.hswebframework.web.authorization.Authentication authentication) |
ResponseMessage<Void> |
jump(String taskId,
String activityId,
Map<String,Object> data,
org.hswebframework.web.authorization.Authentication authentication) |
ResponseMessage<PagerResult<ProcessInfo>> |
queryProcess(QueryParamEntity query) |
ResponseMessage<Void> |
reject(String taskId,
Map<String,Object> data,
org.hswebframework.web.authorization.Authentication authentication) |
ResponseMessage<String> |
startProcess(String defId,
Map<String,Object> data,
org.hswebframework.web.authorization.Authentication authentication) |
ResponseMessage<String> |
startProcessByKey(String defineKey,
Map<String,Object> data,
org.hswebframework.web.authorization.Authentication authentication) |
@GetMapping(value="/doing") @Authorize(action="query") public ResponseMessage<PagerResult<ProcessInfo>> queryProcess(QueryParamEntity query)
@GetMapping(value="/tasks") @Authorize(action="query") public ResponseMessage<PagerResult<TaskInfo>> getHistory(QueryParamEntity query, org.hswebframework.web.authorization.Authentication authentication)
@PostMapping(value="/start/key/{defineKey}")
@Authorize(merge=false)
public ResponseMessage<String> startProcessByKey(@PathVariable
String defineKey,
@RequestBody
Map<String,Object> data,
org.hswebframework.web.authorization.Authentication authentication)
@PostMapping(value="/start/id/{defId}")
@Authorize(merge=false)
public ResponseMessage<String> startProcess(@PathVariable
String defId,
@RequestBody
Map<String,Object> data,
org.hswebframework.web.authorization.Authentication authentication)
@GetMapping(value="/todo") @Authorize(merge=false) public ResponseMessage<PagerResult<TaskInfo>> getTodoList(QueryParamEntity query, org.hswebframework.web.authorization.Authentication authentication)
@GetMapping(value="/{type}/form/{processDefineId}")
@Authorize(merge=false)
public ResponseMessage<PagerResult<Object>> getFormData(@PathVariable
FlowableProcessController.Type type,
@PathVariable
String processDefineId,
QueryParamEntity query,
org.hswebframework.web.authorization.Authentication authentication)
@GetMapping(value="/task/form/{processDefineId}/{taskDefineKey}")
@Authorize(merge=false)
public ResponseMessage<PagerResult<Object>> getTaskFormData(@PathVariable
String processDefineId,
@PathVariable
String taskDefineKey,
QueryParamEntity query)
@GetMapping(value="/claims") @Authorize(merge=false) public ResponseMessage<PagerResult<TaskInfo>> getClaims(QueryParamEntity query, org.hswebframework.web.authorization.Authentication authentication)
@GetMapping(value="/claims-and-todo") @Authorize(merge=false) public ResponseMessage<PagerResult<TaskInfo>> getClaimsAndTodo(QueryParamEntity query, org.hswebframework.web.authorization.Authentication authentication)
@PutMapping(value="/claim/{taskId}")
@Authorize(merge=false)
public ResponseMessage<Void> claim(@PathVariable
String taskId,
org.hswebframework.web.authorization.Authentication authentication)
@PutMapping(value="/complete/{taskId}")
@Authorize(merge=false)
public ResponseMessage<Void> complete(@PathVariable
String taskId,
@RequestBody(required=false)
Map<String,Object> formData,
org.hswebframework.web.authorization.Authentication authentication)
@PutMapping(value="/reject/{taskId}")
@Authorize(merge=false)
public ResponseMessage<Void> reject(@PathVariable
String taskId,
@RequestBody
Map<String,Object> data,
org.hswebframework.web.authorization.Authentication authentication)
@PutMapping(value="/jump/{taskId}/{activityId}")
@Authorize(merge=false)
public ResponseMessage<Void> jump(@PathVariable
String taskId,
@PathVariable
String activityId,
@RequestBody
Map<String,Object> data,
org.hswebframework.web.authorization.Authentication authentication)
@PostMapping(value="/next-task-candidate/{taskId}")
@Authorize(merge=false)
public ResponseMessage<List<CandidateDetail>> candidateList(@PathVariable
String taskId,
@RequestBody
Map<String,Object> data,
org.hswebframework.web.authorization.Authentication authentication)
Copyright © 2016–2019. All rights reserved.