Class BPMNProcessInfoResource


  • @RestController
    @RequestMapping("/api")
    public class BPMNProcessInfoResource
    extends Object
    REST controller for managing BPMNProcessInfo.
    • Constructor Detail

    • Method Detail

      • createBPMNProcessInfo

        @PostMapping("/bpmn-process-infos")
        public org.springframework.http.ResponseEntity<BPMNProcessInfo> createBPMNProcessInfo​(@Valid @RequestBody
                                                                                              @Valid BPMNProcessInfo bPMNProcessInfo)
                                                                                       throws URISyntaxException
        POST /bpmn-process-infos : Create a new bPMNProcessInfo.
        Parameters:
        bPMNProcessInfo - the bPMNProcessInfo to create.
        Returns:
        the ResponseEntity with status 201 (Created) and with body the new bPMNProcessInfo, or with status 400 (Bad Request) if the bPMNProcessInfo has already an ID.
        Throws:
        URISyntaxException - if the Location URI syntax is incorrect.
      • updateBPMNProcessInfo

        @PutMapping("/bpmn-process-infos")
        public org.springframework.http.ResponseEntity<BPMNProcessInfo> updateBPMNProcessInfo​(@Valid @RequestBody
                                                                                              @Valid BPMNProcessInfo bPMNProcessInfo)
                                                                                       throws URISyntaxException
        PUT /bpmn-process-infos : Updates an existing bPMNProcessInfo.
        Parameters:
        bPMNProcessInfo - the bPMNProcessInfo to update.
        Returns:
        the ResponseEntity with status 200 (OK) and with body the updated bPMNProcessInfo, or with status 400 (Bad Request) if the bPMNProcessInfo is not valid, or with status 500 (Internal Server Error) if the bPMNProcessInfo couldn't be updated.
        Throws:
        URISyntaxException - if the Location URI syntax is incorrect.
      • getAllBPMNProcessInfos

        @GetMapping("/bpmn-process-infos")
        public List<BPMNProcessInfo> getAllBPMNProcessInfos()
        GET /bpmn-process-infos : get all the bPMNProcessInfos.
        Returns:
        the ResponseEntity with status 200 (OK) and the list of bPMNProcessInfos in body.
      • getBPMNProcessInfo

        @GetMapping("/bpmn-process-infos/{id}")
        public org.springframework.http.ResponseEntity<BPMNProcessInfo> getBPMNProcessInfo​(@PathVariable
                                                                                           Long id)
        GET /bpmn-process-infos/:id : get the "id" bPMNProcessInfo.
        Parameters:
        id - the id of the bPMNProcessInfo to retrieve.
        Returns:
        the ResponseEntity with status 200 (OK) and with body the bPMNProcessInfo, or with status 404 (Not Found).
      • deleteBPMNProcessInfo

        @DeleteMapping("/bpmn-process-infos/{id}")
        public org.springframework.http.ResponseEntity<Void> deleteBPMNProcessInfo​(@PathVariable
                                                                                   Long id)
        DELETE /bpmn-process-infos/:id : delete the "id" bPMNProcessInfo.
        Parameters:
        id - the id of the bPMNProcessInfo to delete.
        Returns:
        the ResponseEntity with status 204 (NO_CONTENT).