Class DeleteUserGroup
- java.lang.Object
-
- com.sodius.oslc.client.requests.AbstractResourceRequest<ResourceResponse<Void>>
-
- com.sodius.oslc.client.requests.DeleteResource
-
- com.sodius.oslc.app.jazz.lqe.requests.DeleteUserGroup
-
- All Implemented Interfaces:
ResourceRequest<ResourceResponse<Void>>
,Callable<ResourceResponse<Void>>
public class DeleteUserGroup extends DeleteResource
Deletes a group in LQE.- Since:
- 1.11.0
-
-
Constructor Summary
Constructors Constructor Description DeleteUserGroup(OslcClient client, URI uri, String eTag)
Creates a request to delete a LQE group.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ClientResponse
call(OslcResource resource)
Executes a DELETE request on the resource.-
Methods inherited from class com.sodius.oslc.client.requests.DeleteResource
createResponse
-
Methods inherited from class com.sodius.oslc.client.requests.AbstractResourceRequest
call, createErrorResponse, createResourceResponse, getClient, getUri
-
-
-
-
Constructor Detail
-
DeleteUserGroup
public DeleteUserGroup(OslcClient client, URI uri, String eTag)
Creates a request to delete a LQE group.- Parameters:
client
- the OSLC client to connect to the application.uri
- the group URLeTag
- the ETag header obtained in theGetUserGroup
response
-
-
Method Detail
-
call
protected ClientResponse call(OslcResource resource)
Description copied from class:DeleteResource
Executes a DELETE request on the resource.An
OSLC-Core-Version
header is set to2.0
, as the DELETE is expected to execute on an OSLC resource. Clients should subclassAbstractResourceRequest
to execute a DELETE on a non-OSLC resource.- Overrides:
call
in classDeleteResource
- Parameters:
resource
- the resource on which to execute a request.- Returns:
- the response of the request execution.
-
-