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)
  • 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 Schnittstelle MissionController
    • 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 Schnittstelle MissionController
    • 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 Schnittstelle MissionController
    • 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 Schnittstelle MissionController
    • 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 Schnittstelle MissionController