public class DmgServiceImpl extends Object implements DmgService, ConfigurationModuleBootstrap.ModuleBootstrapHook
DmgService interface.| Constructor and Description |
|---|
DmgServiceImpl()
default constructor , needed for ModuleBootstrapHook.
|
DmgServiceImpl(SessionValidator sessionValidator,
EhealthReplyValidator replyValidator)
Creates a new
DmgServiceImpl |
| Modifier and Type | Method and Description |
|---|---|
void |
bootstrap() |
ConfirmResponse |
confirmRequest(SAMLToken token,
Confirm request,
WsAddressingHeader header)
Sends a Confirm request after a successful Get It only needs the SAMLtoken, no session needs to be active
|
ConsultGlobalMedicalFileResponse |
consultGlobalMedicalFile(SAMLToken token,
ConsultGlobalMedicalFileRequest request)
Sends the consultation request to the WS and retrieves the response.
|
GetResponse |
getRequest(SAMLToken token,
Get request,
WsAddressingHeader header)
Returns the
Responses from the post previously sent. |
NotifyGlobalMedicalFileResponse |
notifyGlobalMedicalFile(SAMLToken token,
NotifyGlobalMedicalFileRequest request)
Sends the notification request to the WS and retrieves the response.
|
PostResponse |
postRequest(SAMLToken token,
Post request,
WsAddressingHeader header)
Returns the
TAck of the request of an operation. |
public DmgServiceImpl(SessionValidator sessionValidator, EhealthReplyValidator replyValidator) throws TechnicalConnectorException
DmgServiceImplsessionValidator - the SessionValidator objectreplyValidator - the ReplyValidator objectTechnicalConnectorExceptionpublic DmgServiceImpl()
public final ConsultGlobalMedicalFileResponse consultGlobalMedicalFile(SAMLToken token, ConsultGlobalMedicalFileRequest request) throws DmgBusinessConnectorException, TechnicalConnectorException, SessionManagementException
DmgServiceconsultGlobalMedicalFile in interface DmgServicetoken - the valid SAML tokenrequest - the request to sendDmgBusinessConnectorExceptionTechnicalConnectorExceptionSessionManagementExceptionconsultGlobalMedicalFile(SAMLToken token, SendRequestType request)public final NotifyGlobalMedicalFileResponse notifyGlobalMedicalFile(SAMLToken token, NotifyGlobalMedicalFileRequest request) throws TechnicalConnectorException, DmgBusinessConnectorException
DmgServicenotifyGlobalMedicalFile in interface DmgServicetoken - the valid SAML tokenrequest - the request to sendTechnicalConnectorExceptionSessionManagementExceptionDmgBusinessConnectorExceptionnotifyGlobalMedicalFile(SAMLToken token, SendRequestType request)public ConfirmResponse confirmRequest(SAMLToken token, Confirm request, WsAddressingHeader header) throws GenAsyncBusinessConnectorException, TechnicalConnectorException
DmgServiceconfirmRequest in interface DmgServicerequest - the requestGenAsyncBusinessConnectorExceptionTechnicalConnectorExceptionpublic GetResponse getRequest(SAMLToken token, Get request, WsAddressingHeader header) throws GenAsyncBusinessConnectorException, TechnicalConnectorException
DmgServiceResponses from the post previously sent. It only needs the SamlToken, no session needs to be active.getRequest in interface DmgServicerequest - the requestGenAsyncBusinessConnectorExceptionTechnicalConnectorExceptionpublic PostResponse postRequest(SAMLToken token, Post request, WsAddressingHeader header) throws GenAsyncBusinessConnectorException
DmgServiceTAck of the request of an operation. It only needs the SamlToken, no session needs to be active.postRequest in interface DmgServicerequest - the requestGenAsyncBusinessConnectorExceptionpublic void bootstrap()
bootstrap in interface ConfigurationModuleBootstrap.ModuleBootstrapHook
Connector Packaging generic 4.1.2 API
Copyright © {inceptionYear}-2022 eHealth. All Rights Reserved.