Class RetrievedDocumentSet
java.lang.Object
org.openehealth.ipf.commons.ihe.xds.core.responses.Response
org.openehealth.ipf.commons.ihe.xds.core.responses.RetrievedDocumentSet
- All Implemented Interfaces:
Serializable
Documents returned by the Retrieve Document Set transaction.
Lists are pre-created and can therefore never be null
.
- Author:
- Jens Riemschneider
- See Also:
-
Constructor Summary
ConstructorDescriptionConstructs the response.RetrievedDocumentSet
(Throwable throwable, ErrorCode defaultMetaDataError, ErrorCode defaultError, String location) Constructs an error response object with the data from an exception.RetrievedDocumentSet
(Status status) Constructs the response.RetrievedDocumentSet
(Status status, List<RetrievedDocument> documents) Constructs the response. -
Method Summary
-
Constructor Details
-
RetrievedDocumentSet
public RetrievedDocumentSet()Constructs the response. -
RetrievedDocumentSet
Constructs the response.- Parameters:
status
- the status of the request execution.
-
RetrievedDocumentSet
Constructs the response.- Parameters:
status
- the status of the request execution.documents
- the documents to add to this set.
-
RetrievedDocumentSet
public RetrievedDocumentSet(Throwable throwable, ErrorCode defaultMetaDataError, ErrorCode defaultError, String location) Constructs an error response object with the data from an exception.- Parameters:
throwable
- the exception that occurred.defaultMetaDataError
- the default error code forXDSMetaDataException
.defaultError
- the default error code for any other exception.location
- error location.
-
-
Method Details