public class DmgServiceImpl extends Object implements DmgService
DmgService
Constructor and Description |
---|
DmgServiceImpl(SessionValidator sessionValidator,
EhealthReplyValidator replyValidator)
Instantiates a new Dmg service impl.
|
Modifier and Type | Method and Description |
---|---|
ConfirmResponse |
confirmRequest(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(ConsultGlobalMedicalFileRequest request)
Sends the consultation request to the WS (needs a Session to be active, token is retrieved from the session)
|
GetResponse |
getRequest(Get request,
WsAddressingHeader header)
Returns the
Responses from the post previously sent. |
NotifyGlobalMedicalFileResponse |
notifyGlobalMedicalFile(NotifyGlobalMedicalFileRequest request)
Sends the notification request to the WS (needs a Session to be active, token is retrieved from the session)
|
PostResponse |
postRequest(Post request,
WsAddressingHeader header)
Returns the
TAck of the request of an operation. |
public DmgServiceImpl(SessionValidator sessionValidator, EhealthReplyValidator replyValidator) throws TechnicalConnectorException
sessionValidator
- the sessionValidatorreplyValidator
- the replyValidatorTechnicalConnectorException
public ConsultGlobalMedicalFileResponse consultGlobalMedicalFile(ConsultGlobalMedicalFileRequest request) throws DmgBusinessConnectorException, TechnicalConnectorException, SessionManagementException
DmgService
consultGlobalMedicalFile
in interface DmgService
request
- the consultation requestDmgBusinessConnectorException
TechnicalConnectorException
SessionManagementException
be.ehealth.businessconnector.dmg.session.DmgService#consultGlobalMedicalFile(be.fgov.ehealth.globalmedicalfile.protocol.v1.SendRequestType)
public NotifyGlobalMedicalFileResponse notifyGlobalMedicalFile(NotifyGlobalMedicalFileRequest request) throws DmgBusinessConnectorException, TechnicalConnectorException, SessionManagementException
DmgService
notifyGlobalMedicalFile
in interface DmgService
request
- the notification requestDmgBusinessConnectorException
TechnicalConnectorException
SessionManagementException
be.ehealth.businessconnector.dmg.session.DmgService#notifyGlobalMedicalFile(be.fgov.ehealth.globalmedicalfile.protocol.v1.SendRequestType)
public ConfirmResponse confirmRequest(Confirm request, WsAddressingHeader header) throws GenAsyncBusinessConnectorException, TechnicalConnectorException
DmgService
confirmRequest
in interface DmgService
request
- the requestGenAsyncBusinessConnectorException
TechnicalConnectorException
public GetResponse getRequest(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(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
Connector Packaging PERSPHYSICIAN 4.5.4 API
Copyright © {inceptionYear}-2024 eHealth. All Rights Reserved.