Class WorkflowController
java.lang.Object
com.codingapi.flow.api.controller.WorkflowController
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.codingapi.springboot.framework.dto.response.SingleResponse<com.alibaba.fastjson.JSONObject>create()createNode(NodeCreateRequest request) com.codingapi.springboot.framework.dto.response.SingleResponse<com.alibaba.fastjson.JSONObject>com.codingapi.springboot.framework.dto.response.Responseremove(com.codingapi.springboot.framework.dto.request.IdRequest request) com.codingapi.springboot.framework.dto.response.Responsesave(com.alibaba.fastjson.JSONObject request)
-
Constructor Details
-
WorkflowController
public WorkflowController()
-
-
Method Details
-
remove
@PostMapping("/remove") public com.codingapi.springboot.framework.dto.response.Response remove(@RequestBody com.codingapi.springboot.framework.dto.request.IdRequest request) -
create
@PostMapping("/create") public com.codingapi.springboot.framework.dto.response.SingleResponse<com.alibaba.fastjson.JSONObject> create() -
createNode
@PostMapping("/create-node") public com.codingapi.springboot.framework.dto.response.SingleResponse<Map<String,Object>> createNode(@RequestBody NodeCreateRequest request) -
save
@PostMapping("/save") public com.codingapi.springboot.framework.dto.response.Response save(@RequestBody com.alibaba.fastjson.JSONObject request) -
load
@GetMapping("/load") public com.codingapi.springboot.framework.dto.response.SingleResponse<com.alibaba.fastjson.JSONObject> load(String id)
-