Package de.frankmuenster.mahoe.web
Class AbstractWebAccountInformation
java.lang.Object
de.frankmuenster.mahoe.web.AbstractWebAccountInformation
- All Implemented Interfaces:
WebAccountInformation
- Direct Known Subclasses:
AktienWebAccountInformation
,BosWebAccountInformation
,BshWebAccountInformation
,SantanderWebAccountInformation
,TargoBankWebAccountInformation
Minimale Kontoinformationen, die jedes Job auslesen muss.
- Author:
- Frank Münster
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected de.willuhn.jameica.hbci.rmi.Konto
Das zugrundeliegende Konto -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBic()
Gets the comment.getIban()
de.willuhn.jameica.hbci.rmi.Konto
getKonto()
Gets the konto.Gets the last transaction date.Letztes Umsatzdatum schön formatiertgetSaldo()
Gets the saldo.Gets the saldo available.Gets the save path.boolean
protected abstract void
saveBankSpecificInfo
(de.willuhn.util.ProgressMonitor monitor) Hier werden die webseitenspezifischen Kontoinformationen verarbeitet.void
saveInformationInAccount
(de.willuhn.util.ProgressMonitor monitor) Speichert die Web-Kontoinformationen in das Konto.void
void
setComment
(String comment) Sets the comment.void
void
setKonto
(de.willuhn.jameica.hbci.rmi.Konto konto) Sets the konto.void
setLastTransactionDate
(Date lastTransactionDate) Sets the last transaction date.void
setSaldo
(BigDecimal saldo) Sets the saldo.void
setSaldoAvailable
(BigDecimal saldoAvailable) Sets the saldo available.void
setSavePath
(String savePath) Sets the save path.void
setStayLoggedIn
(boolean stayLoggedIn)
-
Field Details
-
konto
protected de.willuhn.jameica.hbci.rmi.Konto kontoDas zugrundeliegende Konto
-
-
Constructor Details
-
AbstractWebAccountInformation
protected AbstractWebAccountInformation()Standardkonstruktor
-
-
Method Details
-
getBic
- Returns:
- the bic
-
getComment
Description copied from interface:WebAccountInformation
Gets the comment.- Specified by:
getComment
in interfaceWebAccountInformation
- Returns:
- the comment
-
getIban
- Returns:
- the iban
-
getKonto
public de.willuhn.jameica.hbci.rmi.Konto getKonto()Description copied from interface:WebAccountInformation
Gets the konto.- Specified by:
getKonto
in interfaceWebAccountInformation
- Returns:
- the konto
-
getLastTransactionDate
Description copied from interface:WebAccountInformation
Gets the last transaction date.- Specified by:
getLastTransactionDate
in interfaceWebAccountInformation
- Returns:
- the lastTransactionDate
-
getLastTransactionDateAsString
Letztes Umsatzdatum schön formatiert- Specified by:
getLastTransactionDateAsString
in interfaceWebAccountInformation
- Returns:
- lastTransactionDate als String
-
getSaldo
Description copied from interface:WebAccountInformation
Gets the saldo.- Specified by:
getSaldo
in interfaceWebAccountInformation
- Returns:
- the saldo
-
getSaldoAvailable
Description copied from interface:WebAccountInformation
Gets the saldo available.- Specified by:
getSaldoAvailable
in interfaceWebAccountInformation
- Returns:
- the saldoAvailable
-
getSavePath
Description copied from interface:WebAccountInformation
Gets the save path.- Specified by:
getSavePath
in interfaceWebAccountInformation
- Returns:
- the savePath
-
isStayLoggedIn
public boolean isStayLoggedIn()- Specified by:
isStayLoggedIn
in interfaceWebAccountInformation
- Returns:
- stayLoggedIn
-
saveInformationInAccount
public void saveInformationInAccount(de.willuhn.util.ProgressMonitor monitor) throws de.willuhn.util.ApplicationException Description copied from interface:WebAccountInformation
Speichert die Web-Kontoinformationen in das Konto.- Specified by:
saveInformationInAccount
in interfaceWebAccountInformation
- Parameters:
monitor
- der ProgressMonitor- Throws:
de.willuhn.util.ApplicationException
- the application exception- See Also:
-
setBic
- Parameters:
bic
- the bic to set
-
setComment
Description copied from interface:WebAccountInformation
Sets the comment.- Specified by:
setComment
in interfaceWebAccountInformation
- Parameters:
comment
- the comment to set
-
setIban
- Parameters:
iban
- the iban to set
-
setKonto
public void setKonto(de.willuhn.jameica.hbci.rmi.Konto konto) Description copied from interface:WebAccountInformation
Sets the konto.- Specified by:
setKonto
in interfaceWebAccountInformation
- Parameters:
konto
- the konto to set
-
setLastTransactionDate
Description copied from interface:WebAccountInformation
Sets the last transaction date.- Specified by:
setLastTransactionDate
in interfaceWebAccountInformation
- Parameters:
lastTransactionDate
- the lastTransactionDate to set
-
setSaldo
Description copied from interface:WebAccountInformation
Sets the saldo.- Specified by:
setSaldo
in interfaceWebAccountInformation
- Parameters:
saldo
- the saldo to set
-
setSaldoAvailable
Description copied from interface:WebAccountInformation
Sets the saldo available.- Specified by:
setSaldoAvailable
in interfaceWebAccountInformation
- Parameters:
saldoAvailable
- the saldoAvailable to set
-
setSavePath
Description copied from interface:WebAccountInformation
Sets the save path.- Specified by:
setSavePath
in interfaceWebAccountInformation
- Parameters:
savePath
- the savePath to set
-
setStayLoggedIn
public void setStayLoggedIn(boolean stayLoggedIn) - Specified by:
setStayLoggedIn
in interfaceWebAccountInformation
- Parameters:
stayLoggedIn
-
-
saveBankSpecificInfo
protected abstract void saveBankSpecificInfo(de.willuhn.util.ProgressMonitor monitor) throws de.willuhn.util.ApplicationException Hier werden die webseitenspezifischen Kontoinformationen verarbeitet. Muss von der Child-Klasse implementiert werden.
Ein speichern des Kontos ist nicht erforderlich. das macht die Super-Klasse.- Parameters:
monitor
-- Throws:
de.willuhn.util.ApplicationException
-