com.liferay.portal.upgrade.v5_2_0
Class UpgradeJournal

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

public class UpgradeJournal
extends 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 updateJournalArticleImageInstanceId(com.liferay.portal.kernel.xml.Element parentElement, java.lang.String instanceId)
           
 void upgrade()
           
 
Methods inherited from class com.liferay.portal.upgrade.UpgradeProcess
getThreshold, isSupportsAlterColumnName, isSupportsAlterColumnType, isSupportsStringCaseSensitiveQuery, isSupportsUpdateWithInnerJoin, runSQL, runSQL, runSQLTemplate, runSQLTemplate, 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

upgrade

public void upgrade()
             throws UpgradeException
Specified by:
upgrade in class UpgradeProcess
Throws:
UpgradeException

doUpgrade

protected void doUpgrade()
                  throws java.lang.Exception
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

updateJournalArticleImageInstanceId

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