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
public abstract class AbstractAccountMigrator extends java.lang.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 java.lang.String
I18N_UPDATE_TO_VERSION
I18N translation key for update to version string
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractAccountMigrator()
Standardkonstruktor
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods 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 PLuginabstract void
update(de.willuhn.jameica.hbci.rmi.Konto account)
Started die eigentliche Migration.
-
-
-
Field Detail
-
I18N_UPDATE_TO_VERSION
protected static final java.lang.String I18N_UPDATE_TO_VERSION
I18N translation key for update to version string- See Also:
- Constant Field Values
-
-
Method Detail
-
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 interfaceAccountMigrator
- Parameters:
plugin
- das zu überprüfende Plugin- Throws:
de.willuhn.util.ApplicationException
- See Also:
AccountMigrator.migrate(Plugin)
-
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 interfaceAccountMigrator
- Throws:
de.willuhn.util.ApplicationException
- See Also:
AccountMigrator.migrate(Plugin)
-
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
-
-