Class AcmeOrderListResource


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

    • Method Detail

      • getAllAcmeOrders

        @GetMapping("/acmeOrderList")
        @PreAuthorize("hasRole(\"ROLE_ADMIN\")")
        public org.springframework.http.ResponseEntity<List<AcmeOrderView>> getAllAcmeOrders​(org.springframework.data.domain.Pageable pageable,
                                                                                             javax.servlet.http.HttpServletRequest request)
        GET /acmeOrderList : get all the ACME orders.
        Parameters:
        pageable - the pagination information.
        Returns:
        the ResponseEntity with status 200 (OK) and the list of ACME orders in body.