|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbe.ehealth.businessconnector.dmg.service.impl.DmgServiceImpl
public class DmgServiceImpl
Implementation for the DmgService
interface.
Constructor Summary | |
---|---|
DmgServiceImpl()
default constructor , needed for ModuleBootstrapHook. |
|
DmgServiceImpl(SessionValidator sessionValidator,
EhealthReplyValidator replyValidator)
Creates a new DmgServiceImpl |
Method Summary | |
---|---|
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. |
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
DmgServiceImpl
sessionValidator
- the SessionValidator objectreplyValidator
- the ReplyValidator object
TechnicalConnectorException
public DmgServiceImpl()
Method Detail |
---|
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 send
DmgBusinessConnectorException
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 send
TechnicalConnectorException
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 request
GenAsyncBusinessConnectorException
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 request
GenAsyncBusinessConnectorException
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 request
GenAsyncBusinessConnectorException
public void bootstrap()
bootstrap
in interface ConfigurationModuleBootstrap.ModuleBootstrapHook
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |