Package com.sodius.oslc.app.dng.requests
Class UpdateCollection
- java.lang.Object
-
- com.sodius.oslc.client.requests.AbstractResourceRequest<ResourceResponse<R>>
-
- com.sodius.oslc.client.requests.PutResource<DngCollection,Void>
-
- com.sodius.oslc.app.dng.requests.UpdateCollection
-
- All Implemented Interfaces:
ResourceRequest<ResourceResponse<Void>>
,Callable<ResourceResponse<Void>>
public class UpdateCollection extends PutResource<DngCollection,Void>
A request to update the content of a DOORS Next Collection.
-
-
Constructor Summary
Constructors Constructor Description UpdateCollection(OslcClient client, URI uri, String eTag, DngCollection collection)
Creates a request to update the content of a DOORS Next Collection.
-
Method Summary
-
Methods inherited from class com.sodius.oslc.client.requests.PutResource
call, createResponse
-
Methods inherited from class com.sodius.oslc.client.requests.AbstractResourceRequest
call, createErrorResponse, createResourceResponse, getClient, getUri
-
-
-
-
Constructor Detail
-
UpdateCollection
public UpdateCollection(OslcClient client, URI uri, String eTag, DngCollection collection)
Creates a request to update the content of a DOORS Next Collection.- Parameters:
client
- the OSLC client to connect to the application.uri
- the URI of a DOORS Next collection. A oslc_config.context parameter can be added to this URI for using a specific configuration.eTag
- the ETag header of the existing collection, as provided in the response of the collection reading.collection
- the content of the collection to put in the existing resource.- See Also:
ResourceResponse.getETag()
-
-