be.ehealth.businessconnector.mycarenet.agreement.service.impl
Class AgreementServiceImpl
java.lang.Object
be.ehealth.businessconnector.mycarenet.agreement.service.impl.AgreementServiceImpl
- All Implemented Interfaces:
- AgreementService, ConfigurationModuleBootstrap.ModuleBootstrapHook
public class AgreementServiceImpl
- extends Object
- implements AgreementService, ConfigurationModuleBootstrap.ModuleBootstrapHook
Implementation for the AgreementService interface.
SOAP_ACTION_ASK_AGREEMENT
public static final String SOAP_ACTION_ASK_AGREEMENT
- See Also:
- Constant Field Values
SOAP_ACTION_CONSULT_AGREEMENT
public static final String SOAP_ACTION_CONSULT_AGREEMENT
- See Also:
- Constant Field Values
AgreementServiceImpl
public AgreementServiceImpl(SessionValidator sessionValidator)
- Creates a new
AgreementServiceImpl
- Parameters:
sessionValidator - the SessionValidator object
AgreementServiceImpl
public AgreementServiceImpl()
- default constructor , needed for ModuleBootstrapHook.
askAgreement
public AskAgreementResponse askAgreement(SAMLToken token,
AskAgreementRequest request)
throws TechnicalConnectorException
- Description copied from interface:
AgreementService
- Sends the request to the WS and retrieves the response. It only needs the SamlToken, no session needs to be active.
- Specified by:
askAgreement in interface AgreementService
- Parameters:
token - the valid SAML tokenrequest - the request to send
- Returns:
- the WS response
- Throws:
TechnicalConnectorException - the technical connector exception
consultAgreement
public ConsultAgreementResponse consultAgreement(SAMLToken token,
ConsultAgreementRequest request)
throws TechnicalConnectorException
- Specified by:
consultAgreement in interface AgreementService
- Throws:
TechnicalConnectorException
bootstrap
public void bootstrap()
- Specified by:
bootstrap in interface ConfigurationModuleBootstrap.ModuleBootstrapHook
Connector Packaging generic 3.21.2 API
Copyright © {inceptionYear}-2021 eHealth. All Rights Reserved.