Class FlowRecordController

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

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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.codingapi.springboot.framework.dto.response.Response
    action(com.codingapi.flow.pojo.request.FlowActionRequest request)
     
    com.codingapi.springboot.framework.dto.response.SingleResponse<Long>
    create(com.codingapi.flow.pojo.request.FlowCreateRequest request)
     
    com.codingapi.springboot.framework.dto.response.SingleResponse<com.codingapi.flow.pojo.response.FlowContent>
    detail(com.codingapi.springboot.framework.dto.request.IdRequest idRequest)
     
    com.codingapi.springboot.framework.dto.response.MultiResponse<com.codingapi.flow.pojo.response.ProcessNode>
    processNodes(com.codingapi.flow.pojo.request.FlowProcessNodeRequest request)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • FlowRecordController

      public FlowRecordController()
  • Method Details

    • detail

      @GetMapping("/detail") public com.codingapi.springboot.framework.dto.response.SingleResponse<com.codingapi.flow.pojo.response.FlowContent> detail(com.codingapi.springboot.framework.dto.request.IdRequest idRequest)
    • processNodes

      @PostMapping("/processNodes") public com.codingapi.springboot.framework.dto.response.MultiResponse<com.codingapi.flow.pojo.response.ProcessNode> processNodes(@RequestBody com.codingapi.flow.pojo.request.FlowProcessNodeRequest request)
    • create

      @PostMapping("/create") public com.codingapi.springboot.framework.dto.response.SingleResponse<Long> create(@RequestBody com.codingapi.flow.pojo.request.FlowCreateRequest request)
    • action

      @PostMapping("/action") public com.codingapi.springboot.framework.dto.response.Response action(@RequestBody com.codingapi.flow.pojo.request.FlowActionRequest request)