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() |
protected static aQute.bnd.version.Version |
getCurrentSchemaVersion(java.sql.Connection connection) |
static aQute.bnd.version.Version |
getLatestSchemaVersion() |
protected java.util.Set<aQute.bnd.version.Version> |
getPendingSchemaVersions(aQute.bnd.version.Version fromSchemaVersion) |
static aQute.bnd.version.Version |
getRequiredSchemaVersion() |
static boolean |
isInLatestSchemaVersion(java.sql.Connection connection) |
static boolean |
isInRequiredSchemaVersion(java.sql.Connection connection) |
protected void |
updateSchemaVersion(aQute.bnd.version.Version newSchemaVersion) |
alter, clearIndexesCache, getIndexesSQL, getTableName, getThreshold, increment, increment, increment, isPortal62TableName, isSupportsAlterColumnName, isSupportsAlterColumnType, isSupportsStringCaseSensitiveQuery, isSupportsUpdateWithInnerJoin, normalizeName, upgrade, upgrade, upgrade, upgrade, upgradeTable, upgradeTablepublic static aQute.bnd.version.Version getLatestSchemaVersion()
public static aQute.bnd.version.Version getRequiredSchemaVersion()
public static boolean isInLatestSchemaVersion(java.sql.Connection connection)
throws java.sql.SQLException
java.sql.SQLExceptionpublic static boolean isInRequiredSchemaVersion(java.sql.Connection connection)
throws java.sql.SQLException
java.sql.SQLExceptionprotected static aQute.bnd.version.Version getCurrentSchemaVersion(java.sql.Connection connection)
throws java.sql.SQLException
java.sql.SQLExceptionprotected void doUpgrade()
throws java.lang.Exception
doUpgrade in class com.liferay.portal.kernel.upgrade.UpgradeProcessjava.lang.Exceptionprotected java.util.Set<aQute.bnd.version.Version> getPendingSchemaVersions(aQute.bnd.version.Version fromSchemaVersion)
protected void updateSchemaVersion(aQute.bnd.version.Version newSchemaVersion)
throws java.sql.SQLException
java.sql.SQLException