Class ListNodeResource

    • Constructor Detail

      • ListNodeResource

        public ListNodeResource()
    • Method Detail

      • 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.
      • updateListNode

        @PUT
        @Consumes("application/json")
        @Produces("application/json")
        public NodeEntity[] updateListNode​(NodeEntity[] newListNode)
        Updates order of the list of Node from the JSON representation. If the user isn't authenticated, a 401 HTTP code is returned. If the user isn't authorized to save the node, a 403 is returned. If a problem occurs when processing the request, a 503 HTTP code is returned.
        Returns:
        the new list of node after update