com.liferay.portal.kernel.upgrade.util
Interface UpgradeTable


public interface UpgradeTable

Author:
Alexander Chow, Brian Wing Shun Chan

Method Summary
 void appendColumn(java.lang.StringBuilder sb, java.lang.Object value, boolean last)
           
 void appendColumn(java.lang.StringBuilder sb, java.sql.ResultSet rs, java.lang.String name, java.lang.Integer type, boolean last)
           
 java.lang.String getCreateSQL()
           
 java.lang.String getDeleteSQL()
           
 java.lang.String[] getIndexesSQL()
           
 java.lang.String getInsertSQL()
           
 java.lang.String getSelectSQL()
           
 java.lang.String getTempFileName()
           
 boolean isAllowUniqueIndexes()
           
 boolean isDeleteTempFile()
           
 void setAllowUniqueIndexes(boolean allowUniqueIndexes)
           
 void setColumn(java.sql.PreparedStatement ps, int index, java.lang.Integer type, java.lang.String value)
           
 void setCreateSQL(java.lang.String createSQL)
           
 void setDeleteTempFile(boolean deleteTempFile)
           
 void setIndexesSQL(java.lang.String[] indexesSQL)
           
 void updateTable()
           
 

Method Detail

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

getTempFileName

java.lang.String getTempFileName()

isAllowUniqueIndexes

boolean isAllowUniqueIndexes()
                             throws java.lang.Exception
Throws:
java.lang.Exception

isDeleteTempFile

boolean isDeleteTempFile()

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

setDeleteTempFile

void setDeleteTempFile(boolean deleteTempFile)

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