Class ScepOrderViewResource


  • @Transactional
    @RestController
    @RequestMapping("/api")
    public class ScepOrderViewResource
    extends Object
    REST controller for managing ScepOrder.
    • Method Detail

      • getAllAcmeOrderViews

        @GetMapping("/scepOrderViews")
        @PreAuthorize("hasRole(\"ROLE_ADMIN\")")
        public List<ScepOrderView> getAllAcmeOrderViews()
        GET /scepOrderViews : get all ACME orders.
        Returns:
        the ResponseEntity with status 200 (OK) and the list of ACME accounts in body.
      • getscepOrder

        @GetMapping("/scepOrderViews/{id}")
        public org.springframework.http.ResponseEntity<ScepOrderView> getscepOrder​(@PathVariable
                                                                                   Long id)
        GET /scepOrderViews/:id : get the "id" ACME order.
        Parameters:
        id - the id of the ACME account to retrieve.
        Returns:
        the ResponseEntity with status 200 (OK) and with body the ACME account, or with status 404 (Not Found).