public abstract class RenameUpgradePortalPreferences extends UpgradeProcess
UpgradeProcess.Alterable, UpgradeProcess.AlterColumnName, UpgradeProcess.AlterColumnType, UpgradeProcess.AlterTableAddColumn, UpgradeProcess.AlterTableDropColumn
connection
Constructor and Description |
---|
RenameUpgradePortalPreferences() |
Modifier and Type | Method and Description |
---|---|
protected void |
doUpgrade() |
protected abstract Map<String,String> |
getPreferenceNamesMap() |
protected void |
updatePreferences(String tableName,
String primaryKeyColumnName,
String oldValue,
String newValue) |
protected void |
updatePreferences(String tableName,
String primaryKeyColumnName,
String oldValue,
String newValue,
long primaryKey,
String preferences) |
alter, clearIndexesCache, getIndexesSQL, getTableName, getThreshold, increment, increment, increment, isSupportsAlterColumnName, isSupportsAlterColumnType, isSupportsStringCaseSensitiveQuery, isSupportsUpdateWithInnerJoin, normalizeName, upgrade, upgrade, upgrade, upgrade, upgradeTable, upgradeTable
doHasTable, hasColumn, hasColumnType, hasRows, hasRows, hasTable, runSQL, runSQL, runSQL, runSQL, runSQLTemplate, runSQLTemplate, runSQLTemplateString
protected void doUpgrade() throws Exception
doUpgrade
in class UpgradeProcess
Exception
protected abstract Map<String,String> getPreferenceNamesMap()
protected void updatePreferences(String tableName, String primaryKeyColumnName, String oldValue, String newValue) throws Exception
Exception
protected void updatePreferences(String tableName, String primaryKeyColumnName, String oldValue, String newValue, long primaryKey, String preferences) throws Exception
Exception