Package de.dlr.proseo.model.rest
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.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.
-
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:
getOrbitsin interfaceOrbitController
-
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:
createOrbitsin interfaceOrbitController
-
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:
countOrbitsin interfaceOrbitController
-
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:
getOrbitByIdin interfaceOrbitController
-
deleteOrbitById
@RequestMapping(value="/{id}", method=DELETE) public org.springframework.http.ResponseEntity<?> deleteOrbitById(@PathVariable Long id) Deletes the orbit with the given ID.- Specified by:
deleteOrbitByIdin interfaceOrbitController
-
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:
modifyOrbitin interfaceOrbitController
-