Class WaveformsItemJsonController

java.lang.Object
gov.llnl.gnem.apps.coda.common.application.web.WaveformsItemJsonController

@RestController @CrossOrigin @RequestMapping(value="/api/v1/single-waveform", name="WaveformsItemJsonController", produces="application/json") public class WaveformsItemJsonController extends Object
  • Constructor Details

    • WaveformsItemJsonController

      @Autowired public WaveformsItemJsonController(WaveformService waveformService)
  • Method Details

    • getWaveform

      @GetMapping(value="{id}", name="getWaveform") public Waveform getWaveform(@PathVariable("id") Long id)
    • update

      @PostMapping(name="update") public org.springframework.http.ResponseEntity<?> update(@Valid @RequestBody @Valid Waveform waveform, org.springframework.validation.BindingResult result)
    • delete

      @DeleteMapping(name="delete") public org.springframework.http.ResponseEntity<?> delete(@ModelAttribute Waveform waveform)
    • getWaveformService

      public WaveformService getWaveformService()
    • setWaveformService

      public void setWaveformService(WaveformService waveformService)