com.liferay.portal.kernel.upgrade.util
Interface UpgradeTable
- All Known Implementing Classes:
- DefaultUpgradeTableImpl
public interface UpgradeTable
|
Method Summary |
void |
appendColumn(StringBuilder sb,
Object value,
boolean last)
|
void |
appendColumn(StringBuilder sb,
ResultSet rs,
String name,
Integer type,
boolean last)
|
void |
copyTable(Connection sourceConnection,
Connection targetConnection)
|
String |
getCreateSQL()
|
String |
getDeleteSQL()
|
String[] |
getIndexesSQL()
|
String |
getInsertSQL()
|
String |
getSelectSQL()
|
String |
getTempFileName()
|
boolean |
isAllowUniqueIndexes()
|
boolean |
isDeleteTempFile()
|
void |
setAllowUniqueIndexes(boolean allowUniqueIndexes)
|
void |
setColumn(PreparedStatement ps,
int index,
Integer type,
String value)
|
void |
setCreateSQL(String createSQL)
|
void |
setDeleteTempFile(boolean deleteTempFile)
|
void |
setIndexesSQL(String[] indexesSQL)
|
void |
updateTable()
|
appendColumn
void appendColumn(StringBuilder sb,
Object value,
boolean last)
throws Exception
- Throws:
Exception
appendColumn
void appendColumn(StringBuilder sb,
ResultSet rs,
String name,
Integer type,
boolean last)
throws Exception
- Throws:
Exception
copyTable
void copyTable(Connection sourceConnection,
Connection targetConnection)
throws Exception
- Throws:
Exception
getCreateSQL
String getCreateSQL()
throws Exception
- Throws:
Exception
getDeleteSQL
String getDeleteSQL()
throws Exception
- Throws:
Exception
getIndexesSQL
String[] getIndexesSQL()
throws Exception
- Throws:
Exception
getInsertSQL
String getInsertSQL()
throws Exception
- Throws:
Exception
getSelectSQL
String getSelectSQL()
throws Exception
- Throws:
Exception
getTempFileName
String getTempFileName()
isAllowUniqueIndexes
boolean isAllowUniqueIndexes()
throws Exception
- Throws:
Exception
isDeleteTempFile
boolean isDeleteTempFile()
setAllowUniqueIndexes
void setAllowUniqueIndexes(boolean allowUniqueIndexes)
throws Exception
- Throws:
Exception
setColumn
void setColumn(PreparedStatement ps,
int index,
Integer type,
String value)
throws Exception
- Throws:
Exception
setCreateSQL
void setCreateSQL(String createSQL)
throws Exception
- Throws:
Exception
setDeleteTempFile
void setDeleteTempFile(boolean deleteTempFile)
setIndexesSQL
void setIndexesSQL(String[] indexesSQL)
throws Exception
- Throws:
Exception
updateTable
void updateTable()
throws Exception
- Throws:
Exception