Liferay 7.0-ce-b4

com.liferay.portal.upgrade
Class UpgradeMVCCVersion

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.UpgradeMVCCVersion
All Implemented Interfaces:
DBProcess, UpgradeStep

public class UpgradeMVCCVersion
extends UpgradeProcess


Field Summary
 
Fields inherited from class com.liferay.portal.kernel.dao.db.BaseDBProcess
connection
 
Constructor Summary
UpgradeMVCCVersion()
           
 
Method Summary
protected  void doUpgrade()
           
protected  List<Element> getClassElements()
           
protected  String[] getModuleTableNames()
           
protected  String normalizeName(String name, DatabaseMetaData databaseMetaData)
           
protected  void upgradeMVCCVersion(DatabaseMetaData databaseMetaData, Element classElement)
           
 void upgradeMVCCVersion(DatabaseMetaData databaseMetaData, String tableName)
           
 
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

UpgradeMVCCVersion

public UpgradeMVCCVersion()
Method Detail

upgradeMVCCVersion

public void upgradeMVCCVersion(DatabaseMetaData databaseMetaData,
                               String tableName)
                        throws Exception
Throws:
Exception

doUpgrade

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

getClassElements

protected List<Element> getClassElements()
                                  throws Exception
Throws:
Exception

getModuleTableNames

protected String[] getModuleTableNames()

normalizeName

protected String normalizeName(String name,
                               DatabaseMetaData databaseMetaData)
                        throws SQLException
Throws:
SQLException

upgradeMVCCVersion

protected void upgradeMVCCVersion(DatabaseMetaData databaseMetaData,
                                  Element classElement)
                           throws Exception
Throws:
Exception

Liferay 7.0-ce-b4