com.liferay.portal.kernel.upgrade.util
Interface UpgradeTable
public interface UpgradeTable
- Author:
- Alexander Chow, Brian Wing Shun Chan
appendColumn
void appendColumn(java.lang.StringBuilder sb,
java.lang.Object value,
boolean last)
throws java.lang.Exception
- Throws:
java.lang.Exception
appendColumn
void appendColumn(java.lang.StringBuilder sb,
java.sql.ResultSet rs,
java.lang.String name,
java.lang.Integer type,
boolean last)
throws java.lang.Exception
- Throws:
java.lang.Exception
getCreateSQL
java.lang.String getCreateSQL()
throws java.lang.Exception
- Throws:
java.lang.Exception
getDeleteSQL
java.lang.String getDeleteSQL()
throws java.lang.Exception
- Throws:
java.lang.Exception
getIndexesSQL
java.lang.String[] getIndexesSQL()
throws java.lang.Exception
- Throws:
java.lang.Exception
getInsertSQL
java.lang.String getInsertSQL()
throws java.lang.Exception
- Throws:
java.lang.Exception
getSelectSQL
java.lang.String getSelectSQL()
throws java.lang.Exception
- Throws:
java.lang.Exception
isAllowUniqueIndexes
boolean isAllowUniqueIndexes()
throws java.lang.Exception
- Throws:
java.lang.Exception
setAllowUniqueIndexes
void setAllowUniqueIndexes(boolean allowUniqueIndexes)
throws java.lang.Exception
- Throws:
java.lang.Exception
setColumn
void setColumn(java.sql.PreparedStatement ps,
int index,
java.lang.Integer type,
java.lang.String value)
throws java.lang.Exception
- Throws:
java.lang.Exception
setCreateSQL
void setCreateSQL(java.lang.String createSQL)
throws java.lang.Exception
- Throws:
java.lang.Exception
setIndexesSQL
void setIndexesSQL(java.lang.String[] indexesSQL)
throws java.lang.Exception
- Throws:
java.lang.Exception
updateTable
void updateTable()
throws java.lang.Exception
- Throws:
java.lang.Exception