Class VersionService

All Implemented Interfaces:
AdapterResource, Resource, Adaptable

public class VersionService extends DefaultAdapter
Version Service - manage document versions TODO not yet implemented

Accepts the following methods:

  • GET - get the last document version
  • DELETE - delete a version
  • POST - create a new version
Author:
Bogdan Stefanescu
  • Constructor Details

    • VersionService

      public VersionService()
  • Method Details

    • doGet

      @GET public Template doGet()
    • getLastVersion

      @Path("last") public DocumentObject getLastVersion()
    • getVersion

      @Path("{label}") public DocumentObject getVersion(@PathParam("label") String label)
    • doPost

      @POST public Void doPost()