Class AbstractAccountMigrator

java.lang.Object
de.frankmuenster.mahoe.assistant.AbstractAccountMigrator
All Implemented Interfaces:
AccountMigrator
Direct Known Subclasses:
AktienAccountMigrator, BshAccountMigrator, SantanderAccountMigrator, TargoBankAccountMigrator

public abstract class AbstractAccountMigrator extends Object implements AccountMigrator
Abstrakter KonteMigrator. Stellt die Plugin-Deinstallation zur Verfügung.
Author:
Frank Münster
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected static final String
    I18N translation key for update to version string
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Standardkonstruktor
  • Method Summary

    Modifier and Type
    Method
    Description
    abstract void
    migrate(de.willuhn.jameica.plugin.Plugin plugin)
    Started die eigentliche Migration.
    protected void
    uninstallPlugin(de.willuhn.jameica.plugin.Plugin plugin)
    Entfernt ein PLugin
    abstract void
    update(de.willuhn.jameica.hbci.rmi.Konto account)
    Started die eigentliche Migration.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • I18N_UPDATE_TO_VERSION

      protected static final String I18N_UPDATE_TO_VERSION
      I18N translation key for update to version string
      See Also:
  • Constructor Details

    • AbstractAccountMigrator

      protected AbstractAccountMigrator()
      Standardkonstruktor
  • Method Details

    • migrate

      public abstract void migrate(de.willuhn.jameica.plugin.Plugin plugin) throws de.willuhn.util.ApplicationException
      Description copied from interface: AccountMigrator
      Started die eigentliche Migration. Es werden der Reihe nach alle installierten Plugins übergeben. Die Klasse ist dann selbst dafür zuständig , zu überprüfen, ob sie ein altes PLugins ersetzt und eine Migration durchgeführt werden muss/kann.
      Specified by:
      migrate in interface AccountMigrator
      Parameters:
      plugin - das zu überprüfende Plugin
      Throws:
      de.willuhn.util.ApplicationException
      See Also:
    • update

      public abstract void update(de.willuhn.jameica.hbci.rmi.Konto account) throws de.willuhn.util.ApplicationException
      Description copied from interface: AccountMigrator
      Started die eigentliche Migration. Es werden der Reihe nach alle Konten übergeben. Die Klasse ist dann selbst dafür zuständig, zu überprüfen, ob sie für ein Konto zuständig ist oder nicht.
      Specified by:
      update in interface AccountMigrator
      Throws:
      de.willuhn.util.ApplicationException
      See Also:
    • uninstallPlugin

      protected void uninstallPlugin(de.willuhn.jameica.plugin.Plugin plugin) throws de.willuhn.util.ApplicationException
      Entfernt ein PLugin
      Parameters:
      plugin -
      Throws:
      de.willuhn.util.ApplicationException