Package de.trustable.ca3s.core.web.rest
Class AcmeOrderListResource
- java.lang.Object
-
- de.trustable.ca3s.core.web.rest.AcmeOrderListResource
-
-
Constructor Summary
Constructors Constructor Description AcmeOrderListResource(AcmeOrderViewRepository acmeOrderViewRepository)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
Constructor Detail
-
AcmeOrderListResource
public AcmeOrderListResource(AcmeOrderViewRepository acmeOrderViewRepository)
-
-
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
ResponseEntitywith status200 (OK)and the list of ACME orders in body.
-
-