Class UpdateUserGroupMembers

    • Constructor Detail

      • UpdateUserGroupMembers

        public UpdateUserGroupMembers​(OslcClient client,
                                      URI uri,
                                      String eTag,
                                      Collection<User> users)
        Creates a request to update the members of a LQE group.
        Parameters:
        client - the OSLC client to connect to the application.
        uri - the group URL, as defined by UserGroup.getMembers()
        eTag - the ETag header obtained in the GetUserGroups response
        users - the new list of members to assign to the group
        See Also:
        UserGroup.getMembers()
    • Method Detail

      • call

        protected ClientResponse call​(OslcResource resource)
        Description copied from class: PutResource
        Executes a PUT request on the resource.

        An OSLC-Core-Version header is set to 2.0, as the PUT is expected to execute on an OSLC resource. Clients should subclass AbstractResourceRequest to execute a PUT on a non-OSLC resource.

        Overrides:
        call in class PutResource<jakarta.json.JsonArray,​Void>
        Parameters:
        resource - the resource on which to execute a request.
        Returns:
        the response of the request execution.