Class WorkflowController
java.lang.Object
com.codingapi.flow.api.controller.WorkflowController
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.codingapi.springboot.framework.dto.response.ResponsechangeState(com.codingapi.springboot.framework.dto.request.IdRequest request) com.codingapi.springboot.framework.dto.response.ResponsechangeVersion(com.codingapi.springboot.framework.dto.request.IdRequest request) com.codingapi.springboot.framework.dto.response.SingleResponse<com.alibaba.fastjson.JSONObject>create()createNode(NodeCreateRequest request) com.codingapi.springboot.framework.dto.response.ResponsedeleteVersion(com.codingapi.springboot.framework.dto.request.IdRequest request) voidexport(com.codingapi.springboot.framework.dto.request.IdRequest request, jakarta.servlet.http.HttpServletResponse response) com.codingapi.springboot.framework.dto.response.SingleResponse<WorkflowMeta>getMeta(com.codingapi.springboot.framework.dto.request.IdRequest request) com.codingapi.springboot.framework.dto.response.SingleResponse<String>importWorkflow(com.alibaba.fastjson.JSONObject body) com.codingapi.springboot.framework.dto.response.SingleResponse<com.alibaba.fastjson.JSONObject>com.codingapi.springboot.framework.dto.response.SingleResponse<String>mock()com.codingapi.springboot.framework.dto.response.Responsemock(com.codingapi.springboot.framework.dto.request.IdRequest request) 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) com.codingapi.springboot.framework.dto.response.Response
-
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) -
updateVersionName
@PostMapping("/updateVersionName") public com.codingapi.springboot.framework.dto.response.Response updateVersionName(@RequestBody WorkflowUpdateVersionNameRequest request) -
getMeta
@GetMapping("/meta") public com.codingapi.springboot.framework.dto.response.SingleResponse<WorkflowMeta> getMeta(com.codingapi.springboot.framework.dto.request.IdRequest request) -
changeVersion
@PostMapping("/changeVersion") public com.codingapi.springboot.framework.dto.response.Response changeVersion(@RequestBody com.codingapi.springboot.framework.dto.request.IdRequest request) -
deleteVersion
@PostMapping("/deleteVersion") public com.codingapi.springboot.framework.dto.response.Response deleteVersion(@RequestBody com.codingapi.springboot.framework.dto.request.IdRequest request) -
changeState
@PostMapping("/changeState") public com.codingapi.springboot.framework.dto.response.Response changeState(@RequestBody com.codingapi.springboot.framework.dto.request.IdRequest request) -
mock
@PostMapping("/mock") public com.codingapi.springboot.framework.dto.response.SingleResponse<String> mock() -
mock
@PostMapping("/cleanMock") public com.codingapi.springboot.framework.dto.response.Response mock(@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() -
importWorkflow
@PostMapping("/import") public com.codingapi.springboot.framework.dto.response.SingleResponse<String> importWorkflow(@RequestBody com.alibaba.fastjson.JSONObject body) -
export
@GetMapping("/export") public void export(com.codingapi.springboot.framework.dto.request.IdRequest request, jakarta.servlet.http.HttpServletResponse response) -
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)
-