Liferay 7.0-ce-b4

com.liferay.portal.upgrade.util
Class BaseUpgradeTableImpl

java.lang.Object
  extended by com.liferay.portal.upgrade.util.Table
      extended by com.liferay.portal.upgrade.util.BaseUpgradeTableImpl
Direct Known Subclasses:
DefaultUpgradeTableImpl

public abstract class BaseUpgradeTableImpl
extends Table


Constructor Summary
BaseUpgradeTableImpl(String tableName)
           
 
Method Summary
 String[] getIndexesSQL()
           
 boolean isAllowUniqueIndexes()
           
 boolean isDeleteTempFile()
           
 void setAllowUniqueIndexes(boolean allowUniqueIndexes)
           
 void setCreateSQL(String createSQL)
           
 void setDeleteTempFile(boolean deleteTempFile)
           
 void setIndexesSQL(String[] indexesSQL)
           
 void updateTable()
           
protected  void updateTable(Connection sourceConnection, Connection targetConnection, boolean deleteSource)
           
 
Methods inherited from class com.liferay.portal.upgrade.util.Table
appendColumn, appendColumn, generateTempFile, generateTempFile, getColumns, getCreateSQL, getDeleteSQL, getExportedData, getInsertSQL, getInsertTableName, getOrder, getSelectPreparedStatement, getSelectSQL, getTableName, getTempFileName, getTotalRows, getValue, populateTable, populateTable, populateTableRows, setColumn, setColumns, setSelectSQL, updateColumnValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseUpgradeTableImpl

public BaseUpgradeTableImpl(String tableName)
Method Detail

getIndexesSQL

public String[] getIndexesSQL()
                       throws Exception
Throws:
Exception

isAllowUniqueIndexes

public boolean isAllowUniqueIndexes()
                             throws Exception
Throws:
Exception

isDeleteTempFile

public boolean isDeleteTempFile()

setAllowUniqueIndexes

public void setAllowUniqueIndexes(boolean allowUniqueIndexes)
                           throws Exception
Throws:
Exception

setCreateSQL

public void setCreateSQL(String createSQL)
                  throws Exception
Overrides:
setCreateSQL in class Table
Throws:
Exception

setDeleteTempFile

public void setDeleteTempFile(boolean deleteTempFile)

setIndexesSQL

public void setIndexesSQL(String[] indexesSQL)
                   throws Exception
Throws:
Exception

updateTable

public void updateTable()
                 throws Exception
Throws:
Exception

updateTable

protected void updateTable(Connection sourceConnection,
                           Connection targetConnection,
                           boolean deleteSource)
                    throws Exception
Throws:
Exception

Liferay 7.0-ce-b4