Class UpdateUserGroupMembers
java.lang.Object
com.sodius.oslc.client.requests.AbstractResourceRequest<ResourceResponse<R>>
com.sodius.oslc.client.requests.PutResource<JsonArray,Void>
com.sodius.oslc.app.jazz.lqe.requests.UpdateUserGroupMembers
- All Implemented Interfaces:
ResourceRequest<ResourceResponse<Void>>,Callable<ResourceResponse<Void>>
Updates the members of a group in LQE.
- Since:
- 1.11.0
-
Constructor Summary
ConstructorsConstructorDescriptionUpdateUserGroupMembers(OslcClient client, URI uri, String eTag, Collection<User> users) Creates a request to update the members of a LQE group. -
Method Summary
Modifier and TypeMethodDescriptionprotected ClientResponsecall(OslcResource resource) Executes a PUT request on the resource.Methods inherited from class com.sodius.oslc.client.requests.PutResource
createResponseMethods inherited from class com.sodius.oslc.client.requests.AbstractResourceRequest
call, createErrorResponse, createResourceResponse, getClient, getUri
-
Constructor Details
-
UpdateUserGroupMembers
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 byUserGroup.getMembers()eTag- the ETag header obtained in theGetUserGroupsresponseusers- the new list of members to assign to the group- See Also:
-
-
Method Details
-
call
Description copied from class:PutResourceExecutes a PUT request on the resource.An
OSLC-Core-Versionheader is set to2.0, as the PUT is expected to execute on an OSLC resource. Clients should subclassAbstractResourceRequestto execute a PUT on a non-OSLC resource.- Overrides:
callin classPutResource<JsonArray,Void> - Parameters:
resource- the resource on which to execute a request.- Returns:
- the response of the request execution.
-