Liferay 6.1.2-ce-ga3

com.liferay.portal.upgrade.v6_1_0
Class UpgradeSubscription

java.lang.Object
  extended by com.liferay.portal.kernel.dao.db.BaseDBProcess
      extended by com.liferay.portal.kernel.upgrade.UpgradeProcess
          extended by com.liferay.portal.upgrade.v6_1_0.UpgradeSubscription
All Implemented Interfaces:
DBProcess

public class UpgradeSubscription
extends UpgradeProcess


Constructor Summary
UpgradeSubscription()
           
 
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 com.liferay.portal.kernel.dao.db.BaseDBProcess
runSQL, runSQL, runSQLTemplate, runSQLTemplate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UpgradeSubscription

public UpgradeSubscription()
Method Detail

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

Liferay 6.1.2-ce-ga3