Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## be.ehealth.businessconnector.mycarenet.agreement.session
Interface AgreementService

All Known Implementing Classes:
  AgreementServiceImpl

    public interface AgreementService

The Business Connector provides a simplified interface to access the Agreement service by providing the following functionality: it retrieves the token from the session Default impl : `AgreementServiceImpl` Factory : `AgreementSessionServiceFactory`

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)`

Method Detail

### askAgreement

    AskAgreementResponse askAgreement(AskAgreementRequest request)
                                      throws TechnicalConnectorException

  Sends the request to the WS (needs a Session to be active, token is retrieved from the session)

  Parameters:
    `request` - the request
  Returns:
    the WS response
  Throws:
    `TechnicalConnectorException` - the technical connector exception

### consultAgreement

    ConsultAgreementResponse consultAgreement(ConsultAgreementRequest request)
                                              throws TechnicalConnectorException

  Throws:
    `TechnicalConnectorException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Connector Packaging generic 3.21.2 API
Copyright © {inceptionYear}-2021 eHealth. All Rights Reserved.