Class SharedFrequencyBandParametersCollectionJsonController
java.lang.Object
gov.llnl.gnem.apps.coda.calibration.application.web.SharedFrequencyBandParametersCollectionJsonController
@RestController
@CrossOrigin
@RequestMapping(value={"/api/v1/params/shared-fb-parameters","/api/v1/params/shared-fb-parameters/"},
name="SharedFrequencyBandParametersCollectionJsonController",
produces="application/json")
public class SharedFrequencyBandParametersCollectionJsonController
extends Object
-
Constructor Summary
ConstructorDescriptionSharedFrequencyBandParametersCollectionJsonController
(SharedFrequencyBandParametersService sharedFrequencyBandParametersService) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<?>
create
(@Valid SharedFrequencyBandParameters sharedFrequencyBandParameters, org.springframework.validation.BindingResult result) org.springframework.http.ResponseEntity<?>
createBatch
(@Valid Collection<SharedFrequencyBandParameters> sharedFrequencyBandParameters, org.springframework.validation.BindingResult result) org.springframework.http.ResponseEntity<?>
delete
(@Valid SharedFrequencyBandParameters sharedFbParams, org.springframework.validation.BindingResult result) org.springframework.http.ResponseEntity<?>
deleteBatch
(Collection<Long> ids) org.springframework.http.ResponseEntity<?>
findByBand
(@Valid FrequencyBand band, org.springframework.validation.BindingResult result) org.springframework.http.ResponseEntity<List<SharedFrequencyBandParameters>>
list()
static org.springframework.web.util.UriComponents
listURI()
void
setSharedFrequencyBandParametersService
(SharedFrequencyBandParametersService sharedFrequencyBandParametersService) org.springframework.http.ResponseEntity<?>
update
(@Valid SharedFrequencyBandParameters sharedFbParams, org.springframework.validation.BindingResult result) org.springframework.http.ResponseEntity<?>
updateBatch
(@Valid Collection<SharedFrequencyBandParameters> sharedFrequencyBandParameters, org.springframework.validation.BindingResult result)
-
Constructor Details
-
Method Details
-
list
@GetMapping(name="list") public org.springframework.http.ResponseEntity<List<SharedFrequencyBandParameters>> list() -
listURI
public static org.springframework.web.util.UriComponents listURI() -
findByBand
@PostMapping(value={"/find-by-band","/find-by-band/"}, name="findByBand") public org.springframework.http.ResponseEntity<?> findByBand(@Valid @RequestBody @Valid FrequencyBand band, org.springframework.validation.BindingResult result) -
createBatch
@PutMapping(value={"/batch","/batch/"}, name="createBatch") public org.springframework.http.ResponseEntity<?> createBatch(@Valid @RequestBody @Valid Collection<SharedFrequencyBandParameters> sharedFrequencyBandParameters, org.springframework.validation.BindingResult result) -
updateBatch
@PostMapping(value={"/batch","/batch/"}, name="updateBatch") public org.springframework.http.ResponseEntity<?> updateBatch(@Valid @RequestBody @Valid Collection<SharedFrequencyBandParameters> sharedFrequencyBandParameters, org.springframework.validation.BindingResult result) -
deleteBatch
@DeleteMapping(value="/batch/{ids}", name="deleteBatch") public org.springframework.http.ResponseEntity<?> deleteBatch(@PathVariable("ids") Collection<Long> ids)