Package de.frankmuenster.mahoe.assistant
Class AbstractAccountMigrator
java.lang.Object
de.frankmuenster.mahoe.assistant.AbstractAccountMigrator
- All Implemented Interfaces:
AccountMigrator
- Direct Known Subclasses:
AktienAccountMigrator,BshAccountMigrator,SantanderAccountMigrator,TargoBankAccountMigrator
Abstrakter KonteMigrator. Stellt die Plugin-Deinstallation zur Verfügung.
- Author:
- Frank Münster
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final StringI18N translation key for update to version string -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voidmigrate(de.willuhn.jameica.plugin.Plugin plugin) Started die eigentliche Migration.protected voiduninstallPlugin(de.willuhn.jameica.plugin.Plugin plugin) Entfernt ein PLuginabstract voidupdate(de.willuhn.jameica.hbci.rmi.Konto account) Started die eigentliche Migration.
-
Field Details
-
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:AccountMigratorStarted 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:
migratein interfaceAccountMigrator- 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:AccountMigratorStarted 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:
updatein interfaceAccountMigrator- 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
-