Class InventoryItemStatusRestController

java.lang.Object
org.xbricks.inventories.inventory.controllers.rest.InventoryItemStatusRestController

@RestController public class InventoryItemStatusRestController extends Object
  • Constructor Details

    • InventoryItemStatusRestController

      public InventoryItemStatusRestController()
  • Method Details

    • loadAll

      @GetMapping("/inventory/rest/inventory-item-status") public List<InventoryItemStatusDisplayDto> loadAll()
    • loadById

      @GetMapping("/inventory/rest/inventory-item-status/{id}") public InventoryItemStatusDisplayDto loadById(@PathVariable long id)
    • create

      @PostMapping("/inventory/rest/inventory-item-status") public org.springframework.http.ResponseEntity<InventoryItemStatusSaveDto> create(@Valid @RequestBody @Valid InventoryItemStatusSaveDto dto, org.springframework.validation.BindingResult bindingResult)
    • update

      @PutMapping("/inventory/rest/inventory-item-status/{id}") public org.springframework.http.ResponseEntity<InventoryItemStatusSaveDto> update(@PathVariable long id, @Valid @RequestBody @Valid InventoryItemStatusSaveDto dto, org.springframework.validation.BindingResult bindingResult)
    • delete

      @DeleteMapping("/inventory/rest/inventory-item-status/{id}") public org.springframework.http.ResponseEntity<String> delete(@PathVariable long id)