be.ehealth.businessconnector.mycarenet.memberdata.service.impl

## Class MemberDataServiceImpl

- java.lang.Object
- - be.ehealth.businessconnector.mycarenet.memberdata.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

    Constructors
    Constructor and Description
    `MemberDataServiceImpl()` default constructor , needed for ModuleBootstrapHook.
    `MemberDataServiceImpl(SessionValidator sessionValidator)` Creates a new `MemberDataServiceImpl`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `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 generic 4.4.0 API
Copyright © {inceptionYear}-2023 eHealth. All Rights Reserved.