Package de.dlr.proseo.model.rest
Klasse MissionControllerDecorator
java.lang.Object
de.dlr.proseo.model.rest.MissionControllerDecorator
- Alle implementierten Schnittstellen:
MissionController
@RestController
@RequestMapping(value="/proseo/order-mgr/{version}/missions",
produces="application/json")
@Validated
public class MissionControllerDecorator
extends Object
implements MissionController
No description
(Generated with springmvc-raml-parser v.2.0.5)
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungorg.springframework.http.ResponseEntity
<RestMission> createMission
(@Valid RestMission restMission) Creates a new mission with the provided data.org.springframework.http.ResponseEntity
<?> deleteMissionById
(Long id, Boolean force, Boolean deleteProducts) Delete a mission by ID.org.springframework.http.ResponseEntity
<RestMission> getMissionById
(Long id) Retrieves the mission with the specified ID.org.springframework.http.ResponseEntity
<List<RestMission>> getMissions
(String mission) Retrieves a list of all missions or a mission with a specific code.org.springframework.http.ResponseEntity
<RestMission> modifyMission
(Long id, RestMission restMission) Updates the mission with the specified ID using the attribute values of the given JSON object.
-
Konstruktordetails
-
MissionControllerDecorator
public MissionControllerDecorator()
-
-
Methodendetails
-
getMissions
@RequestMapping(value="", method=GET) public org.springframework.http.ResponseEntity<List<RestMission>> getMissions(@RequestParam(required=false) String mission) Retrieves a list of all missions or a mission with a specific code.- Angegeben von:
getMissions
in SchnittstelleMissionController
-
createMission
@RequestMapping(value="", method=POST) public org.springframework.http.ResponseEntity<RestMission> createMission(@Valid @RequestBody @Valid RestMission restMission) Creates a new mission with the provided data.- Angegeben von:
createMission
in SchnittstelleMissionController
-
getMissionById
@RequestMapping(value="/{id}", method=GET) public org.springframework.http.ResponseEntity<RestMission> getMissionById(@PathVariable Long id) Retrieves the mission with the specified ID.- Angegeben von:
getMissionById
in SchnittstelleMissionController
-
deleteMissionById
@RequestMapping(value="/{id}", method=DELETE) public org.springframework.http.ResponseEntity<?> deleteMissionById(@PathVariable Long id, @RequestParam(required=false,defaultValue="false") Boolean force, @RequestParam(name="delete-products",required=false,defaultValue="false") Boolean deleteProducts) Delete a mission by ID.- Angegeben von:
deleteMissionById
in SchnittstelleMissionController
-
modifyMission
@RequestMapping(value="/{id}", method=PATCH) public org.springframework.http.ResponseEntity<RestMission> modifyMission(@PathVariable Long id, @RequestBody RestMission restMission) Updates the mission with the specified ID using the attribute values of the given JSON object.- Angegeben von:
modifyMission
in SchnittstelleMissionController
-