I
- SantanderWebAccountInformationM
- SantanderBankMessagespublic abstract class AbstractSantanderWebSite<I extends SantanderWebAccountInformation,M extends SantanderBankMessages> extends AbstractWebSite<I,M>
Modifier and Type | Class and Description |
---|---|
static class |
AbstractSantanderWebSite.DocumentType
An Enum for the existing document types in the document box
|
Modifier and Type | Field and Description |
---|---|
protected static int |
ANCHOR_CELL_DETAILS
Anchor details anchor
|
protected static int |
ANCHOR_CELL_TRANSACTIONS
Anchor details anchor
|
protected static java.lang.String |
I18N_NEXT_LINK_NOT_FOUND
I18N key for "Next link not found" text
|
protected static int |
MAX_TABLE_SIZE
Es darf nur eine Tablle mit den PDFs gegeben
|
protected static java.lang.String |
NEXT_LINK_TEXT
Link Text für weitere Umsätze
|
accountInfo, NON_BREAK_SPACE, TABLE_TAG, webClient
Modifier | Constructor and Description |
---|---|
protected |
AbstractSantanderWebSite(de.willuhn.jameica.hbci.rmi.Konto konto,
java.lang.String userName)
Erstellt ein neues Webseiten-Objekt zur Kontaktaufnahme mit der BCEE.
|
Modifier and Type | Method and Description |
---|---|
void |
createSepaTransfer(de.willuhn.jameica.hbci.rmi.AuslandsUeberweisung aUeberweisung)
Creates the sepa transfer.
|
protected HtmlAnchor |
getAccountDetailsAnchor(java.lang.String accountNumber,
java.lang.String tableIdentifier,
int anchorCell)
Returns the anchor to the account details page for the given account type
(Giro/credit card) and number
|
abstract I |
getAccountInformation()
Gets the account information.
|
java.util.List<MahoeKontoauszugPDF> |
getAccountSheets(SantanderWebAccountInformation accountInfo)
Returns a list of new accounts sheets to save.
|
abstract java.util.List<de.willuhn.jameica.hbci.rmi.Umsatz> |
getBookedTransactions()
Gets the booked transactions.
|
static AbstractSantanderWebSite<SantanderWebAccountInformation,SantanderBankMessages> |
getInstance(de.willuhn.jameica.hbci.rmi.Konto konto)
Liefert die Instance der WebSeite.
|
abstract java.util.List<de.willuhn.jameica.hbci.rmi.Umsatz> |
getPreBookedTransactions()
Gets the pre booked transactions.
|
protected abstract java.util.Calendar |
getStartdate()
Gets the startdate.
|
WebClient |
getWebClient()
Liefert einen instanzierten HtmlUnit WebClient.
|
boolean |
isStillLoggedIn()
Checks if is still logged in.
|
protected abstract boolean |
isSupporting(de.willuhn.jameica.hbci.rmi.KontoType type)
Üperfüpt, ob die WebSeiteninstance den Kontotypen
unterstützt.
|
void |
login(char[] password,
java.lang.String... loginParams)
Login.
|
void |
logoff()
Logoff.
|
getMessages
protected static final int ANCHOR_CELL_DETAILS
protected static final int ANCHOR_CELL_TRANSACTIONS
protected static final int MAX_TABLE_SIZE
protected static final java.lang.String NEXT_LINK_TEXT
protected static final java.lang.String I18N_NEXT_LINK_NOT_FOUND
protected AbstractSantanderWebSite(de.willuhn.jameica.hbci.rmi.Konto konto, java.lang.String userName) throws WebSiteException
konto
- the kontouserName
- the user nameWebSiteException
- the web site exceptionpublic static AbstractSantanderWebSite<SantanderWebAccountInformation,SantanderBankMessages> getInstance(de.willuhn.jameica.hbci.rmi.Konto konto) throws WebSiteException, de.willuhn.util.ApplicationException
konto
- the kontoWebSiteException
- the web site exceptionde.willuhn.util.ApplicationException
- the application exceptionpublic void createSepaTransfer(de.willuhn.jameica.hbci.rmi.AuslandsUeberweisung aUeberweisung) throws WebSiteException, de.willuhn.util.ApplicationException
aUeberweisung
- the a ueberweisungWebSiteException
- the web site exceptionde.willuhn.util.ApplicationException
- the application exceptionWebSite.createSepaTransfer(de.willuhn.jameica.hbci.rmi.AuslandsUeberweisung)
public abstract I getAccountInformation() throws WebSiteException, de.willuhn.util.ApplicationException
WebSiteException
- the web site exceptionde.willuhn.util.ApplicationException
- the application exceptionWebSite.getAccountInformation()
public java.util.List<MahoeKontoauszugPDF> getAccountSheets(SantanderWebAccountInformation accountInfo) throws WebSiteException
WebSite
accountInfo
- the account informationWebSiteException
WebSite.getAccountSheets(WebAccountInformation)
public abstract java.util.List<de.willuhn.jameica.hbci.rmi.Umsatz> getBookedTransactions() throws WebSiteException, de.willuhn.util.ApplicationException
WebSiteException
- the web site exceptionde.willuhn.util.ApplicationException
- the application exceptionWebSite.getBookedTransactions()
public abstract java.util.List<de.willuhn.jameica.hbci.rmi.Umsatz> getPreBookedTransactions() throws WebSiteException, de.willuhn.util.ApplicationException
WebSiteException
- the web site exceptionde.willuhn.util.ApplicationException
- the application exceptionWebSite.getPreBookedTransactions()
public final WebClient getWebClient()
getWebClient
in class AbstractWebSite<I extends SantanderWebAccountInformation,M extends SantanderBankMessages>
public boolean isStillLoggedIn() throws WebSiteException
WebSiteException
- the web site exceptionWebSite.isStillLoggedIn()
public void login(char[] password, java.lang.String... loginParams) throws WebSiteException
password
- the passwordloginParams
- muss Login_URL enthaltenWebSiteException
- the web site exceptionWebSite.login(char[], java.lang.String[])
public void logoff() throws WebSiteException
WebSiteException
- the web site exceptionWebSite.logoff()
protected HtmlAnchor getAccountDetailsAnchor(java.lang.String accountNumber, java.lang.String tableIdentifier, int anchorCell) throws WebSiteException
accountNumber
- the account numbertableIdentifier
- the table identifier for the type of accountsanchorCell
- the cell number that contains the anchornull
WebSiteException
- if the overview page could not be loaded.protected abstract java.util.Calendar getStartdate()
getStartdate
in class AbstractWebSite<I extends SantanderWebAccountInformation,M extends SantanderBankMessages>
AbstractWebSite.getStartdate()
protected abstract boolean isSupporting(de.willuhn.jameica.hbci.rmi.KontoType type)
type
- der Kontoyp