Class AbstractCreateAccountAssistant<I extends CreateInfo,K extends AbstractCreateAccountDialog<I>>

java.lang.Object
de.frankmuenster.mahoe.assistant.AbstractCreateAccountAssistant<I,K>
Type Parameters:
I - the bank specific CreateInfo class
K - the bank specific AbstractCreateAccountDialog class
All Implemented Interfaces:
CreateAccountAssistant
Direct Known Subclasses:
AktienCreateAccountAssistent, BosCreateAccountAssistent, BshCreateAccountAssistent, SantanderCreateAccountAssistent, TargoBankCreateAccountAssistent

public abstract class AbstractCreateAccountAssistant<I extends CreateInfo,K extends AbstractCreateAccountDialog<I>> extends 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:

  • Account type
  • Comment
  • Description
  • Owner
  • Save account sheets
  • Save folder

Author:
Frank Münster
  • Constructor Details

    • AbstractCreateAccountAssistant

      protected AbstractCreateAccountAssistant()
      Standardkonstruktor
  • Method Details

    • createAccount

      public de.willuhn.jameica.hbci.rmi.Konto createAccount() throws CreateAccountException, de.willuhn.jameica.system.OperationCanceledException
      Description copied from interface: CreateAccountAssistant
      Erstellt ein neues Konto.
      Specified by:
      createAccount in interface CreateAccountAssistant
      Returns:
      das neue Konto
      Throws:
      CreateAccountException
      de.willuhn.jameica.system.OperationCanceledException
      See Also:
    • getDialog

      public abstract K getDialog() throws CreateAccountException
      Returns:
      the account specific dialog
      Throws:
      CreateAccountException
    • setBankSpecificAccountParameter

      protected abstract void setBankSpecificAccountParameter(de.willuhn.jameica.hbci.rmi.Konto konto, I info) throws RemoteException
      Set the bank specific account parameters. At least kto, blz and kundenkennung.
      Parameters:
      konto - the account to add KTO and BLZ
      info - the account information for the new account
      Throws:
      RemoteException
    • setBankSpecificMetaData

      protected abstract void setBankSpecificMetaData(I info, de.willuhn.jameica.hbci.rmi.Konto konto) throws RemoteException, de.willuhn.util.ApplicationException
      Set the bank specific parameters. The subclass implementation needs to take care about storing added/updated values.
      Parameters:
      info - the info object from the dialog
      konto - the account created
      Throws:
      RemoteException
      de.willuhn.util.ApplicationException