Class ActionResource

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

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

  • Constructor Details

  • Method Details

    • getAll

      @GetMapping("/v1/api/actions") public List<ActionVO> getAll()
    • delete

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

      @PutMapping("/v1/api/actions") @CacheEvict("actions") @Transactional public ActionVO save(@RequestBody ActionVO actionVO)
    • create

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

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