public interface DbUpdateHandler extends Comparable<DbUpdateHandler>
| Modifier and Type | Field and Description |
|---|---|
static int |
PRIORITY_APP |
static int |
PRIORITY_PLUGIN |
static int |
PRIORITY_PLUGIN_RELATION |
| Modifier and Type | Method and Description |
|---|---|
long |
getDbVersion(Connection c,
DbExtension dbExtension) |
String |
getId() |
long |
getLocalVersion() |
String |
getParentUpdateId(long version) |
Long |
getParentUpdateVersion(long version) |
int |
getPriority() |
String |
getUninstallQuery() |
void |
register(Connection c,
AbstractDbDriver dbDriver,
DbExtension dbExtension,
long version) |
void |
update(Connection c,
AbstractDbDriver dbDriver,
long version) |
void |
updateFinish(Connection c,
AbstractDbDriver dbDriver,
long version) |
void |
updateFinished(Connection c,
AbstractDbDriver dbDriver,
DbExtension dbExtension,
long oldDbVersion,
long newDbVersion) |
compareTostatic final int PRIORITY_APP
static final int PRIORITY_PLUGIN
static final int PRIORITY_PLUGIN_RELATION
long getDbVersion(Connection c, DbExtension dbExtension) throws SQLException, IOException
SQLExceptionIOExceptionlong getLocalVersion()
String getId()
String getParentUpdateId(long version)
Long getParentUpdateVersion(long version)
int getPriority()
String getUninstallQuery()
void register(Connection c, AbstractDbDriver dbDriver, DbExtension dbExtension, long version) throws SQLException, IOException
SQLExceptionIOExceptionvoid update(Connection c, AbstractDbDriver dbDriver, long version) throws SQLException, IOException
SQLExceptionIOExceptionvoid updateFinish(Connection c, AbstractDbDriver dbDriver, long version) throws SQLException, IOException
SQLExceptionIOExceptionvoid updateFinished(Connection c, AbstractDbDriver dbDriver, DbExtension dbExtension, long oldDbVersion, long newDbVersion) throws SQLException, IOException
SQLExceptionIOExceptionCopyright © 2015 OpenEstate. All rights reserved.