Liferay 6.1.2-ce-ga3

com.liferay.portal.upgrade.v6_1_0
Class UpgradeMessageBoards

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.UpgradeMessageBoards
All Implemented Interfaces:
DBProcess

public class UpgradeMessageBoards
extends UpgradeProcess


Constructor Summary
UpgradeMessageBoards()
           
 
Method Summary
protected  void addThreadFlag(long threadFlagId, long userId, long threadId, Timestamp modifiedDate)
           
protected  void doUpgrade()
           
protected  void updateMessage()
           
protected  void updateMessageAnswer(long messageId, boolean answer)
           
protected  void updateMessageBody(long messageId, String body)
           
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, 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

UpgradeMessageBoards

public UpgradeMessageBoards()
Method Detail

addThreadFlag

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

doUpgrade

protected void doUpgrade()
                  throws Exception
Overrides:
doUpgrade in class UpgradeProcess
Throws:
Exception

updateMessage

protected void updateMessage()
                      throws Exception
Throws:
Exception

updateMessageAnswer

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

updateMessageBody

protected void updateMessageBody(long messageId,
                                 String body)
                          throws Exception
Throws:
Exception

updateThread

protected void updateThread()
                     throws Exception
Throws:
Exception

updateThreadFlag

protected void updateThreadFlag()
                         throws Exception
Throws:
Exception

updateThreadQuestion

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

Liferay 6.1.2-ce-ga3