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
DmgServiceImpl
sessionValidator
- the SessionValidator objectreplyValidator
- the ReplyValidator objectTechnicalConnectorException
public DmgServiceImpl()
public final ConsultGlobalMedicalFileResponse consultGlobalMedicalFile(SAMLToken token, ConsultGlobalMedicalFileRequest request) throws DmgBusinessConnectorException, TechnicalConnectorException, SessionManagementException
DmgService
consultGlobalMedicalFile
in interface DmgService
token
- the valid SAML tokenrequest
- the request to sendDmgBusinessConnectorException
TechnicalConnectorException
SessionManagementException
consultGlobalMedicalFile(SAMLToken token, SendRequestType request)
public final NotifyGlobalMedicalFileResponse notifyGlobalMedicalFile(SAMLToken token, NotifyGlobalMedicalFileRequest request) throws TechnicalConnectorException, DmgBusinessConnectorException
DmgService
notifyGlobalMedicalFile
in interface DmgService
token
- the valid SAML tokenrequest
- the request to sendTechnicalConnectorException
SessionManagementException
DmgBusinessConnectorException
notifyGlobalMedicalFile(SAMLToken token, SendRequestType request)
public ConfirmResponse confirmRequest(SAMLToken token, Confirm request, WsAddressingHeader header) throws GenAsyncBusinessConnectorException, TechnicalConnectorException
DmgService
confirmRequest
in interface DmgService
request
- the requestGenAsyncBusinessConnectorException
TechnicalConnectorException
public GetResponse getRequest(SAMLToken token, Get request, WsAddressingHeader header) throws GenAsyncBusinessConnectorException, TechnicalConnectorException
DmgService
Responses
from the post previously sent. It only needs the SamlToken, no session needs to be active.getRequest
in interface DmgService
request
- the requestGenAsyncBusinessConnectorException
TechnicalConnectorException
public PostResponse postRequest(SAMLToken token, Post request, WsAddressingHeader header) throws GenAsyncBusinessConnectorException
DmgService
TAck
of the request of an operation. It only needs the SamlToken, no session needs to be active.postRequest
in interface DmgService
request
- the requestGenAsyncBusinessConnectorException
public void bootstrap()
bootstrap
in interface ConfigurationModuleBootstrap.ModuleBootstrapHook
Connector Packaging PERSPHYSICIAN 4.5.4 API
Copyright © {inceptionYear}-2024 eHealth. All Rights Reserved.