public final class UpgraderStore extends JdbcAbstractStore
JdbcAbstractStore.Creator<T>, JdbcAbstractStore.DataType, JdbcAbstractStore.EntityPopulator<T>, JdbcAbstractStore.SqlOperation<R>, JdbcAbstractStore.StatementValues<T>
datasource
Constructor and Description |
---|
UpgraderStore(javax.sql.DataSource dataSource) |
Modifier and Type | Method and Description |
---|---|
java.util.List<ComponentVersion> |
getComponentsVersion() |
boolean |
needsMigration() |
void |
store(Upgrader value) |
void |
updateComponentVersion(java.lang.String component,
java.lang.String version) |
boolean |
upgraderCompleted(java.lang.String upgraderId,
java.lang.String server,
Database database) |
boolean |
upgraderRegistered(java.lang.String upgraderId,
java.lang.String server,
Database database) |
batchInsert, batchInsert, delete, delete, delete, doOrContinue, doOrFail, getConnection, insert, insert, insert, insert, insertAndReturn, insertWithSerial, lastInsertId, select, select, select, unique, unique, unique, unique, unique, update, update, update, update, update
public UpgraderStore(javax.sql.DataSource dataSource)
dataSource
- public void store(Upgrader value)
public boolean upgraderCompleted(java.lang.String upgraderId, java.lang.String server, Database database) throws java.sql.SQLException
java.sql.SQLException
public java.util.List<ComponentVersion> getComponentsVersion() throws java.sql.SQLException
java.sql.SQLException
public void updateComponentVersion(java.lang.String component, java.lang.String version) throws java.sql.SQLException
java.sql.SQLException
public boolean upgraderRegistered(java.lang.String upgraderId, java.lang.String server, Database database) throws java.sql.SQLException
java.sql.SQLException
public boolean needsMigration() throws java.sql.SQLException
java.sql.SQLException
Copyright © 2021. All Rights Reserved.