Package de.willuhn.jameica.hbci.server
Class HBCIUpdateProvider
- java.lang.Object
-
- de.willuhn.jameica.hbci.server.HBCIUpdateProvider
-
- All Implemented Interfaces:
de.willuhn.sql.version.UpdateProvider
public class HBCIUpdateProvider extends java.lang.Object implements de.willuhn.sql.version.UpdateProvider
Implementierung eines Update-Providers fuer Hibiscus.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
HBCIUpdateProvider(java.sql.Connection conn, Version version)
ct
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.sql.Connection
getConnection()
int
getCurrentVersion()
de.willuhn.util.ProgressMonitor
getProgressMonitor()
de.willuhn.jameica.plugin.PluginResources
getResources()
Liefert die Plugin-Ressourcen.java.io.File
getUpdatePath()
void
setNewVersion(int newVersion)
-
-
-
Constructor Detail
-
HBCIUpdateProvider
protected HBCIUpdateProvider(java.sql.Connection conn, Version version)
ct- Parameters:
conn
- Datenbank-Verbindung.version
- Version der Datenbank.
-
-
Method Detail
-
getConnection
public java.sql.Connection getConnection() throws de.willuhn.util.ApplicationException
- Specified by:
getConnection
in interfacede.willuhn.sql.version.UpdateProvider
- Throws:
de.willuhn.util.ApplicationException
- See Also:
UpdateProvider.getConnection()
-
getCurrentVersion
public int getCurrentVersion() throws de.willuhn.util.ApplicationException
- Specified by:
getCurrentVersion
in interfacede.willuhn.sql.version.UpdateProvider
- Throws:
de.willuhn.util.ApplicationException
- See Also:
UpdateProvider.getCurrentVersion()
-
getProgressMonitor
public de.willuhn.util.ProgressMonitor getProgressMonitor()
- Specified by:
getProgressMonitor
in interfacede.willuhn.sql.version.UpdateProvider
- See Also:
UpdateProvider.getProgressMonitor()
-
getUpdatePath
public java.io.File getUpdatePath() throws de.willuhn.util.ApplicationException
- Specified by:
getUpdatePath
in interfacede.willuhn.sql.version.UpdateProvider
- Throws:
de.willuhn.util.ApplicationException
- See Also:
UpdateProvider.getUpdatePath()
-
setNewVersion
public void setNewVersion(int newVersion) throws de.willuhn.util.ApplicationException
- Specified by:
setNewVersion
in interfacede.willuhn.sql.version.UpdateProvider
- Throws:
de.willuhn.util.ApplicationException
- See Also:
UpdateProvider.setNewVersion(int)
-
getResources
public de.willuhn.jameica.plugin.PluginResources getResources()
Liefert die Plugin-Ressourcen.- Returns:
- die Plugin-Ressourcen.
-
-