Class Iti57Service
- java.lang.Object
-
- org.openehealth.ipf.platform.camel.ihe.ws.AbstractWebService
-
- org.openehealth.ipf.platform.camel.ihe.xds.XdsRegistryRequestService<SubmitObjectsRequest>
-
- org.openehealth.ipf.platform.camel.ihe.xds.iti57.Iti57Service
-
- All Implemented Interfaces:
Iti57PortType
public class Iti57Service extends XdsRegistryRequestService<SubmitObjectsRequest> implements Iti57PortType
Service implementation for the IHE ITI-57 transaction (Update Document Set).This implementation delegates to a Camel consumer by creating an exchange.
- Author:
- Boris Stanojevic
-
-
Constructor Summary
Constructors Constructor Description Iti57Service()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RegistryResponseType
documentRegistryUpdateDocumentSet(SubmitObjectsRequest body)
Updates a set of documents according to the ITI-57 specification.protected ErrorCode
getDefaultMetadataError()
Define the ErrorCode used to indicate a error in the metadata (typically a client fault).-
Methods inherited from class org.openehealth.ipf.platform.camel.ihe.xds.XdsRegistryRequestService
processRequest
-
Methods inherited from class org.openehealth.ipf.platform.camel.ihe.ws.AbstractWebService
getConsumer, process, process, setConsumer
-
-
-
-
Method Detail
-
documentRegistryUpdateDocumentSet
public RegistryResponseType documentRegistryUpdateDocumentSet(SubmitObjectsRequest body)
Description copied from interface:Iti57PortType
Updates a set of documents according to the ITI-57 specification.- Specified by:
documentRegistryUpdateDocumentSet
in interfaceIti57PortType
- Parameters:
body
- the request.- Returns:
- the response.
-
getDefaultMetadataError
protected ErrorCode getDefaultMetadataError()
Description copied from class:XdsRegistryRequestService
Define the ErrorCode used to indicate a error in the metadata (typically a client fault). IHE profiles do not have one common error code to indicate the error. If the defaultErrorCode
can not be used, override this method to use a different code.- Overrides:
getDefaultMetadataError
in classXdsRegistryRequestService<SubmitObjectsRequest>
- Returns:
ErrorCode.REGISTRY_METADATA_ERROR
.
-
-