Interface ServiceFaq

  • All Superinterfaces:
    org.fusesource.restygwt.client.RestService

    @Path("/mobile/faq")
    public interface ServiceFaq
    extends org.fusesource.restygwt.client.RestService
    Author:
    svu
    • Method Detail

      • getAllQuestions

        @GET
        @Path("{appId}/question/all")
        void getAllQuestions​(@PathParam("appId")
                             String appId,
                             org.fusesource.restygwt.client.MethodCallback<List<QuestionDTO>> callback)
      • getAllCategories

        @GET
        @Path("{appId}/category/all")
        void getAllCategories​(@PathParam("appId")
                              String appId,
                              org.fusesource.restygwt.client.MethodCallback<List<CategoryDTO>> callback)
      • createQuestion

        @POST
        @Consumes("application/json")
        @Path("{appId}/question")
        void createQuestion​(@PathParam("appId")
                            String appId,
                            QuestionDetailDTO question,
                            org.fusesource.restygwt.client.MethodCallback<QuestionDetailDTO> callback)