Class ReceivingController


  • @Validated
    @MeasuredRestController
    public class ReceivingController
    extends org.openwms.core.http.AbstractWebController
    A ReceivingController.
    Author:
    Heiko Scherrer
    • Field Detail

      • mapper

        private final org.ameba.mapping.BeanMapper mapper
    • Constructor Detail

      • ReceivingController

        ReceivingController​(ReceivingService service,
                            org.ameba.mapping.BeanMapper mapper)
    • Method Detail

      • index

        @GetMapping("/v1/receiving-orders/index")
        public org.springframework.http.ResponseEntity<org.openwms.core.http.Index> index()
      • findAll

        @Transactional(readOnly=true)
        @GetMapping("/v1/receiving-orders")
        public org.springframework.http.ResponseEntity<List<ReceivingOrderVO>> findAll()
      • findOrder

        @Transactional(readOnly=true)
        @GetMapping("/v1/receiving-orders/{pKey}")
        public org.springframework.http.ResponseEntity<ReceivingOrderVO> findOrder​(@PathVariable("pKey")
                                                                                   String pKey)
      • findOrderByOrderId

        @Transactional(readOnly=true)
        @GetMapping(value="/v1/receiving-orders",
                    params="orderId")
        public org.springframework.http.ResponseEntity<ReceivingOrderVO> findOrderByOrderId​(@RequestParam("orderId")
                                                                                            String orderId)
      • createOrder

        @PostMapping("/v1/receiving-orders")
        public org.springframework.http.ResponseEntity<Void> createOrder​(@Valid @RequestBody
                                                                         @Valid ReceivingOrderVO orderVO,
                                                                         javax.servlet.http.HttpServletRequest req)
      • captureOrder

        @PostMapping(value="/v1/receiving-orders/{pKey}/capture",
                     params="loadUnitType")
        public org.springframework.http.ResponseEntity<Void> captureOrder​(@PathVariable("pKey")
                                                                          String pKey,
                                                                          @RequestParam("loadUnitType")
                                                                          String loadUnitType,
                                                                          @Valid @RequestBody
                                                                          @Valid CaptureRequestVO request)
      • cancelOrder

        @DeleteMapping("/v1/receiving-orders/{pKey}")
        public org.springframework.http.ResponseEntity<Void> cancelOrder​(@PathVariable("pKey")
                                                                         String pKey)