Class 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 Detail

      • ServiceClassifieds

        public ServiceClassifieds()
    • Method Detail

      • getClassified

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

        @POST
        @Produces("application/json")
        @Consumes("application/json")
        @Path("{instanceId}/{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()