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) |
compareTo
static final int PRIORITY_APP
static final int PRIORITY_PLUGIN
static final int PRIORITY_PLUGIN_RELATION
long getDbVersion(Connection c, DbExtension dbExtension) throws SQLException, IOException
SQLException
IOException
long 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
SQLException
IOException
void update(Connection c, AbstractDbDriver dbDriver, long version) throws SQLException, IOException
SQLException
IOException
void updateFinish(Connection c, AbstractDbDriver dbDriver, long version) throws SQLException, IOException
SQLException
IOException
void updateFinished(Connection c, AbstractDbDriver dbDriver, DbExtension dbExtension, long oldDbVersion, long newDbVersion) throws SQLException, IOException
SQLException
IOException
Copyright © 2015 OpenEstate. All rights reserved.