Class RevisionResource

java.lang.Object
org.fenixedu.bennu.core.rest.JsonAwareResource
org.fenixedu.bennu.core.rest.BennuRestResource
org.fenixedu.cms.api.resource.RevisionResource

@Path("/cms/versions") public class RevisionResource extends org.fenixedu.bennu.core.rest.BennuRestResource
  • Field Summary

    Fields inherited from class org.fenixedu.bennu.core.rest.JsonAwareResource

    advice$innerCreate, advice$innerUpdate
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.google.gson.JsonElement
     

    Methods inherited from class org.fenixedu.bennu.core.rest.BennuRestResource

    accessControl, accessControl, ok, readDomainObject, verifyAndGetRequestAuthor

    Methods inherited from class org.fenixedu.bennu.core.rest.JsonAwareResource

    create, create, getBuilder, merge, parse, setDefault, toJson, update, update, view, view, view, view, view, view, viewPaginated, viewPaginated, viewPaginated

    Methods inherited from class java.lang.Object

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

    • RevisionResource

      public RevisionResource()
  • Method Details

    • getVersion

      @GET @Produces("application/json") @Path("/{oid}") public com.google.gson.JsonElement getVersion(@PathParam("oid") PostContentRevision revision)