Class TransportationController

java.lang.Object
org.openwms.core.http.AbstractWebController
org.openwms.tms.TransportationController

@Profile("!INMEM") @MeasuredRestController class TransportationController extends org.openwms.core.http.AbstractWebController
A TransportationController.
Author:
Heiko Scherrer
  • Field Details

  • Constructor Details

  • Method Details

    • findBy

      @GetMapping(value="/v1/transport-orders", params={"barcode","state"}) public List<TransportOrderVO> findBy(@RequestParam String barcode, @RequestParam String state)
    • findByPKey

      @GetMapping("/v1/transport-orders/{pKey}") public TransportOrderVO findByPKey(@PathVariable("pKey") String pKey)
    • createTO

      @PostMapping(value="/v1/transport-orders", params={"barcode","target"}) @ResponseStatus(CREATED) public void createTO(@RequestParam("barcode") String barcode, @RequestParam("target") String target, @RequestParam(value="priority",required=false) String priorityParam, jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse resp)
    • createTO

      @PostMapping("/v1/transport-orders") @ResponseStatus(CREATED) public void createTO(@RequestBody CreateTransportOrderVO vo, jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse resp)
    • updateTO

      @PatchMapping("/v1/transport-orders/{pKey}") @ResponseStatus(NO_CONTENT) public void updateTO(@PathVariable("pKey") String pKey, @RequestBody UpdateTransportOrderVO vo)
    • changeState

      @PostMapping(value="/v1/transport-orders/{pKey}", params="state") public org.springframework.http.ResponseEntity<Void> changeState(@PathVariable("pKey") String pKey, @RequestParam("state") String state)
    • handleDeniedException

      @ExceptionHandler(DeniedException.class) protected org.springframework.http.ResponseEntity<org.ameba.http.Response> handleDeniedException(DeniedException bae)