Class WaveformPicksCollectionJsonController

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

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

    • WaveformPicksCollectionJsonController

      @Autowired public WaveformPicksCollectionJsonController(WaveformPickService waveformPickService)
  • Method Details

    • create

      @PostMapping(name="create") public org.springframework.http.ResponseEntity<?> create(@Valid @RequestBody @Valid WaveformPick waveformPick, org.springframework.validation.BindingResult result)
    • createBatch

      @PostMapping(value={"/batch","/batch/"}, name="createBatch") public org.springframework.http.ResponseEntity<?> createBatch(@Valid @RequestBody @Valid Collection<WaveformPick> waveformPicks, org.springframework.validation.BindingResult result)
    • clearAutopicks

      @GetMapping(value={"/clear-autopicks","/clear-autopicks/"}, name="clearAutopicks") public org.springframework.http.ResponseEntity<?> clearAutopicks()
    • updateBatch

      @PutMapping(value={"/batch","/batch/"}, name="updateBatch") public org.springframework.http.ResponseEntity<?> updateBatch(@Valid @RequestBody @Valid Collection<WaveformPick> waveformPicks, org.springframework.validation.BindingResult result)
    • deleteBatch

      @DeleteMapping(value="/batch/{ids}", name="deleteBatch") public org.springframework.http.ResponseEntity<Void> deleteBatch(@PathVariable("ids") Collection<Long> ids)
    • getWaveformPickService

      public WaveformPickService getWaveformPickService()
    • setWaveformPickService

      public void setWaveformPickService(WaveformPickService waveformPickService)