I
- the bank specific CreateInfo
classK
- the bank specific AbstractCreateAccountDialog
classpublic abstract class AbstractCreateAccountAssistant<I extends CreateInfo,K extends AbstractCreateAccountDialog<I>> extends java.lang.Object implements CreateAccountAssistant
Abstract class to create an account. Show the dialog, creates a new account and set default/basic values. Then calls the specific setup routine, which must be implemented by all sub classes.
The abstract class handles the following properties form the
CreateInfo
class object:
Constructor and Description |
---|
AbstractCreateAccountAssistant()
Standardkonstruktor
|
Modifier and Type | Method and Description |
---|---|
de.willuhn.jameica.hbci.rmi.Konto |
createAccount()
Erstellt ein neues Konto.
|
abstract K |
getDialog() |
protected abstract void |
setBankSpecificAccountParameter(de.willuhn.jameica.hbci.rmi.Konto konto,
I info)
Set the bank specific account parameters.
|
protected abstract void |
setBankSpecificMetaData(I info,
de.willuhn.jameica.hbci.rmi.Konto konto)
Set the bank specific parameters.
|
public AbstractCreateAccountAssistant()
public de.willuhn.jameica.hbci.rmi.Konto createAccount() throws CreateAccountException, de.willuhn.jameica.system.OperationCanceledException
CreateAccountAssistant
createAccount
in interface CreateAccountAssistant
CreateAccountException
de.willuhn.jameica.system.OperationCanceledException
CreateAccountAssistant.createAccount()
public abstract K getDialog() throws CreateAccountException
CreateAccountException
protected abstract void setBankSpecificAccountParameter(de.willuhn.jameica.hbci.rmi.Konto konto, I info) throws java.rmi.RemoteException
kto
,
blz
and kundenkennung
.konto
- the account to add KTO and BLZinfo
- the account information for the new accountjava.rmi.RemoteException
protected abstract void setBankSpecificMetaData(I info, de.willuhn.jameica.hbci.rmi.Konto konto) throws java.rmi.RemoteException, de.willuhn.util.ApplicationException
info
- the info object from the dialogkonto
- the account createdjava.rmi.RemoteException
de.willuhn.util.ApplicationException