public class UpgradeRatings
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 |
|---|
UpgradeRatings() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doUpgrade() |
protected void |
upgradeRatingsEntry() |
protected void |
upgradeRatingsEntry(long classNameId) |
protected void |
upgradeRatingsEntryStars(long classNameId,
int normalizationFactor) |
protected void |
upgradeRatingsEntryThumbs(long classNameId) |
protected void |
upgradeRatingsStats() |
alter, clearIndexesCache, getIndexesSQL, getThreshold, increment, increment, increment, isSupportsAlterColumnName, isSupportsAlterColumnType, isSupportsStringCaseSensitiveQuery, isSupportsUpdateWithInnerJoin, normalizeName, upgrade, upgrade, upgrade, upgrade, upgradeTable, upgradeTableprotected void doUpgrade()
throws Exception
doUpgrade in class com.liferay.portal.kernel.upgrade.UpgradeProcessExceptionprotected void upgradeRatingsEntry(long classNameId)
throws Exception
Exceptionprotected void upgradeRatingsEntryStars(long classNameId,
int normalizationFactor)
throws Exception
Exceptionprotected void upgradeRatingsEntryThumbs(long classNameId)
throws Exception
Exception