Liferay 7.0-ce-b4

com.liferay.portal.upgrade.v7_0_0
Class UpgradeAsset

java.lang.Object
  extended by com.liferay.portal.kernel.dao.db.BaseDBProcess
      extended by com.liferay.portal.kernel.upgrade.UpgradeProcess
          extended by com.liferay.portal.upgrade.v7_0_0.UpgradeAsset
All Implemented Interfaces:
DBProcess, UpgradeStep

public class UpgradeAsset
extends UpgradeProcess


Field Summary
 
Fields inherited from class com.liferay.portal.kernel.dao.db.BaseDBProcess
connection
 
Constructor Summary
UpgradeAsset()
           
 
Method Summary
protected  void doUpgrade()
           
protected  long getDDMStructureId(String structureKey)
           
protected  void updateAssetEntries()
           
protected  void updateAssetVocabularies()
           
protected  void updateAssetVocabulary(long vocabularyId, String settings)
           
protected  String upgradeVocabularySettings(String settings)
           
 
Methods inherited from class com.liferay.portal.kernel.upgrade.UpgradeProcess
getThreshold, increment, increment, isSupportsAlterColumnName, isSupportsAlterColumnType, isSupportsStringCaseSensitiveQuery, isSupportsUpdateWithInnerJoin, upgrade, upgrade, upgrade, upgrade, upgradeTable, upgradeTable
 
Methods inherited from class com.liferay.portal.kernel.dao.db.BaseDBProcess
doHasTable, hasColumn, hasRows, hasTable, runSQL, runSQL, runSQL, runSQLTemplate, runSQLTemplate, runSQLTemplateString
 
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
Specified by:
doUpgrade in class UpgradeProcess
Throws:
Exception

getDDMStructureId

protected long getDDMStructureId(String structureKey)
                          throws Exception
Throws:
Exception

updateAssetEntries

protected void updateAssetEntries()
                           throws Exception
Throws:
Exception

updateAssetVocabularies

protected void updateAssetVocabularies()
                                throws Exception
Throws:
Exception

updateAssetVocabulary

protected void updateAssetVocabulary(long vocabularyId,
                                     String settings)
                              throws Exception
Throws:
Exception

upgradeVocabularySettings

protected String upgradeVocabularySettings(String settings)

Liferay 7.0-ce-b4