com.liferay.portal.upgrade.util
Interface UpgradeTable

All Known Implementing Classes:
DefaultUpgradeTableImpl

public interface UpgradeTable

View Source

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 getInsertSQL()
           
 java.lang.String getSelectSQL()
           
 void setColumn(java.sql.PreparedStatement ps, int index, java.lang.Integer type, java.lang.String value)
           
 void setCreateSQL(java.lang.String createSQL)
           
 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

setCreateSQL

void setCreateSQL(java.lang.String createSQL)
                  throws java.lang.Exception
Throws:
java.lang.Exception

getDeleteSQL

java.lang.String getDeleteSQL()
                              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

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

updateTable

void updateTable()
                 throws java.lang.Exception
Throws:
java.lang.Exception