Class ThemeResource


  • @Path("/cms/themes")
    public class ThemeResource
    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
      ThemeResource()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.google.gson.JsonElement listAllThemes()  
      com.google.gson.JsonElement listTheme​(CMSTheme theme)  
      • 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
    • Constructor Detail

      • ThemeResource

        public ThemeResource()
    • Method Detail

      • listAllThemes

        @GET
        @Produces("application/json")
        public com.google.gson.JsonElement listAllThemes()
      • listTheme

        @GET
        @Produces("application/json")
        @Path("/{oid}")
        public com.google.gson.JsonElement listTheme​(@PathParam("oid")
                                                     CMSTheme theme)