public class UpgradeSubscription
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 |
|---|
UpgradeSubscription() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addSubscription(long subscriptionId,
long companyId,
long userId,
String userName,
Timestamp createDate,
Timestamp modifiedDate,
long classNameId,
long classPK,
String frequency) |
protected void |
doUpgrade() |
protected boolean |
hasSubscription(long companyId,
long userId,
long classNameId,
long classPK) |
protected void |
updateMBMessages(long companyId) |
alter, clearIndexesCache, getIndexesSQL, getThreshold, increment, increment, increment, isSupportsAlterColumnName, isSupportsAlterColumnType, isSupportsStringCaseSensitiveQuery, isSupportsUpdateWithInnerJoin, normalizeName, upgrade, upgrade, upgrade, upgrade, upgradeTable, upgradeTableprotected void addSubscription(long subscriptionId,
long companyId,
long userId,
String userName,
Timestamp createDate,
Timestamp modifiedDate,
long classNameId,
long classPK,
String frequency)
throws Exception
Exceptionprotected void doUpgrade()
throws Exception
doUpgrade in class com.liferay.portal.kernel.upgrade.UpgradeProcessExceptionprotected boolean hasSubscription(long companyId,
long userId,
long classNameId,
long classPK)
throws Exception
Exception