Liferay 6.0-ee

com.liferay.portal.upgrade.v6_0_3
Class UpgradeAsset

java.lang.Object
  extended by com.liferay.portal.kernel.upgrade.UpgradeProcess
      extended by com.liferay.portal.upgrade.v6_0_3.UpgradeAsset

public class UpgradeAsset
extends UpgradeProcess


Constructor Summary
UpgradeAsset()
           
 
Method Summary
protected  void doUpgrade()
           
protected  String[] getTableAndColumnName(String className)
           
protected  String getUuid(String tableName, String columnName1, String columnName2, long classPK)
           
protected  void updateAssetEntry(long classNameId, long classPK, String uuid)
           
 
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

UpgradeAsset

public UpgradeAsset()
Method Detail

doUpgrade

protected void doUpgrade()
                  throws Exception
Overrides:
doUpgrade in class UpgradeProcess
Throws:
Exception

getTableAndColumnName

protected String[] getTableAndColumnName(String className)

getUuid

protected String getUuid(String tableName,
                         String columnName1,
                         String columnName2,
                         long classPK)
                  throws Exception
Throws:
Exception

updateAssetEntry

protected void updateAssetEntry(long classNameId,
                                long classPK,
                                String uuid)
                         throws Exception
Throws:
Exception

Liferay 6.0-ee