Class ReferenceEventsJsonController

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

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

  • Method Details

    • getReferenceEvents

      @GetMapping(name="getReferenceEvents") public List<ReferenceMwParameters> getReferenceEvents()
    • createBatch

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

      @PostMapping(value={"/delete/batch-by-evids","/delete/batch-by-evids/"}, name="deleteBatchByEvids") public org.springframework.http.ResponseEntity<?> deleteBatchByEvids(@Valid @RequestBody @Valid Collection<String> eventIds, org.springframework.validation.BindingResult result)
    • getService

      public ReferenceMwParametersService getService()
    • setService

      public void setService(ReferenceMwParametersService service)