Class ServiceBlog

  • All Implemented Interfaces:
    org.silverpeas.core.web.rs.ProtectedWebResource, org.silverpeas.core.web.rs.WebAuthenticationValidation, org.silverpeas.core.web.rs.WebAuthorizationValidation, org.silverpeas.core.web.SilverpeasWebResource

    @WebService
    @Authorized
    @Path("mobile/blog/{appId}")
    public class ServiceBlog
    extends AbstractRestWebService
    • Constructor Detail

      • ServiceBlog

        public ServiceBlog()
    • Method Detail

      • getPosts

        @GET
        @Produces("application/json")
        @Path("category/{categoryId}")
        public List<PostDTO> getPosts​(@PathParam("categoryId")
                                      String categoryId)
      • getResourceBasePath

        protected String getResourceBasePath()
        Specified by:
        getResourceBasePath in class org.silverpeas.core.web.rs.RESTWebService
      • getComponentId

        public String getComponentId()