Class SyntheticCollectionJsonController

java.lang.Object
gov.llnl.gnem.apps.coda.calibration.application.web.SyntheticCollectionJsonController

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

  • Method Details

    • getAll

      @GetMapping(value={"/all","/all/"}, name="getAll") public org.springframework.http.ResponseEntity<?> getAll()
    • getBatch

      @GetMapping(value="/batch/{ids}", name="getBatch") public org.springframework.http.ResponseEntity<?> getBatch(@PathVariable("ids") Collection<Long> ids)
    • getSyntheticCoda

      @GetMapping(value="/single/{id}", name="getSyntheticCoda") public org.springframework.http.ResponseEntity<?> getSyntheticCoda(@PathVariable("id") Long id)
    • amplitudeCorrectedSyntheticsQuery

      @PostMapping(value={"/amplitude-corrected/query","/amplitude-corrected/query/"}, name="amplitudeCorrectedSyntheticsQuery") public org.springframework.http.ResponseEntity<?> amplitudeCorrectedSyntheticsQuery(@RequestParam(required=false) String eventId, @RequestParam(required=false) String stationName, @RequestParam(required=false) Double lowFreq, @RequestParam(required=false) Double highFreq, @RequestParam(required=false) Double sampleRate)
    • update

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

      @DeleteMapping(name="delete") public org.springframework.http.ResponseEntity<?> delete(@ModelAttribute SyntheticCoda synthetic)
    • generateSynthetic

      @PostMapping(value={"/generate","/generate/"}, name="generateSynthetic") public org.springframework.http.ResponseEntity<?> generateSynthetic(@Valid @RequestBody @Valid SyntheticGenerationRequest request, org.springframework.validation.BindingResult result)
    • getSyntheticService

      public SyntheticService getSyntheticService()
    • setSyntheticService

      public void setSyntheticService(SyntheticService syntheticService)