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
public abstract class AbstractWebAccountInformation extends java.lang.Object implements WebAccountInformation
Minimale Kontoinformationen, die jedes Job auslesen muss.- Author:
- Frank Münster
-
-
Field Summary
Fields Modifier and Type Field Description protected de.willuhn.jameica.hbci.rmi.Konto
konto
Das zugrundeliegende Konto
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractWebAccountInformation()
Standardkonstruktor
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description java.lang.String
getBic()
java.lang.String
getComment()
Gets the comment.java.lang.String
getIban()
de.willuhn.jameica.hbci.rmi.Konto
getKonto()
Gets the konto.java.util.Date
getLastTransactionDate()
Gets the last transaction date.java.lang.String
getLastTransactionDateAsString()
Letztes Umsatzdatum schön formatiertjava.math.BigDecimal
getSaldo()
Gets the saldo.java.math.BigDecimal
getSaldoAvailable()
Gets the saldo available.java.lang.String
getSavePath()
Gets the save path.boolean
isStayLoggedIn()
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
setBic(java.lang.String bic)
void
setComment(java.lang.String comment)
Sets the comment.void
setIban(java.lang.String iban)
void
setKonto(de.willuhn.jameica.hbci.rmi.Konto konto)
Sets the konto.void
setLastTransactionDate(java.util.Date lastTransactionDate)
Sets the last transaction date.void
setSaldo(java.math.BigDecimal saldo)
Sets the saldo.void
setSaldoAvailable(java.math.BigDecimal saldoAvailable)
Sets the saldo available.void
setSavePath(java.lang.String savePath)
Sets the save path.void
setStayLoggedIn(boolean stayLoggedIn)
-
-
-
Method Detail
-
getBic
public java.lang.String getBic()
- Returns:
- the bic
-
getComment
public java.lang.String getComment()
Description copied from interface:WebAccountInformation
Gets the comment.- Specified by:
getComment
in interfaceWebAccountInformation
- Returns:
- the comment
-
getIban
public java.lang.String 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
public java.util.Date getLastTransactionDate()
Description copied from interface:WebAccountInformation
Gets the last transaction date.- Specified by:
getLastTransactionDate
in interfaceWebAccountInformation
- Returns:
- the lastTransactionDate
-
getLastTransactionDateAsString
public java.lang.String getLastTransactionDateAsString()
Letztes Umsatzdatum schön formatiert- Specified by:
getLastTransactionDateAsString
in interfaceWebAccountInformation
- Returns:
- lastTransactionDate als String
-
getSaldo
public java.math.BigDecimal getSaldo()
Description copied from interface:WebAccountInformation
Gets the saldo.- Specified by:
getSaldo
in interfaceWebAccountInformation
- Returns:
- the saldo
-
getSaldoAvailable
public java.math.BigDecimal getSaldoAvailable()
Description copied from interface:WebAccountInformation
Gets the saldo available.- Specified by:
getSaldoAvailable
in interfaceWebAccountInformation
- Returns:
- the saldoAvailable
-
getSavePath
public java.lang.String 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:
WebAccountInformation.saveInformationInAccount(de.willuhn.util.ProgressMonitor)
-
setBic
public void setBic(java.lang.String bic)
- Parameters:
bic
- the bic to set
-
setComment
public void setComment(java.lang.String comment)
Description copied from interface:WebAccountInformation
Sets the comment.- Specified by:
setComment
in interfaceWebAccountInformation
- Parameters:
comment
- the comment to set
-
setIban
public void setIban(java.lang.String iban)
- 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
public void setLastTransactionDate(java.util.Date lastTransactionDate)
Description copied from interface:WebAccountInformation
Sets the last transaction date.- Specified by:
setLastTransactionDate
in interfaceWebAccountInformation
- Parameters:
lastTransactionDate
- the lastTransactionDate to set
-
setSaldo
public void setSaldo(java.math.BigDecimal saldo)
Description copied from interface:WebAccountInformation
Sets the saldo.- Specified by:
setSaldo
in interfaceWebAccountInformation
- Parameters:
saldo
- the saldo to set
-
setSaldoAvailable
public void setSaldoAvailable(java.math.BigDecimal saldoAvailable)
Description copied from interface:WebAccountInformation
Sets the saldo available.- Specified by:
setSaldoAvailable
in interfaceWebAccountInformation
- Parameters:
saldoAvailable
- the saldoAvailable to set
-
setSavePath
public void setSavePath(java.lang.String savePath)
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
-
-