be.ehealth.businessconnector.mycarenet.agreement.session.impl
Class AgreementServiceImpl

java.lang.Object
  extended by be.ehealth.businessconnector.mycarenet.agreement.session.impl.AgreementServiceImpl
All Implemented Interfaces:
AgreementService

public class AgreementServiceImpl
extends Object
implements AgreementService

A simplified interface to access the Agreement service Implements : AgreementService


Constructor Summary
AgreementServiceImpl(SessionValidator sessionValidator)
          Instantiates a new Agreement service impl.
 
Method Summary
 AskAgreementResponse askAgreement(AskAgreementRequest request)
          Sends the request to the WS (needs a Session to be active, token is retrieved from the session)
 ConsultAgreementResponse consultAgreement(ConsultAgreementRequest request)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AgreementServiceImpl

public AgreementServiceImpl(SessionValidator sessionValidator)
                     throws TechnicalConnectorException
Instantiates a new Agreement service impl.

Parameters:
sessionValidator - the sessionValidator
Throws:
TechnicalConnectorException - the technical connector exception
Method Detail

askAgreement

public AskAgreementResponse askAgreement(AskAgreementRequest request)
                                  throws TechnicalConnectorException
Description copied from interface: AgreementService
Sends the request to the WS (needs a Session to be active, token is retrieved from the session)

Specified by:
askAgreement in interface AgreementService
Parameters:
request - the request
Returns:
the WS response
Throws:
TechnicalConnectorException - the technical connector exception

consultAgreement

public ConsultAgreementResponse consultAgreement(ConsultAgreementRequest request)
                                          throws TechnicalConnectorException
Specified by:
consultAgreement in interface AgreementService
Throws:
TechnicalConnectorException



Connector Packaging generic 3.23.0 API
Copyright © {inceptionYear}-2022 eHealth. All Rights Reserved.