com.liferay.portal.upgrade.v4_3_0
Class UpgradeCompany

java.lang.Object
  extended by com.liferay.portal.upgrade.UpgradeProcess
      extended by com.liferay.portal.upgrade.v4_3_0.UpgradeCompany

public class UpgradeCompany
extends UpgradeProcess

View Source

Author:
Alexander Chow, Brian Wing Shun Chan

Constructor Summary
UpgradeCompany()
           
 
Method Summary
protected  void doUpgrade()
           
protected  java.lang.String getUpdateSQL(java.lang.String tableName, long companyId, java.lang.String webId)
           
 void upgrade()
           
protected  long upgradeWebId(java.lang.String webId)
           
 
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

UpgradeCompany

public UpgradeCompany()
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

getUpdateSQL

protected java.lang.String getUpdateSQL(java.lang.String tableName,
                                        long companyId,
                                        java.lang.String webId)

upgradeWebId

protected long upgradeWebId(java.lang.String webId)
                     throws java.lang.Exception
Throws:
java.lang.Exception