Liferay 6.0.5

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


Field Summary
 
Fields inherited from class com.liferay.portal.upgrade.util.Table
BATCH_SIZE, SAFE_CHARS, SAFE_COMMA_CHARACTER, SAFE_NEWLINE_CHARACTER, SAFE_RETURN_CHARACTER
 
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
setCreateSQL, updateTable
 
Methods inherited from class com.liferay.portal.upgrade.util.Table
appendColumn, appendColumn, generateTempFile, generateTempFile, getColumns, getCreateSQL, getDeleteSQL, getInsertSQL, getOrder, 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, getInsertSQL, getSelectSQL, setCreateSQL, 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.0.5