Liferay 6.1.2-ce-ga3

com.liferay.portal.upgrade.v6_0_2
Class UpgradeExpando

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.v6_0_2.UpgradeExpando
All Implemented Interfaces:
DBProcess

public class UpgradeExpando
extends UpgradeProcess


Constructor Summary
UpgradeExpando()
           
 
Method Summary
protected  void addRow(long rowId, long companyId, long tableId, long classPK)
           
protected  void addValue(long valueId, long companyId, long tableId, long columnId, long rowId, long classNameId, long classPK, String data)
           
protected  void doUpgrade()
           
protected  boolean hasRow(long companyId, long tableId, long classPK)
           
protected  boolean hasValue(long companyId, long tableId, long columnId, long rowId)
           
protected  void updateRow(long companyId, long classPK, String tableName, long tableId, String columnName, long rowId)
           
protected  void updateRows(String tableName, long tableId, String columnName)
           
protected  void updateTables(String className, String tableName, String columnName)
           
protected  void updateValues(long classPK, long newClassPK, long tableId, long rowId, long newRowId)
           
 
Methods inherited from class com.liferay.portal.kernel.upgrade.UpgradeProcess
getThreshold, hasTable, increment, increment, isSupportsAlterColumnName, isSupportsAlterColumnType, isSupportsStringCaseSensitiveQuery, isSupportsUpdateWithInnerJoin, tableHasColumn, tableHasData, upgrade, upgrade, upgrade, upgradeTable, upgradeTable
 
Methods inherited from class com.liferay.portal.kernel.dao.db.BaseDBProcess
runSQL, runSQL, runSQLTemplate, runSQLTemplate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UpgradeExpando

public UpgradeExpando()
Method Detail

addRow

protected void addRow(long rowId,
                      long companyId,
                      long tableId,
                      long classPK)
               throws Exception
Throws:
Exception

addValue

protected void addValue(long valueId,
                        long companyId,
                        long tableId,
                        long columnId,
                        long rowId,
                        long classNameId,
                        long classPK,
                        String data)
                 throws Exception
Throws:
Exception

doUpgrade

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

hasRow

protected boolean hasRow(long companyId,
                         long tableId,
                         long classPK)
                  throws Exception
Throws:
Exception

hasValue

protected boolean hasValue(long companyId,
                           long tableId,
                           long columnId,
                           long rowId)
                    throws Exception
Throws:
Exception

updateRow

protected void updateRow(long companyId,
                         long classPK,
                         String tableName,
                         long tableId,
                         String columnName,
                         long rowId)
                  throws Exception
Throws:
Exception

updateRows

protected void updateRows(String tableName,
                          long tableId,
                          String columnName)
                   throws Exception
Throws:
Exception

updateTables

protected void updateTables(String className,
                            String tableName,
                            String columnName)
                     throws Exception
Throws:
Exception

updateValues

protected void updateValues(long classPK,
                            long newClassPK,
                            long tableId,
                            long rowId,
                            long newRowId)
                     throws Exception
Throws:
Exception

Liferay 6.1.2-ce-ga3