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.technicalconnector.beid
Class BeIDInfo

    java.lang.Object
      be.ehealth.technicalconnector.beid.BeIDInfo

All Implemented Interfaces:
  SessionServiceWithCache

    public final class BeIDInfo

extends Object
implements SessionServiceWithCache

This class contains information read from the BeIDCard

Field Summary
`static String` | `PROP_USE_CACHE` Property to activate or desactivate caching of the beidInfo.

Method Summary
`void` | `flushCache()` Clears the instances map
`Address` | `getAddress()`
`Identity` | `getIdentity()`
`static BeIDInfo` | `getInstance()` Retrieves an existing BeIDInfo instance or creates it if not exists
`static BeIDInfo` | `getInstance(String scope)` Retrieves an existing BeIDInfo instance or creates it if not exists
`static BeIDInfo` | `getInstance(String scope, boolean useCache)` * Retrieves an existing BeIDInfo instance or creates it if not exists
`byte[]` | `getPhoto()`

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

Field Detail

### PROP_USE_CACHE

    public static final String PROP_USE_CACHE

  Property to activate or desactivate caching of the beidInfo. Default:: false

  See Also:
    Constant Field Values

Method Detail

### getInstance

    public static BeIDInfo getInstance()
                                throws TechnicalConnectorException

  Retrieves an existing BeIDInfo instance or creates it if not exists

  Returns:
  Throws:
    `TechnicalConnectorException`

### getInstance

    public static BeIDInfo getInstance(String scope)
                                throws TechnicalConnectorException

  Retrieves an existing BeIDInfo instance or creates it if not exists

  Parameters:
    `scope` -
  Returns:
    an instance of BeIDInfo
  Throws:
    `TechnicalConnectorException`

### getInstance

    public static BeIDInfo getInstance(String scope,
                                       boolean useCache)
                                throws TechnicalConnectorException

  * Retrieves an existing BeIDInfo instance or creates it if not exists

  Parameters:
    `scope` -
    `useCache` -
  Returns:
  Throws:
    `TechnicalConnectorException`

### getIdentity

    public Identity getIdentity()

  Returns:
    Identity object

### getAddress

    public Address getAddress()

  Returns:
    Address object

### getPhoto

    public byte[] getPhoto()
                    throws TechnicalConnectorException

  Returns:
    the Photo read from the eID
  Throws:
    `TechnicalConnectorException`

### flushCache

    public void flushCache()

  Clears the instances map

  Specified by:
    `flushCache` in interface `SessionServiceWithCache`
  See Also:
    `SessionServiceWithCache.flushCache()`

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.11.1 API
Copyright © {inceptionYear}-2016 eHealth. All Rights Reserved.