Class HostOperatingSystemRestController

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

@RestController public class HostOperatingSystemRestController extends Object
  • Constructor Details

    • HostOperatingSystemRestController

      public HostOperatingSystemRestController()
  • Method Details

    • loadAll

      @GetMapping("/inventory/rest/host-operating-systems") public List<HostOperatingSystemDisplayDto> loadAll()
    • loadById

      @GetMapping("/inventory/rest/host-operating-systems/{id}") public HostOperatingSystemDisplayDto loadById(@PathVariable long id)
    • create

      @PostMapping("/inventory/rest/host-operating-systems") public org.springframework.http.ResponseEntity<HostOperatingSystemSaveDto> create(@Valid @RequestBody @Valid HostOperatingSystemSaveDto dto, org.springframework.validation.BindingResult bindingResult)
    • update

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

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