Class MdacParametersPsCollectionJsonController
java.lang.Object
gov.llnl.gnem.apps.coda.calibration.application.web.MdacParametersPsCollectionJsonController
@RestController
@CrossOrigin
@RequestMapping(value={"/api/v1/params/ps","/api/v1/params/ps/"},
name="MdacParametersPsCollectionJsonController",
produces="application/json")
public class MdacParametersPsCollectionJsonController
extends Object
-
Constructor Summary
ConstructorDescriptionMdacParametersPsCollectionJsonController
(MdacParametersPsService mdacParametersService) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<?>
create
(@Valid MdacParametersPS mdacParameters, org.springframework.validation.BindingResult result) org.springframework.http.ResponseEntity<?>
createBatch
(@Valid Collection<MdacParametersPS> mdacParameters, org.springframework.validation.BindingResult result) org.springframework.http.ResponseEntity<?>
deleteBatch
(Collection<Long> ids) org.springframework.http.ResponseEntity<List<MdacParametersPS>>
list()
static org.springframework.web.util.UriComponents
listURI()
void
setMdacParametersService
(MdacParametersPsService mdacParametersService) org.springframework.http.ResponseEntity<?>
update
(@Valid MdacParametersPS entry, org.springframework.validation.BindingResult result) org.springframework.http.ResponseEntity<?>
updateBatch
(@Valid Collection<MdacParametersPS> mdacParameters, org.springframework.validation.BindingResult result)
-
Constructor Details
-
MdacParametersPsCollectionJsonController
@Autowired public MdacParametersPsCollectionJsonController(MdacParametersPsService mdacParametersService)
-
-
Method Details
-
getMdacParametersService
-
setMdacParametersService
-
list
@GetMapping(name="list") public org.springframework.http.ResponseEntity<List<MdacParametersPS>> list() -
listURI
public static org.springframework.web.util.UriComponents listURI() -
create
@PostMapping(name="create") public org.springframework.http.ResponseEntity<?> create(@Valid @RequestBody @Valid MdacParametersPS mdacParameters, org.springframework.validation.BindingResult result) -
createBatch
@PostMapping(value={"/batch","/batch/"}, name="createBatch") public org.springframework.http.ResponseEntity<?> createBatch(@Valid @RequestBody @Valid Collection<MdacParametersPS> mdacParameters, org.springframework.validation.BindingResult result) -
update
@PostMapping(value={"/update","/update/"}, name="update") public org.springframework.http.ResponseEntity<?> update(@Valid @RequestBody @Valid MdacParametersPS entry, org.springframework.validation.BindingResult result) -
updateBatch
@PutMapping(value={"/batch","/batch/"}, name="updateBatch") public org.springframework.http.ResponseEntity<?> updateBatch(@Valid @RequestBody @Valid Collection<MdacParametersPS> mdacParameters, org.springframework.validation.BindingResult result) -
deleteBatch
@DeleteMapping(value="/batch/{ids}", name="deleteBatch") public org.springframework.http.ResponseEntity<?> deleteBatch(@PathVariable("ids") Collection<Long> ids)
-