com.liferay.portal.upgrade.v5_2_0
Class UpgradeJournal

java.lang.Object
  extended by com.liferay.portal.kernel.upgrade.UpgradeProcess
      extended by com.liferay.portal.upgrade.v5_2_0.UpgradeJournal

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

View Source

Author:
Brian Wing Shun Chan

Constructor Summary
UpgradeJournal()
           
 
Method Summary
protected  void addDynamicElementInstanceId(com.liferay.portal.kernel.xml.Element root)
           
protected  java.lang.String addDynamicElementInstanceId(java.lang.String content)
           
protected  void deleteJournalArticleImages()
           
protected  void doUpgrade()
           
protected  void updateJournalArticleContent(long id, java.lang.String content)
           
protected  void updateJournalArticleImageInstanceId(com.liferay.portal.kernel.xml.Element parentElement, java.lang.String instanceId)
           
 
Methods inherited from class com.liferay.portal.kernel.upgrade.UpgradeProcess
getThreshold, increment, isSupportsAlterColumnName, isSupportsAlterColumnType, isSupportsStringCaseSensitiveQuery, isSupportsUpdateWithInnerJoin, runSQL, runSQL, runSQLTemplate, runSQLTemplate, upgrade, upgrade, upgrade
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UpgradeJournal

public UpgradeJournal()
Method Detail

doUpgrade

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

addDynamicElementInstanceId

protected java.lang.String addDynamicElementInstanceId(java.lang.String content)
                                                throws java.lang.Exception
Throws:
java.lang.Exception

addDynamicElementInstanceId

protected void addDynamicElementInstanceId(com.liferay.portal.kernel.xml.Element root)
                                    throws java.lang.Exception
Throws:
java.lang.Exception

deleteJournalArticleImages

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

updateJournalArticleContent

protected void updateJournalArticleContent(long id,
                                           java.lang.String content)
                                    throws java.lang.Exception
Throws:
java.lang.Exception

updateJournalArticleImageInstanceId

protected void updateJournalArticleImageInstanceId(com.liferay.portal.kernel.xml.Element parentElement,
                                                   java.lang.String instanceId)
                                            throws java.lang.Exception
Throws:
java.lang.Exception