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