Class ServiceSurvey

java.lang.Object
org.silverpeas.core.web.rs.RESTWebService
org.silverpeas.mobile.server.services.AbstractRestWebService
org.silverpeas.mobile.server.services.ServiceSurvey
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/survey/{appId}") public class ServiceSurvey extends AbstractRestWebService
Service de gestion des news.
Author:
svu
  • Constructor Details

    • ServiceSurvey

      public ServiceSurvey()
  • Method Details

    • getSurveys

      @GET @Produces("application/json") @Path("all/") public List<SurveyDTO> getSurveys()
    • saveSurvey

      @POST @Produces("application/json") @Consumes("application/json") @Path("") public void saveSurvey(SurveyDetailDTO data)
    • getSurvey

      @GET @Produces("application/json") @Path("{id}/") public SurveyDetailDTO getSurvey(@PathParam("id") String id)
    • getResourceBasePath

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

      public String getComponentId()