com.liferay.portal.upgrade.v7_0_0
Class UpgradeSubscription
java.lang.Object
com.liferay.portal.kernel.dao.db.BaseDBProcess
com.liferay.portal.kernel.upgrade.UpgradeProcess
com.liferay.portal.upgrade.v7_0_0.UpgradeSubscription
- All Implemented Interfaces:
- DBProcess, UpgradeStep
public class UpgradeSubscription
- extends UpgradeProcess
| Methods inherited from class com.liferay.portal.kernel.upgrade.UpgradeProcess |
getThreshold, increment, increment, isSupportsAlterColumnName, isSupportsAlterColumnType, isSupportsStringCaseSensitiveQuery, isSupportsUpdateWithInnerJoin, upgrade, upgrade, upgrade, upgrade, upgradeTable, upgradeTable |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UpgradeSubscription
public UpgradeSubscription()
addClassName
protected void addClassName(long classNameId,
String className)
throws Exception
- Throws:
Exception
deleteOrphanedSubscriptions
protected void deleteOrphanedSubscriptions()
throws Exception
- Throws:
Exception
doUpgrade
protected void doUpgrade()
throws Exception
- Specified by:
doUpgrade in class UpgradeProcess
- Throws:
Exception
getClassNameId
protected long getClassNameId(String className)
throws Exception
- Throws:
Exception
getGroupId
protected long getGroupId(long classNameId,
long classPK)
throws Exception
- Throws:
Exception
hasGroup
protected boolean hasGroup(long groupId)
throws Exception
- Throws:
Exception
updateSubscriptionClassNames
protected void updateSubscriptionClassNames(String oldClassName,
String newClassName)
throws Exception
- Throws:
Exception
updateSubscriptionGroupId
protected void updateSubscriptionGroupId(long subscriptionId,
long classNameId,
long classPK)
throws Exception
- Throws:
Exception
updateSubscriptionGroupIds
protected void updateSubscriptionGroupIds()
throws Exception
- Throws:
Exception