public abstract class BaseUpgradeResourceBlock
extends com.liferay.portal.kernel.upgrade.UpgradeProcess
com.liferay.portal.kernel.upgrade.UpgradeProcess.Alterable, com.liferay.portal.kernel.upgrade.UpgradeProcess.AlterColumnName, com.liferay.portal.kernel.upgrade.UpgradeProcess.AlterColumnType, com.liferay.portal.kernel.upgrade.UpgradeProcess.AlterTableAddColumn, com.liferay.portal.kernel.upgrade.UpgradeProcess.AlterTableDropColumn| Constructor and Description |
|---|
BaseUpgradeResourceBlock() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doUpgrade() |
protected abstract String |
getClassName() |
protected abstract String |
getPrimaryKeyName() |
protected Class<?> |
getTableClass()
Deprecated.
As of Cavanaugh (7.4.x), replaced by
getTableName() |
protected abstract String |
getTableName() |
protected abstract boolean |
hasUserId() |
addTempIndex, alter, clearIndexesCache, ensureTableExists, getConnection, getIndexesSQL, getIndexSQLs, getTableColumnsMap, getTableName, getThreshold, increment, increment, increment, isPortal62TableName, isSkipUpgradeProcess, isSupportsAlterColumnName, isSupportsAlterColumnType, isSupportsStringCaseSensitiveQuery, isSupportsUpdateWithInnerJoin, updateIndexes, upgrade, upgrade, upgrade, upgradeTable, upgradeTableaddIndexes, alterColumnName, alterColumnType, alterTableAddColumn, alterTableDropColumn, doHasTable, dropIndexes, getPrimaryKeyColumnNames, hasColumn, hasColumnType, hasIndex, hasRows, hasRows, hasTable, process, processConcurrently, processConcurrently, removePrimaryKey, runSQL, runSQL, runSQL, runSQL, runSQLTemplate, runSQLTemplate, runSQLTemplateString, runSQLTemplateStringprotected void doUpgrade()
throws Exception
doUpgrade in class com.liferay.portal.kernel.upgrade.UpgradeProcessExceptionprotected abstract String getClassName()
protected abstract String getPrimaryKeyName()
@Deprecated protected Class<?> getTableClass()
getTableName()protected abstract String getTableName()
protected abstract boolean hasUserId()