Class ServiceClassifieds

java.lang.Object
org.silverpeas.core.web.rs.RESTWebService
org.silverpeas.mobile.server.services.AbstractRestWebService
org.silverpeas.mobile.server.services.ServiceClassifieds
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/classifieds/{appId}") public class ServiceClassifieds extends AbstractRestWebService
  • Constructor Details

    • ServiceClassifieds

      public ServiceClassifieds()
  • Method Details

    • getClassified

      @GET @Produces("application/json") @Path("{Id}") public ClassifiedsDTO getClassified(@PathParam("Id") String id)
    • sendMessageToOwner

      @POST @Produces("application/json") @Consumes("application/json") @Path("/{message}") public void sendMessageToOwner(@PathParam("message") String message, ClassifiedDTO dto)
    • getClassifieds

      @GET @Produces("application/json") @Path("all") public ClassifiedsDTO getClassifieds()
    • getResourceBasePath

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

      public String getComponentId()