Interface ServiceSurvey

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

    @Path("/mobile/survey")
    public interface ServiceSurvey
    extends org.fusesource.restygwt.client.RestService
    • Method Detail

      • getSurveys

        @GET
        @Produces("application/json")
        @Path("{appId}/all")
        void getSurveys​(@PathParam("appId")
                        String appId,
                        org.fusesource.restygwt.client.MethodCallback<List<SurveyDTO>> callback)
      • getSurvey

        @GET
        @Produces("application/json")
        @Path("{appId}/{id}")
        void getSurvey​(@PathParam("appId")
                       String appId,
                       @PathParam("id")
                       String id,
                       org.fusesource.restygwt.client.MethodCallback<SurveyDetailDTO> callback)
      • saveSurvey

        @POST
        @Produces("application/json")
        @Consumes("application/json")
        @Path("{appId}/")
        void saveSurvey​(@PathParam("appId")
                        String appId,
                        SurveyDetailDTO data,
                        org.fusesource.restygwt.client.MethodCallback<Void> callback)