Liferay 6.1.2-ce-ga3

com.liferay.portal.upgrade.util
Class DefaultUpgradeTableImpl

java.lang.Object
  extended by com.liferay.portal.upgrade.util.Table
      extended by com.liferay.portal.upgrade.util.BaseUpgradeTableImpl
          extended by com.liferay.portal.upgrade.util.DefaultUpgradeTableImpl
All Implemented Interfaces:
UpgradeTable

public class DefaultUpgradeTableImpl
extends BaseUpgradeTableImpl
implements UpgradeTable


Constructor Summary
protected DefaultUpgradeTableImpl(String tableName, Object[][] columns, UpgradeColumn... upgradeColumns)
           
 
Method Summary
 String getExportedData(ResultSet rs)
           
protected  void getSortedColumnName(List<String> sortedColumnNames, UpgradeColumn upgradeColumn)
           
protected  void prepareUpgradeColumns(UpgradeColumn upgradeColumn)
           
 void setColumn(PreparedStatement ps, int index, Integer type, String value)
           
 
Methods inherited from class com.liferay.portal.upgrade.util.BaseUpgradeTableImpl
getIndexesSQL, isAllowUniqueIndexes, setAllowUniqueIndexes, setCreateSQL, setIndexesSQL, updateTable
 
Methods inherited from class com.liferay.portal.upgrade.util.Table
appendColumn, appendColumn, generateTempFile, generateTempFile, getColumns, getCreateSQL, getDeleteSQL, getInsertSQL, getInsertTableName, getOrder, getSelectPreparedStatement, getSelectSQL, getTableName, getTotalRows, getValue, populateTable, populateTable, populateTableRows, setColumns, setSelectSQL
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.liferay.portal.kernel.upgrade.util.UpgradeTable
appendColumn, appendColumn, getCreateSQL, getDeleteSQL, getIndexesSQL, getInsertSQL, getSelectSQL, isAllowUniqueIndexes, setAllowUniqueIndexes, setCreateSQL, setIndexesSQL, updateTable
 

Constructor Detail

DefaultUpgradeTableImpl

protected DefaultUpgradeTableImpl(String tableName,
                                  Object[][] columns,
                                  UpgradeColumn... upgradeColumns)
Method Detail

getExportedData

public String getExportedData(ResultSet rs)
                       throws Exception
Overrides:
getExportedData in class Table
Throws:
Exception

setColumn

public void setColumn(PreparedStatement ps,
                      int index,
                      Integer type,
                      String value)
               throws Exception
Specified by:
setColumn in interface UpgradeTable
Overrides:
setColumn in class Table
Throws:
Exception

getSortedColumnName

protected void getSortedColumnName(List<String> sortedColumnNames,
                                   UpgradeColumn upgradeColumn)

prepareUpgradeColumns

protected void prepareUpgradeColumns(UpgradeColumn upgradeColumn)

Liferay 6.1.2-ce-ga3