com.liferay.portal.upgrade.v6_1_0
Class UpgradeSubscription
java.lang.Object
com.liferay.portal.kernel.dao.db.BaseDBProcess
com.liferay.portal.kernel.upgrade.UpgradeProcess
com.liferay.portal.upgrade.v6_1_0.UpgradeSubscription
- All Implemented Interfaces:
- DBProcess
public class UpgradeSubscription
- extends UpgradeProcess
Method Summary |
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)
|
Methods inherited from class com.liferay.portal.kernel.upgrade.UpgradeProcess |
getThreshold, hasTable, increment, increment, isSupportsAlterColumnName, isSupportsAlterColumnType, isSupportsStringCaseSensitiveQuery, isSupportsUpdateWithInnerJoin, tableHasColumn, tableHasData, 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()
addSubscription
protected void addSubscription(long subscriptionId,
long companyId,
long userId,
String userName,
Timestamp createDate,
Timestamp modifiedDate,
long classNameId,
long classPK,
String frequency)
throws Exception
- Throws:
Exception
doUpgrade
protected void doUpgrade()
throws Exception
- Overrides:
doUpgrade
in class UpgradeProcess
- Throws:
Exception
hasSubscription
protected boolean hasSubscription(long companyId,
long userId,
long classNameId,
long classPK)
throws Exception
- Throws:
Exception
updateMBMessages
protected void updateMBMessages(long companyId)
throws Exception
- Throws:
Exception