public class DDVConfigFactory
extends java.lang.Object
Constructor | Description |
---|---|
DDVConfigFactory() |
Modifier and Type | Method | Description |
---|---|---|
static DDVConfig |
create() |
Erzeugt eine neue DDV-Config.
|
static org.kapott.hbci.passport.HBCIPassportChipcard |
createPassport(DDVConfig config) |
Erstellt ein Passport-Objekt aus der Config.
|
static void |
delete(DDVConfig config) |
Loescht die angegebene Config.
|
static DDVConfig |
findByKonto(Konto konto) |
Liefert die zum uebergebenen Konto gehoerende PIN/Tan-Config oder
null wenn keine gefunden wurde. |
static java.util.List<DDVConfig> |
getConfigs() |
Liefert eine Liste der vorhandenen Kartenleser-Konfigurationen.
|
static java.util.List<Reader> |
getReaderPresets() |
Liefert eine Liste mit bekannten Reader-Presets.
|
static DDVConfig |
scan(de.willuhn.util.ProgressMonitor monitor,
de.willuhn.jameica.system.BackgroundTask task) |
Startet eine automatische Suche nach einem Kartenleser.
|
static void |
store(DDVConfig config) |
Speichert die Config.
|
public static java.util.List<DDVConfig> getConfigs()
public static java.util.List<Reader> getReaderPresets()
public static void store(DDVConfig config)
config
- die zu speichernde Config.public static void delete(DDVConfig config) throws de.willuhn.util.ApplicationException
config
- die zu loeschende Config.de.willuhn.util.ApplicationException
public static DDVConfig scan(de.willuhn.util.ProgressMonitor monitor, de.willuhn.jameica.system.BackgroundTask task)
monitor
- ein Monitor, mit dem der Scan-Fortschritt verfolgt werden kann.task
- ueber den Task koennen wir erkennen, ob wir abbrechen sollen.public static DDVConfig findByKonto(Konto konto) throws java.rmi.RemoteException, de.willuhn.util.ApplicationException
null
wenn keine gefunden wurde.konto
- Konto, fuer das die Config gesucht wird.java.rmi.RemoteException
de.willuhn.util.ApplicationException
public static DDVConfig create()
public static org.kapott.hbci.passport.HBCIPassportChipcard createPassport(DDVConfig config) throws de.willuhn.util.ApplicationException, java.rmi.RemoteException
config
- die Config.de.willuhn.util.ApplicationException
java.rmi.RemoteException