Class WaveformPicksItemJsonController

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

@RestController @CrossOrigin @RequestMapping(value="/api/v1/waveform-picks/{waveformPick}", name="WaveformPicksItemJsonController", produces="application/json") public class WaveformPicksItemJsonController extends Object
  • Constructor Details

    • WaveformPicksItemJsonController

      @Autowired public WaveformPicksItemJsonController(WaveformPickService waveformPickService)
  • Method Details

    • getWaveformPickService

      public WaveformPickService getWaveformPickService()
    • setWaveformPickService

      public void setWaveformPickService(WaveformPickService waveformPickService)
    • getWaveformPick

      @ModelAttribute public WaveformPick getWaveformPick(@PathVariable("waveformPick") Long id)
    • show

      @GetMapping(name="show") public org.springframework.http.ResponseEntity<?> show(@ModelAttribute WaveformPick waveformPick)
    • showURI

      public static org.springframework.web.util.UriComponents showURI(WaveformPick waveformPick)
    • update

      @PutMapping(name="update") public org.springframework.http.ResponseEntity<?> update(@ModelAttribute WaveformPick storedWaveformPick, @Valid @RequestBody @Valid WaveformPick waveformPick, org.springframework.validation.BindingResult result)
    • delete

      @DeleteMapping(name="delete") public org.springframework.http.ResponseEntity<?> delete(@ModelAttribute WaveformPick waveformPick)