Package de.dlr.proseo.archivemgr.rest
Klasse ArchiveControllerDecorator
java.lang.Object
de.dlr.proseo.archivemgr.rest.ArchiveControllerDecorator
- Alle implementierten Schnittstellen:
ArchiveController
@RestController
@RequestMapping(value="/proseo/archive-mgr/{version}/archives",
produces="application/json")
@Validated
public class ArchiveControllerDecorator
extends Object
implements ArchiveController
No description
(Generated with springmvc-raml-parser v.2.0.5)
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungorg.springframework.http.ResponseEntity
<RestProductArchive> createArchive
(@Valid RestProductArchive restProductArchive) Create a product archive from the given Json objectorg.springframework.http.ResponseEntity
<?> Delete a product archive by IDorg.springframework.http.ResponseEntity
<RestProductArchive> getArchiveById
(Long id) Find the product archive with the given IDorg.springframework.http.ResponseEntity
<List<RestProductArchive>> getArchives
(String code) List of all product archives with no search criteriaorg.springframework.http.ResponseEntity
<RestProductArchive> modifyArchive
(Long id, RestProductArchive restProductArchive) Update the product archive with the given ID with the attribute values of the given Json object.
-
Konstruktordetails
-
ArchiveControllerDecorator
public ArchiveControllerDecorator()
-
-
Methodendetails
-
getArchives
@RequestMapping(value="", method=GET) public org.springframework.http.ResponseEntity<List<RestProductArchive>> getArchives(@RequestParam(required=false) String code) List of all product archives with no search criteria- Angegeben von:
getArchives
in SchnittstelleArchiveController
-
createArchive
@RequestMapping(value="", method=POST) public org.springframework.http.ResponseEntity<RestProductArchive> createArchive(@Valid @RequestBody @Valid RestProductArchive restProductArchive) Create a product archive from the given Json object- Angegeben von:
createArchive
in SchnittstelleArchiveController
-
getArchiveById
@RequestMapping(value="/{id}", method=GET) public org.springframework.http.ResponseEntity<RestProductArchive> getArchiveById(@PathVariable Long id) Find the product archive with the given ID- Angegeben von:
getArchiveById
in SchnittstelleArchiveController
-
deleteArchiveById
@RequestMapping(value="/{id}", method=DELETE) public org.springframework.http.ResponseEntity<?> deleteArchiveById(@PathVariable Long id) Delete a product archive by ID- Angegeben von:
deleteArchiveById
in SchnittstelleArchiveController
-
modifyArchive
@RequestMapping(value="/{id}", method=PATCH) public org.springframework.http.ResponseEntity<RestProductArchive> modifyArchive(@PathVariable Long id, @RequestBody RestProductArchive restProductArchive) Update the product archive with the given ID with the attribute values of the given Json object.- Angegeben von:
modifyArchive
in SchnittstelleArchiveController
-