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.wsconsent.service.impl
Class WsConsentServiceImpl

    java.lang.Object
      be.ehealth.businessconnector.wsconsent.service.impl.WsConsentServiceImpl

All Implemented Interfaces:
  WsConsentService, ConfigurationModuleBootstrap.ModuleBootstrapHook

    public class WsConsentServiceImpl

extends Object
implements WsConsentService, ConfigurationModuleBootstrap.ModuleBootstrapHook

Implementation for `WsConsentService`.

Constructor Summary
`WsConsentServiceImpl()`

Method Summary
`void` | `bootstrap()`
`GetPatientConsentResponse` | `getPatientConsent(SAMLToken token, GetPatientConsentRequest request)` Method which perform the call to the webSevice which allows an end-user to check the existence of an informed patient consent (and to get the information about this consent – ‘active’ or ‘inactive’).
`PutPatientConsentResponse` | `putPatientConsent(SAMLToken token, PutPatientConsentRequest request)` Method which perform the call to the webSevice which allows an end-user to declare an informed patient consent.
`RevokePatientConsentResponse` | `revokePatientConsent(SAMLToken token, RevokePatientConsentRequest request)` Method which perform the call to the webSevice which allows an end-user to declare the revocation of an informed patient consent.

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### WsConsentServiceImpl

    public WsConsentServiceImpl()

Method Detail

### putPatientConsent

    public PutPatientConsentResponse putPatientConsent(SAMLToken token,
                                                       PutPatientConsentRequest request)
                                                throws WsConsentBusinessConnectorException,
                                                       TechnicalConnectorException,
                                                       SessionManagementException

  Description copied from interface: `WsConsentService`
  Method which perform the call to the webSevice which allows an end-user to declare an informed patient consent. Once the consent is declared, it is considered as ‘active’ consent.

  Specified by:
    `putPatientConsent` in interface `WsConsentService`
  Parameters:
    `token` - the token
    `request` - object
  Returns:
    PutPatientConsentResponse object
  Throws:
    `WsConsentBusinessConnectorException`
    `TechnicalConnectorException`
    `SessionManagementException`
  See Also:
    `WsConsentService.putPatientConsent(be.ehealth.technicalconnector.service.sts.security.SAMLToken, be.fgov.ehealth.hubservices.core.v2.PutPatientConsentRequest)`

### getPatientConsent

    public GetPatientConsentResponse getPatientConsent(SAMLToken token,
                                                       GetPatientConsentRequest request)
                                                throws WsConsentBusinessConnectorException,
                                                       TechnicalConnectorException,
                                                       SessionManagementException

  Description copied from interface: `WsConsentService`
  Method which perform the call to the webSevice which allows an end-user to check the existence of an informed patient consent (and to get the information about this consent – ‘active’ or ‘inactive’).

  Specified by:
    `getPatientConsent` in interface `WsConsentService`
  Parameters:
    `token` - the token
    `request` - object
  Returns:
    GetPatientConsentResponse object
  Throws:
    `WsConsentBusinessConnectorException`
    `TechnicalConnectorException`
    `SessionManagementException`
  See Also:
    `be.ehealth.businessconnector.wsconsent.service.WsConsentService#GetPatientConsent(be.ehealth.technicalconnector.service.sts.security.SAMLToken, be.fgov.ehealth.hubservices.core.v2.GetPatientConsentRequest)`

### revokePatientConsent

    public RevokePatientConsentResponse revokePatientConsent(SAMLToken token,
                                                             RevokePatientConsentRequest request)
                                                      throws WsConsentBusinessConnectorException,
                                                             TechnicalConnectorException,
                                                             SessionManagementException

  Description copied from interface: `WsConsentService`
  Method which perform the call to the webSevice which allows an end-user to declare the revocation of an informed patient consent. Once the consent is revoked, it is considered as ‘inactive’ consent.

  Specified by:
    `revokePatientConsent` in interface `WsConsentService`
    `request` - object
  Returns:
    RevokePatientConsentResponse object
  Throws:
    `WsConsentBusinessConnectorException`
    `TechnicalConnectorException`
    `SessionManagementException`
  See Also:
    `be.ehealth.businessconnector.wsconsent.service.WsConsentService#RevokePatientConsent(be.ehealth.technicalconnector.service.sts.security.SAMLToken, be.fgov.ehealth.hubservices.core.v2.RevokePatientConsentRequest)`

### bootstrap

    public void bootstrap()

  Specified by:
    `bootstrap` in interface `ConfigurationModuleBootstrap.ModuleBootstrapHook`

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 PERSNURSE 3.17.1 API
Copyright © {inceptionYear}-2019 eHealth. All Rights Reserved.