Class SiteFrequencyBandParametersCollectionJsonController
java.lang.Object
gov.llnl.gnem.apps.coda.calibration.application.web.SiteFrequencyBandParametersCollectionJsonController
@RestController
@CrossOrigin
@RequestMapping(value={"/api/v1/params/site-fb-parameters","/api/v1/params/site-fb-parameters/"},
name="SiteFrequencyBandParametersCollectionJsonController",
produces="application/json")
public class SiteFrequencyBandParametersCollectionJsonController
extends Object
-
Constructor Summary
ConstructorDescriptionSiteFrequencyBandParametersCollectionJsonController
(SiteFrequencyBandParametersService siteFrequencyBandParametersService) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<?>
create
(@Valid SiteFrequencyBandParameters siteFrequencyBandParameters, org.springframework.validation.BindingResult result) org.springframework.http.ResponseEntity<?>
deleteBatch
(Collection<Long> ids) org.springframework.http.ResponseEntity<List<SiteFrequencyBandParameters>>
list()
static org.springframework.web.util.UriComponents
listURI()
void
setSiteFrequencyBandParametersService
(SiteFrequencyBandParametersService siteFrequencyBandParametersService) org.springframework.http.ResponseEntity<?>
updateBatch
(@Valid Collection<SiteFrequencyBandParameters> siteFrequencyBandParameters, org.springframework.validation.BindingResult result)
-
Constructor Details
-
SiteFrequencyBandParametersCollectionJsonController
@Autowired public SiteFrequencyBandParametersCollectionJsonController(SiteFrequencyBandParametersService siteFrequencyBandParametersService)
-
-
Method Details
-
getSiteFrequencyBandParametersService
-
setSiteFrequencyBandParametersService
public void setSiteFrequencyBandParametersService(SiteFrequencyBandParametersService siteFrequencyBandParametersService) -
list
@GetMapping(name="list") public org.springframework.http.ResponseEntity<List<SiteFrequencyBandParameters>> list() -
listURI
public static org.springframework.web.util.UriComponents listURI() -
create
@PostMapping(name="create") public org.springframework.http.ResponseEntity<?> create(@Valid @RequestBody @Valid SiteFrequencyBandParameters siteFrequencyBandParameters, org.springframework.validation.BindingResult result) -
updateBatch
@PostMapping(value={"/batch","/batch/"}, name="updateBatch") public org.springframework.http.ResponseEntity<?> updateBatch(@Valid @RequestBody @Valid Collection<SiteFrequencyBandParameters> siteFrequencyBandParameters, org.springframework.validation.BindingResult result) -
deleteBatch
@DeleteMapping(value="/batch/{ids}", name="deleteBatch") public org.springframework.http.ResponseEntity<?> deleteBatch(@PathVariable("ids") Collection<Long> ids)
-