Interface ServiceSurvey
-
- All Superinterfaces:
org.fusesource.restygwt.client.RestService
@Path("/mobile/survey") public interface ServiceSurvey extends org.fusesource.restygwt.client.RestService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
getSurvey(String appId, String id, org.fusesource.restygwt.client.MethodCallback<SurveyDetailDTO> callback)
void
getSurveys(String appId, org.fusesource.restygwt.client.MethodCallback<List<SurveyDTO>> callback)
void
saveSurvey(String appId, SurveyDetailDTO data, org.fusesource.restygwt.client.MethodCallback<Void> callback)
-
-
-
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)
-
-