java.lang.Object
de.digitalcollections.cudami.server.controller.identifiable.versioning.VersionController

@RestController
public class VersionController
extends java.lang.Object
  • Constructor Summary

    Constructors 
    Constructor Description
    VersionController​(VersionService versionService)  
  • Method Summary

    Modifier and Type Method Description
    de.digitalcollections.model.identifiable.versioning.Version findById​(java.util.UUID uuid)  
    de.digitalcollections.model.identifiable.versioning.Version update​(java.util.UUID uuid, de.digitalcollections.model.identifiable.versioning.Version version, org.springframework.validation.BindingResult errors)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • findById

      @GetMapping(value={"/v5/versions/{uuid}","/v2/versions/{uuid}","/latest/versions/{uuid}"}, produces="application/json") public de.digitalcollections.model.identifiable.versioning.Version findById​(@PathVariable java.util.UUID uuid)
    • update

      @PutMapping(value={"/v5/versions/{uuid}","/v2/versions/{uuid}","/latest/versions/{uuid}"}, produces="application/json") public de.digitalcollections.model.identifiable.versioning.Version update​(@PathVariable java.util.UUID uuid, @RequestBody de.digitalcollections.model.identifiable.versioning.Version version, org.springframework.validation.BindingResult errors) throws java.lang.Exception
      Throws:
      java.lang.Exception