|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbe.ehealth.businessconnector.dmg.session.impl.DmgServiceImpl
public class DmgServiceImpl
A simplified interface to access the DMG service Implements : DmgService
Constructor Summary | |
---|---|
DmgServiceImpl(SessionValidator sessionValidator,
EhealthReplyValidator replyValidator)
Instantiates a new Dmg service impl. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DmgServiceImpl(SessionValidator sessionValidator, EhealthReplyValidator replyValidator) throws TechnicalConnectorException
sessionValidator
- the sessionValidatorreplyValidator
- the replyValidator
TechnicalConnectorException
Method Detail |
---|
public ConsultGlobalMedicalFileResponse consultGlobalMedicalFile(ConsultGlobalMedicalFileRequest request) throws DmgBusinessConnectorException, TechnicalConnectorException, SessionManagementException
DmgService
consultGlobalMedicalFile
in interface DmgService
request
- the consultation request
DmgBusinessConnectorException
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 request
DmgBusinessConnectorException
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 request
GenAsyncBusinessConnectorException
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 request
GenAsyncBusinessConnectorException
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 request
GenAsyncBusinessConnectorException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |