Liferay 7.0-ce-a2

com.liferay.portal.upgrade.v7_0_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.v7_0_0.UpgradeSubscription
All Implemented Interfaces:
DBProcess, UpgradeStep

public class UpgradeSubscription
extends UpgradeProcess


Constructor Summary
UpgradeSubscription()
           
 
Method Summary
protected  void doUpgrade()
           
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)
           
protected  void updateSubscriptionGroupIds()
           
 
Methods inherited from class com.liferay.portal.kernel.upgrade.UpgradeProcess
doHasTable, getThreshold, hasTable, increment, increment, isSupportsAlterColumnName, isSupportsAlterColumnType, isSupportsStringCaseSensitiveQuery, isSupportsUpdateWithInnerJoin, tableHasColumn, tableHasData, upgrade, upgrade, upgrade, upgrade, upgradeTable, upgradeTable
 
Methods inherited from class com.liferay.portal.kernel.dao.db.BaseDBProcess
runSQL, runSQL, runSQLTemplate, runSQLTemplate, runSQLTemplateString
 
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

doUpgrade

protected void doUpgrade()
                  throws Exception
Overrides:
doUpgrade in class UpgradeProcess
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

Liferay 7.0-ce-a2