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 |
addClassName(long classNameId,
String className) |
protected void |
deleteOrphanedSubscriptions() |
protected void |
doUpgrade() |
protected long |
getClassNameId(String className) |
protected long |
getGroupId(long classNameId,
long classPK) |
protected boolean |
hasGroup(long groupId) |
protected void |
updateSubscriptionClassNames(String oldClassName,
String newClassName) |
protected void |
updateSubscriptionGroupId(long subscriptionId,
long classNameId,
long classPK)
Deprecated.
As of 7.0.0, with no direct replacement
|
protected void |
updateSubscriptionGroupIds() |
alter, clearIndexesCache, getIndexesSQL, getThreshold, increment, increment, increment, isSupportsAlterColumnName, isSupportsAlterColumnType, isSupportsStringCaseSensitiveQuery, isSupportsUpdateWithInnerJoin, normalizeName, upgrade, upgrade, upgrade, upgrade, upgradeTable, upgradeTableprotected void addClassName(long classNameId,
String className)
throws Exception
Exceptionprotected void deleteOrphanedSubscriptions()
throws Exception
Exceptionprotected void doUpgrade()
throws Exception
doUpgrade in class com.liferay.portal.kernel.upgrade.UpgradeProcessExceptionprotected long getGroupId(long classNameId,
long classPK)
throws Exception
Exceptionprotected void updateSubscriptionClassNames(String oldClassName, String newClassName) throws Exception
Exception@Deprecated protected void updateSubscriptionGroupId(long subscriptionId, long classNameId, long classPK) throws Exception
Exception