com.liferay.portal.upgrade.v6_0_12_to_6_1_0
Class UpgradeMessageBoards

java.lang.Object
  extended by com.liferay.portal.kernel.upgrade.UpgradeProcess
      extended by com.liferay.portal.upgrade.v6_0_12_to_6_1_0.UpgradeMessageBoards

public class UpgradeMessageBoards
extends com.liferay.portal.kernel.upgrade.UpgradeProcess

Author:
Shuyang Zhou

Constructor Summary
UpgradeMessageBoards()
           
 
Method Summary
protected  void addThreadFlag(long threadFlagId, long userId, long threadId, java.sql.Timestamp modifiedDate)
           
protected  void doUpgrade()
           
protected  void updateMessage()
           
protected  void updateMessageAnswer(long messageId, boolean answer)
           
protected  void updateThread()
           
protected  void updateThreadFlag()
           
protected  void updateThreadQuestion(long threadId, boolean question)
           
 
Methods inherited from class com.liferay.portal.kernel.upgrade.UpgradeProcess
getThreshold, hasTable, increment, increment, isSupportsAlterColumnName, isSupportsAlterColumnType, isSupportsStringCaseSensitiveQuery, isSupportsUpdateWithInnerJoin, runSQL, runSQL, runSQLTemplate, runSQLTemplate, tableHasColumn, tableHasData, upgrade, upgrade, upgrade
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UpgradeMessageBoards

public UpgradeMessageBoards()
Method Detail

addThreadFlag

protected void addThreadFlag(long threadFlagId,
                             long userId,
                             long threadId,
                             java.sql.Timestamp modifiedDate)
                      throws java.lang.Exception
Throws:
java.lang.Exception

doUpgrade

protected void doUpgrade()
                  throws java.lang.Exception
Overrides:
doUpgrade in class com.liferay.portal.kernel.upgrade.UpgradeProcess
Throws:
java.lang.Exception

updateMessage

protected void updateMessage()
                      throws java.lang.Exception
Throws:
java.lang.Exception

updateMessageAnswer

protected void updateMessageAnswer(long messageId,
                                   boolean answer)
                            throws java.lang.Exception
Throws:
java.lang.Exception

updateThread

protected void updateThread()
                     throws java.lang.Exception
Throws:
java.lang.Exception

updateThreadFlag

protected void updateThreadFlag()
                         throws java.lang.Exception
Throws:
java.lang.Exception

updateThreadQuestion

protected void updateThreadQuestion(long threadId,
                                    boolean question)
                             throws java.lang.Exception
Throws:
java.lang.Exception