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 Summary
ConstructorDescriptionWaveformPicksCollectionJsonController
(WaveformPickService waveformPickService) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<?>
org.springframework.http.ResponseEntity<?>
create
(@Valid WaveformPick waveformPick, org.springframework.validation.BindingResult result) org.springframework.http.ResponseEntity<?>
createBatch
(@Valid Collection<WaveformPick> waveformPicks, org.springframework.validation.BindingResult result) org.springframework.http.ResponseEntity<Void>
deleteBatch
(Collection<Long> ids) void
setWaveformPickService
(WaveformPickService waveformPickService) org.springframework.http.ResponseEntity<?>
updateBatch
(@Valid Collection<WaveformPick> waveformPicks, org.springframework.validation.BindingResult result)
-
Constructor Details
-
WaveformPicksCollectionJsonController
-
-
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
-
setWaveformPickService
-