Class ServiceFaq

java.lang.Object
org.silverpeas.core.web.rs.RESTWebService
org.silverpeas.mobile.server.services.AbstractRestWebService
org.silverpeas.mobile.server.services.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 Details

    • ServiceFaq

      public ServiceFaq()
  • Method Details

    • 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)