Class ServiceFaq

  • 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/faq/{appId}")
    public class ServiceFaq
    extends AbstractRestWebService
    • Constructor Detail

      • ServiceFaq

        public ServiceFaq()
    • Method Detail

      • createQuestion

        @POST
        @Path("question")
        @Consumes("application/json")
        @Produces("application/json")
        public QuestionDetailDTO createQuestion​(QuestionDetailDTO question)
      • getAllQuestions

        @GET
        @Path("question/all")
        @Consumes("application/json")
        @Produces("application/json")
        public List<QuestionDTO> getAllQuestions()
      • getAllCategories

        @GET
        @Path("category/all")
        @Consumes("application/json")
        @Produces("application/json")
        public List<CategoryDTO> getAllCategories()
      • getResourceBasePath

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

        public String getComponentId()
      • getComponentParameterValue

        public String getComponentParameterValue​(String parameterName)