Class ComponentsResource

    • Constructor Detail

      • ComponentsResource

        public ComponentsResource()
    • Method Detail

      • getComponentsByFilterOrParameterValue

        @GET
        @Produces("application/json")
        public Collection<ComponentEntity> getComponentsByFilterOrParameterValue​(@QueryParam("filter")
                                                                                 String filter,
                                                                                 @QueryParam("param")
                                                                                 String param,
                                                                                 @QueryParam("value")
                                                                                 String value)
        Gets the JSON representation of the existing ComponentInstLight known as "image banks". If the user isn't authentified, a 401 HTTP code is returned. If a problem occurs when processing the request, a 503 HTTP code is returned.
        Returns:
        the response to the HTTP GET request with the JSON representation of the ComponentInstLight.
      • getComponentId

        public String getComponentId()
        Description copied from interface: SilverpeasWebResource
        Gets the identifier of the component instance to which the requested resource belongs to.
        Returns:
        the identifier of the Silverpeas component instance.