Package de.dlr.proseo.model.rest
Klasse OrbitControllerDecorator
java.lang.Object
de.dlr.proseo.model.rest.OrbitControllerDecorator
- Alle implementierten Schnittstellen:
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)
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungorg.springframework.http.ResponseEntity
<?> countOrbits
(String spacecraftCode, Long orbitNumberFrom, Long orbitNumberTo, String starttimefrom, String starttimeto) Retrieves the number of orbits matching the specified search criteria.createOrbits
(@Valid List<RestOrbit> restOrbit) Creates one or more orbits based on the provided JSON objects.org.springframework.http.ResponseEntity
<?> deleteOrbitById
(Long id) Deletes the orbit with the given ID.org.springframework.http.ResponseEntity
<RestOrbit> getOrbitById
(Long id) Retrieves the orbit with the given ID.getOrbits
(String spacecraftCode, Long orbitNumberFrom, Long orbitNumberTo, String startTimeFrom, String startTimeTo, Integer recordFrom, Integer recordTo, String[] orderBy) Retrieves a list of all orbits filtered by spacecraft code, orbit number range, and start time range.org.springframework.http.ResponseEntity
<RestOrbit> modifyOrbit
(Long id, RestOrbit restOrbit) Updates the orbit with the given ID using the attribute values from the provided JSON object.
-
Konstruktordetails
-
OrbitControllerDecorator
public OrbitControllerDecorator()
-
-
Methodendetails
-
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.- Angegeben von:
getOrbits
in SchnittstelleOrbitController
-
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.- Angegeben von:
createOrbits
in SchnittstelleOrbitController
-
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.- Angegeben von:
countOrbits
in SchnittstelleOrbitController
-
getOrbitById
@RequestMapping(value="/{id}", method=GET) public org.springframework.http.ResponseEntity<RestOrbit> getOrbitById(@PathVariable Long id) Retrieves the orbit with the given ID.- Angegeben von:
getOrbitById
in SchnittstelleOrbitController
-
deleteOrbitById
@RequestMapping(value="/{id}", method=DELETE) public org.springframework.http.ResponseEntity<?> deleteOrbitById(@PathVariable Long id) Deletes the orbit with the given ID.- Angegeben von:
deleteOrbitById
in SchnittstelleOrbitController
-
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.- Angegeben von:
modifyOrbit
in SchnittstelleOrbitController
-