public class PortalUpgradeProcess
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 |
---|
PortalUpgradeProcess() |
Modifier and Type | Method and Description |
---|---|
protected void |
doUpgrade() |
static com.liferay.portal.kernel.version.Version |
getCurrentSchemaVersion(Connection connection) |
static com.liferay.portal.kernel.version.Version |
getLatestSchemaVersion() |
protected Set<com.liferay.portal.kernel.version.Version> |
getPendingSchemaVersions(com.liferay.portal.kernel.version.Version fromSchemaVersion) |
static com.liferay.portal.kernel.version.Version |
getRequiredSchemaVersion() |
static boolean |
isInLatestSchemaVersion(Connection connection) |
static boolean |
isInRequiredSchemaVersion(Connection connection) |
protected void |
updateSchemaVersion(com.liferay.portal.kernel.version.Version newSchemaVersion) |
alter, clearIndexesCache, getIndexesSQL, getTableColumnsMap, getTableName, getThreshold, increment, increment, increment, isPortal62TableName, isSkipUpgradeProcess, isSupportsAlterColumnName, isSupportsAlterColumnType, isSupportsStringCaseSensitiveQuery, isSupportsUpdateWithInnerJoin, normalizeName, upgrade, upgrade, upgrade, upgrade, upgradeTable, upgradeTable
public static com.liferay.portal.kernel.version.Version getCurrentSchemaVersion(Connection connection) throws SQLException
SQLException
public static com.liferay.portal.kernel.version.Version getLatestSchemaVersion()
public static com.liferay.portal.kernel.version.Version getRequiredSchemaVersion()
public static boolean isInLatestSchemaVersion(Connection connection) throws SQLException
SQLException
public static boolean isInRequiredSchemaVersion(Connection connection) throws SQLException
SQLException
protected void doUpgrade() throws Exception
doUpgrade
in class com.liferay.portal.kernel.upgrade.UpgradeProcess
Exception
protected Set<com.liferay.portal.kernel.version.Version> getPendingSchemaVersions(com.liferay.portal.kernel.version.Version fromSchemaVersion)
protected void updateSchemaVersion(com.liferay.portal.kernel.version.Version newSchemaVersion) throws SQLException
SQLException