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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<?>
createBatch
(@Valid Collection<ReferenceMwParameters> referenceEvents, org.springframework.validation.BindingResult result) org.springframework.http.ResponseEntity<?>
deleteBatchByEvids
(@Valid Collection<String> eventIds, org.springframework.validation.BindingResult result) void
setService
(ReferenceMwParametersService service)
-
Constructor Details
-
ReferenceEventsJsonController
-
-
Method Details
-
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
-
setService
-