Class DisplayResource

    • Constructor Detail

      • DisplayResource

        public DisplayResource()
    • Method Detail

      • getUserContext

        @GET
        @Path("userContext")
        @Produces("application/json")
        public DisplayUserContextEntity getUserContext()
        Gets the JSON representation of the user display context. If it doesn't exist, a 404 HTTP code is returned. If the user isn't authentified, a 401 HTTP code is returned. If the user isn't authorized to access the space, a 403 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 display context.
      • 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.