@Controller @RequestMapping(value="/act") public class ActivitiController extends BaseController
Constructor and Description |
---|
ActivitiController() |
Modifier and Type | Method and Description |
---|---|
String |
actUpdate(String id) |
JsonUtil |
delDeploy(org.springframework.ui.Model model,
String id)
删除流程定义 级联 删除 流程节点绑定信息
|
JsonUtil |
delModel(org.springframework.ui.Model model,
String id) |
String |
goAct(org.springframework.ui.Model model) |
String |
goActiviti()
方法此有所参考 感谢我参考原作者:liuruijie
|
String |
goActModel(org.springframework.ui.Model model) |
String |
goAssignee(String deploymentId,
org.springframework.ui.Model model)
根据流程部署id获取节点并且传到前端
|
JsonUtil |
open(String id)
发布流程
|
ReType |
showAct(org.springframework.ui.Model model,
ProcessDefinition definition,
String page,
String limit)
部署列表
|
ReType |
showModel(org.springframework.ui.Model model,
ActModel actModel,
String page,
String limit)
模型列表
|
JsonUtil |
syncdata()
同步用户 角色 用户角色到activiti表中
|
JsonUtil |
updateNode(javax.servlet.http.HttpServletRequest request)
节点更新配置办理者(人/组)
|
authorizationException, initBinder
@PostMapping(value="syncdata") @ResponseBody public JsonUtil syncdata()
@GetMapping(value="goActiviti") public String goActiviti() throws UnsupportedEncodingException
UnsupportedEncodingException
@GetMapping(value="goAct") public String goAct(org.springframework.ui.Model model)
@GetMapping(value="showAct") @ResponseBody public ReType showAct(org.springframework.ui.Model model, ProcessDefinition definition, String page, String limit)
@GetMapping(value="goActModel") public String goActModel(org.springframework.ui.Model model)
@GetMapping(value="showAm") @ResponseBody public ReType showModel(org.springframework.ui.Model model, ActModel actModel, String page, String limit)
@GetMapping(value="goAssignee/{deploymentId}") public String goAssignee(@PathVariable(value="deploymentId") String deploymentId, org.springframework.ui.Model model)
deploymentId
- 部署idmodel
- @PostMapping(value="goAssignee/updateNode") @ResponseBody public JsonUtil updateNode(javax.servlet.http.HttpServletRequest request)
request
- @PostMapping(value="delDeploy") @ResponseBody public JsonUtil delDeploy(org.springframework.ui.Model model, String id)
model
- id
- Copyright © 2019. All rights reserved.