public final class BshWebSite extends AbstractWebSite<BshWebAccountInformation,BshBankMessages>
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CUSTOM_USER_AGENT
HTTP Header User-Agent Wert
|
static java.lang.String |
HEADER_USER_AGENT
HTTP Header User-Agent
|
static java.lang.String |
PARAM_KD_NUMER
Post-Data Benutzerfeldname
|
static java.lang.String |
PARAM_PASSWORD
Post-Data Passwortfeldname
|
accountInfo, NON_BREAK_SPACE, TABLE_TAG, webClient
Modifier and Type | Method and Description |
---|---|
void |
createSepaTransfer(de.willuhn.jameica.hbci.rmi.AuslandsUeberweisung aUeberweisung)
Erstellt eine Sepa-Überweisung bei der Bank.
|
BshWebAccountInformation |
getAccountInformation()
Liefert kontospezifische Informationen, die auf alle Fälle das Saldo und das letzte Umsatzdatum enthalten.
|
java.util.List<Account> |
getAccounts()
Liefert alle Verträge unter der Kundennummer
|
java.util.List<de.willuhn.jameica.hbci.rmi.Umsatz> |
getBookedTransactions()
Liefert eine Liste mit den gebuchten Umsätzen.
|
java.lang.String |
getIban(java.lang.String bsnKurz,
java.lang.String blz)
Liefert die IBAN zu einem Vertrag
|
static BshWebSite |
getInstance(de.willuhn.jameica.hbci.rmi.Konto konto)
Liefert die Instance der WebSeite
|
static BshWebSite |
getInstance(java.lang.String kdNummer)
Liefert die Instance der WebSeite, nur mit Angabe der kdNummer.
|
java.util.List<de.willuhn.jameica.hbci.rmi.Umsatz> |
getPreBookedTransactions()
Liefert eine Liste mit den vorgemerkten Umsätzen.
|
protected java.util.Calendar |
getStartdate()
Das Datum, ab dem Umsätze und Banknachrichten abgerufen werden sollen, falls noch keine Umsätze vorliegen.
|
protected WebClient |
getWebClient()
Erstellt den bankspezifischen WebClient.
|
boolean |
isStillLoggedIn()
Überprüft, ob das Webseite-Object immer noch an der Webseite angemeldet ist.
|
void |
login(char[] password,
java.lang.String... loginParams)
An der Bank-Seite anmelden
|
void |
logoff()
Abmelden von der Bank-Seite
|
int |
savePDF(BshWebAccountInformation accountInfo)
Speichert die Kontoauszüge im angegeben Ordner.
|
getMessages
public static final java.lang.String CUSTOM_USER_AGENT
public static final java.lang.String HEADER_USER_AGENT
public static final java.lang.String PARAM_KD_NUMER
public static final java.lang.String PARAM_PASSWORD
public static BshWebSite getInstance(de.willuhn.jameica.hbci.rmi.Konto konto) throws WebSiteException, de.willuhn.util.ApplicationException
konto
- WebSiteException
de.willuhn.util.ApplicationException
public static BshWebSite getInstance(java.lang.String kdNummer) throws WebSiteException, de.willuhn.util.ApplicationException
kdNummer
- WebSiteException
de.willuhn.util.ApplicationException
public void createSepaTransfer(de.willuhn.jameica.hbci.rmi.AuslandsUeberweisung aUeberweisung) throws WebSiteException, de.willuhn.util.ApplicationException
WebSite
aUeberweisung
- die Sepa-Überweisung.WebSiteException
de.willuhn.util.ApplicationException
WebSite.createSepaTransfer(AuslandsUeberweisung)
public BshWebAccountInformation getAccountInformation() throws WebSiteException, de.willuhn.util.ApplicationException
WebSite
WebSiteException
de.willuhn.util.ApplicationException
WebSite.getAccountInformation()
public java.util.List<Account> getAccounts() throws de.willuhn.jameica.system.OperationCanceledException, WebSiteException
WebSiteException
de.willuhn.jameica.system.OperationCanceledException
public java.util.List<de.willuhn.jameica.hbci.rmi.Umsatz> getBookedTransactions() throws WebSiteException, de.willuhn.util.ApplicationException
WebSite
WebSiteException
de.willuhn.util.ApplicationException
WebSite.getBookedTransactions()
public java.lang.String getIban(java.lang.String bsnKurz, java.lang.String blz) throws de.willuhn.jameica.system.OperationCanceledException, WebSiteException
bsnKurz
- blz
- die BankleitzahlWebSiteException
de.willuhn.jameica.system.OperationCanceledException
public java.util.List<de.willuhn.jameica.hbci.rmi.Umsatz> getPreBookedTransactions() throws WebSiteException, de.willuhn.util.ApplicationException
WebSite
WebSiteException
de.willuhn.util.ApplicationException
WebSite.getPreBookedTransactions()
public boolean isStillLoggedIn() throws WebSiteException
WebSite
WebSiteException
WebSite.isStillLoggedIn()
public void login(char[] password, java.lang.String... loginParams) throws WebSiteException
WebSite
password
- das PasswortloginParams
- Login-Parameter als Array, das verschiedene Banken verschiedene Anforderungen haben könnenWebSiteException
WebSite.login(char[], String...)
public void logoff() throws WebSiteException
WebSite
WebSiteException
WebSite.logoff()
public int savePDF(BshWebAccountInformation accountInfo) throws PdfSaverException
WebSite
accountInfo
- die KontoinformationenPdfSaverException
WebSite.savePDF(de.frankmuenster.hibiscus.mahoe.web.WebAccountInformation)
protected java.util.Calendar getStartdate()
AbstractWebSite
getStartdate
in class AbstractWebSite<BshWebAccountInformation,BshBankMessages>
AbstractWebSite
protected WebClient getWebClient()
AbstractWebSite
getWebClient
in class AbstractWebSite<BshWebAccountInformation,BshBankMessages>
AbstractWebSite.getWebClient()