be.ehealth.businessconnector.mycarenet.memberdatav2.service.impl
Class MemberDataServiceImpl

java.lang.Object
  extended by be.ehealth.businessconnector.mycarenet.memberdatav2.service.impl.MemberDataServiceImpl
All Implemented Interfaces:
MemberDataService, ConfigurationModuleBootstrap.ModuleBootstrapHook

public class MemberDataServiceImpl
extends Object
implements MemberDataService, ConfigurationModuleBootstrap.ModuleBootstrapHook

Implementation for the MemberDataService interface.


Constructor Summary
MemberDataServiceImpl()
          default constructor , needed for ModuleBootstrapHook.
MemberDataServiceImpl(SessionValidator sessionValidator)
          Creates a new MemberDataServiceImpl
 
Method Summary
 void bootstrap()
           
 MemberDataConsultationResponse consultMemberData(SAMLToken token, MemberDataConsultationRequest request)
          Sends the consultation request to the WS and retrieves the response.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MemberDataServiceImpl

public MemberDataServiceImpl(SessionValidator sessionValidator)
Creates a new MemberDataServiceImpl

Parameters:
sessionValidator - the SessionValidator object

MemberDataServiceImpl

public MemberDataServiceImpl()
default constructor , needed for ModuleBootstrapHook.

Method Detail

consultMemberData

public final MemberDataConsultationResponse consultMemberData(SAMLToken token,
                                                              MemberDataConsultationRequest request)
                                                       throws TechnicalConnectorException
Description copied from interface: MemberDataService
Sends the consultation request to the WS and retrieves the response. It only needs the SamlToken, no session needs to be active.

Specified by:
consultMemberData in interface MemberDataService
Parameters:
token - the valid SAML token
request - the request to send
Returns:
MemberDataConsultationRequest the WS response
Throws:
TechnicalConnectorException - the technical connector exception

bootstrap

public void bootstrap()
Specified by:
bootstrap in interface ConfigurationModuleBootstrap.ModuleBootstrapHook



Connector Packaging TRUSSMAKER 3.20.2 API
Copyright © {inceptionYear}-2020 eHealth. All Rights Reserved.