Class BPMNUpDownloadController


  • @Controller
    @RequestMapping("/api")
    public class BPMNUpDownloadController
    extends Object
    • Method Detail

      • getBPMN

        @RequestMapping(value="/bpmn/{processId}",
                        method=GET,
                        produces="application/xml")
        public org.springframework.http.ResponseEntity<org.springframework.core.io.InputStreamResource> getBPMN​(@PathVariable
                                                                                                                String processId)
                                                                                                         throws de.trustable.ca3s.core.web.rest.support.NotFoundException
        retrieve bpmn XML content for a given process id
        Parameters:
        processId - the internal process id
        Returns:
        the process's XML
        Throws:
        de.trustable.ca3s.core.web.rest.support.NotFoundException
      • postBPMN

        @PostMapping("/bpmn")
        @Transactional
        public org.springframework.http.ResponseEntity<BPMNProcessInfo> postBPMN​(@Valid @RequestBody
                                                                                 @Valid BPMNUpload bpmnUpload)
      • postBPMNForCSR

        @RequestMapping(value="/bpmn/check/csr/{processId}/{csrId}",
                        method=POST)
        public org.springframework.http.ResponseEntity<Map<String,​String>> postBPMNForCSR​(@PathVariable
                                                                                                String processId,
                                                                                                @PathVariable
                                                                                                String csrId)
        check results a given process id when processing a given CSR
        Parameters:
        processId - the internal process id
        Returns:
        the process's response