Class GetDataGroupPermissions
java.lang.Object
com.sodius.oslc.client.requests.AbstractResourceRequest<ResourceResponse<T>>
com.sodius.oslc.client.requests.GetResource<DataGroupPermissions>
com.sodius.oslc.app.jazz.lqe.requests.GetDataGroupPermissions
- All Implemented Interfaces:
ResourceRequest<ResourceResponse<DataGroupPermissions>>,Callable<ResourceResponse<DataGroupPermissions>>
Gets the permissions of a data group.
- Since:
- 1.11.0
-
Constructor Summary
ConstructorsConstructorDescriptionGetDataGroupPermissions(OslcClient client, URI uri) Creates a request to get the permissions of a LQE data group. -
Method Summary
Modifier and TypeMethodDescriptionprotected ResourceResponse<DataGroupPermissions>createResponse(OslcResource resource, ClientResponse response) Extracts aResourceResponseinstance from the obtained HTTP response.Methods inherited from class com.sodius.oslc.client.requests.GetResource
call, getMethods inherited from class com.sodius.oslc.client.requests.AbstractResourceRequest
call, createErrorResponse, createResourceResponse, getClient, getUri
-
Constructor Details
-
GetDataGroupPermissions
Creates a request to get the permissions of a LQE data group.- Parameters:
client- the OSLC client to connect to the application.uri- the user group URL
-
-
Method Details
-
createResponse
protected ResourceResponse<DataGroupPermissions> createResponse(OslcResource resource, ClientResponse response) Description copied from class:GetResourceExtracts aResourceResponseinstance from the obtained HTTP response. The response contains the response headers, from which theETagheader can be extracted in case this request is to follow by aPUT.- Overrides:
createResponsein classGetResource<DataGroupPermissions>- Parameters:
resource- the resource on which a request is executed.response- the response obtained.- Returns:
- the extraction of the response content into the expected format.
-