Package de.dlr.proseo.procmgr.rest
Class ConfigurationControllerDecorator
java.lang.Object
de.dlr.proseo.procmgr.rest.ConfigurationControllerDecorator
- All Implemented Interfaces:
ConfigurationController
@RestController
@RequestMapping(value="/proseo/processor-mgr/{version}/configurations",
produces="application/json")
@Validated
public class ConfigurationControllerDecorator
extends Object
implements ConfigurationController
No description
(Generated with springmvc-raml-parser v.2.0.5)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<?> countConfigurations(String mission, Long id, String[] processorName, String configurationVersion, String[] productQuality, String[] processingMode) Count the configurations matching the specified mission, processor name, and configuration version.org.springframework.http.ResponseEntity<RestConfiguration> createConfiguration(@Valid RestConfiguration restConfiguration) Create a new configurationorg.springframework.http.ResponseEntity<?> Delete a configuration by IDorg.springframework.http.ResponseEntity<RestConfiguration> Get a configuration by IDorg.springframework.http.ResponseEntity<List<RestConfiguration>> getConfigurations(String mission, Long id, String[] processorName, String configurationVersion, String[] productQuality, String[] processingMode, Integer recordFrom, Integer recordTo, String[] orderBy) Get configurations by mission, processor name and configuration versionorg.springframework.http.ResponseEntity<RestConfiguration> modifyConfiguration(Long id, RestConfiguration restConfiguration) Update a configuration by ID
-
Constructor Details
-
ConfigurationControllerDecorator
public ConfigurationControllerDecorator()
-
-
Method Details
-
getConfigurations
@RequestMapping(value="", method=GET) public org.springframework.http.ResponseEntity<List<RestConfiguration>> getConfigurations(@RequestParam(required=false) String mission, @RequestParam(required=false) Long id, @RequestParam(required=false) String[] processorName, @RequestParam(required=false) String configurationVersion, @RequestParam(required=false) String[] productQuality, @RequestParam(required=false) String[] processingMode, @RequestParam(required=false) Integer recordFrom, @RequestParam(required=false) Integer recordTo, @RequestParam(required=false) String[] orderBy) Get configurations by mission, processor name and configuration version- Specified by:
getConfigurationsin interfaceConfigurationController
-
createConfiguration
@RequestMapping(value="", method=POST) public org.springframework.http.ResponseEntity<RestConfiguration> createConfiguration(@Valid @RequestBody @Valid RestConfiguration restConfiguration) Create a new configuration- Specified by:
createConfigurationin interfaceConfigurationController
-
countConfigurations
@RequestMapping(value="/count", method=GET) public org.springframework.http.ResponseEntity<?> countConfigurations(@RequestParam(required=false) String mission, @RequestParam(required=false) Long id, @RequestParam(required=false) String[] processorName, @RequestParam(required=false) String configurationVersion, @RequestParam(required=false) String[] productQuality, @RequestParam(required=false) String[] processingMode) Count the configurations matching the specified mission, processor name, and configuration version.- Specified by:
countConfigurationsin interfaceConfigurationController
-
getConfigurationById
@RequestMapping(value="/{id}", method=GET) public org.springframework.http.ResponseEntity<RestConfiguration> getConfigurationById(@PathVariable Long id) Get a configuration by ID- Specified by:
getConfigurationByIdin interfaceConfigurationController
-
deleteConfigurationById
@RequestMapping(value="/{id}", method=DELETE) public org.springframework.http.ResponseEntity<?> deleteConfigurationById(@PathVariable Long id) Delete a configuration by ID- Specified by:
deleteConfigurationByIdin interfaceConfigurationController
-
modifyConfiguration
@RequestMapping(value="/{id}", method=PATCH) public org.springframework.http.ResponseEntity<RestConfiguration> modifyConfiguration(@PathVariable Long id, @RequestBody RestConfiguration restConfiguration) Update a configuration by ID- Specified by:
modifyConfigurationin interfaceConfigurationController
-