Class OrbitControllerDecorator

java.lang.Object
de.dlr.proseo.model.rest.OrbitControllerDecorator
All Implemented Interfaces:
OrbitController

@RestController @RequestMapping(value="/proseo/order-mgr/{version}/orbits", produces="application/json") @Validated public class OrbitControllerDecorator extends Object implements OrbitController
No description (Generated with springmvc-raml-parser v.2.0.5)
  • Constructor Details

    • OrbitControllerDecorator

      public OrbitControllerDecorator()
  • Method Details

    • getOrbits

      @RequestMapping(value="", method=GET) public org.springframework.http.ResponseEntity<List<RestOrbit>> getOrbits(@RequestParam String spacecraftCode, @RequestParam(required=false) Long orbitNumberFrom, @RequestParam(required=false) Long orbitNumberTo, @RequestParam(required=false) String startTimeFrom, @RequestParam(required=false) String startTimeTo, @RequestParam(required=false) Integer recordFrom, @RequestParam(required=false) Integer recordTo, @RequestParam(required=false) String[] orderBy)
      Retrieves a list of all orbits filtered by spacecraft code, orbit number range, and start time range.
      Specified by:
      getOrbits in interface OrbitController
    • createOrbits

      @RequestMapping(value="", method=POST) public org.springframework.http.ResponseEntity<List<RestOrbit>> createOrbits(@Valid @RequestBody @Valid List<RestOrbit> restOrbit)
      Creates one or more orbits based on the provided JSON objects.
      Specified by:
      createOrbits in interface OrbitController
    • countOrbits

      @RequestMapping(value="/count", method=GET) public org.springframework.http.ResponseEntity<?> countOrbits(@RequestParam String spacecraftCode, @RequestParam(required=false) Long orbitNumberFrom, @RequestParam(required=false) Long orbitNumberTo, @RequestParam(required=false) String startTimeFrom, @RequestParam(required=false) String startTimeTo)
      Retrieves the number of orbits matching the specified search criteria.
      Specified by:
      countOrbits in interface OrbitController
    • getOrbitById

      @RequestMapping(value="/{id}", method=GET) public org.springframework.http.ResponseEntity<RestOrbit> getOrbitById(@PathVariable Long id)
      Retrieves the orbit with the given ID.
      Specified by:
      getOrbitById in interface OrbitController
    • deleteOrbitById

      @RequestMapping(value="/{id}", method=DELETE) public org.springframework.http.ResponseEntity<?> deleteOrbitById(@PathVariable Long id)
      Deletes the orbit with the given ID.
      Specified by:
      deleteOrbitById in interface OrbitController
    • modifyOrbit

      @RequestMapping(value="/{id}", method=PATCH) public org.springframework.http.ResponseEntity<RestOrbit> modifyOrbit(@PathVariable Long id, @RequestBody RestOrbit restOrbit)
      Updates the orbit with the given ID using the attribute values from the provided JSON object.
      Specified by:
      modifyOrbit in interface OrbitController