com.liferay.portal.upgrade.v5_2_0
Class UpgradeOrganization

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

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

View Source

Author:
Jorge Ferrer, Edward Shin

Constructor Summary
UpgradeOrganization()
           
 
Method Summary
protected  void doUpgrade()
           
protected  long getCodeId(long companyId, java.lang.String name, int scope)
           
protected  void updateCodeId(long companyId, int scope)
           
protected  void updateLocationResources()
           
 
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

UpgradeOrganization

public UpgradeOrganization()
Method Detail

doUpgrade

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

getCodeId

protected long getCodeId(long companyId,
                         java.lang.String name,
                         int scope)
                  throws java.lang.Exception
Throws:
java.lang.Exception

updateCodeId

protected void updateCodeId(long companyId,
                            int scope)
                     throws java.lang.Exception
Throws:
java.lang.Exception

updateLocationResources

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