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