Class RouteResource

java.lang.Object
org.openwms.core.http.AbstractWebController
org.openwms.tms.routing.ui.RouteResource

@MeasuredRestController class RouteResource extends org.openwms.core.http.AbstractWebController
A RouteResource.
Author:
Heiko Scherrer
  • Field Details

  • Constructor Details

  • Method Details

    • getAll

      @GetMapping("/v1/api/routes") public List<RouteVO> getAll()
    • delete

      @DeleteMapping("/v1/api/routes/{persistentKey}") @ResponseStatus(NO_CONTENT) @CacheEvict("routes") @Transactional public void delete(@PathVariable("persistentKey") String persistentKey)
    • save

      @PutMapping("/v1/api/routes") @CacheEvict("routes") @Transactional public RouteVO save(@RequestBody RouteVO routeVO)
    • create

      @PostMapping("/v1/api/routes") @ResponseStatus(CREATED) @CacheEvict("routes") @Transactional public void create(@RequestBody RouteVO routeVO, jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse resp)
    • getCreatedResourceURI

      private String getCreatedResourceURI(jakarta.servlet.http.HttpServletRequest req, String objId)