Class WorkflowController

java.lang.Object
com.codingapi.flow.api.controller.WorkflowController

@RestController @RequestMapping("/api/cmd/workflow") public class WorkflowController extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.codingapi.springboot.framework.dto.response.SingleResponse<com.alibaba.fastjson.JSONObject>
     
    com.codingapi.springboot.framework.dto.response.SingleResponse<Map<String,Object>>
     
    com.codingapi.springboot.framework.dto.response.SingleResponse<com.alibaba.fastjson.JSONObject>
     
    com.codingapi.springboot.framework.dto.response.Response
    remove(com.codingapi.springboot.framework.dto.request.IdRequest request)
     
    com.codingapi.springboot.framework.dto.response.Response
    save(com.alibaba.fastjson.JSONObject request)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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)