Liferay 6.0.5

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 UpgradeProcess


Constructor Summary
UpgradeOrganization()
           
 
Method Summary
protected  void doUpgrade()
           
protected  long getCodeId(long companyId, 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 Exception
Overrides:
doUpgrade in class UpgradeProcess
Throws:
Exception

getCodeId

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

updateCodeId

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

updateLocationResources

protected void updateLocationResources()
                                throws Exception
Throws:
Exception

Liferay 6.0.5