com.liferay.portal.upgrade.v6_0_12_to_6_1_0
Class UpgradeMessageBoards
java.lang.Object
com.liferay.portal.kernel.dao.db.BaseDBProcess
com.liferay.portal.kernel.upgrade.UpgradeProcess
com.liferay.portal.upgrade.v6_0_12_to_6_1_0.UpgradeMessageBoards
- All Implemented Interfaces:
- DBProcess
public class UpgradeMessageBoards
- extends UpgradeProcess
Methods inherited from class com.liferay.portal.kernel.upgrade.UpgradeProcess |
doHasTable, 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 |
UpgradeMessageBoards
public UpgradeMessageBoards()
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
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