Class AdapterNameRestController

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

@RestController public class AdapterNameRestController extends Object
  • Constructor Details

    • AdapterNameRestController

      public AdapterNameRestController()
  • Method Details

    • loadAll

      @GetMapping("/inventory/rest/adapter-names") public List<AdapterNameDisplayDto> loadAll()
    • loadById

      @GetMapping("/inventory/rest/adapter-names/{id}") public AdapterNameDisplayDto loadById(@PathVariable long id)
    • create

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

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

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