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(com.liferay.portal.kernel.util.StringMaker sm, java.lang.Object value, boolean last)
           
 void appendColumn(com.liferay.portal.kernel.util.StringMaker sm, 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

public void appendColumn(com.liferay.portal.kernel.util.StringMaker sm,
                         java.lang.Object value,
                         boolean last)
                  throws java.lang.Exception
Throws:
java.lang.Exception

appendColumn

public void appendColumn(com.liferay.portal.kernel.util.StringMaker sm,
                         java.sql.ResultSet rs,
                         java.lang.String name,
                         java.lang.Integer type,
                         boolean last)
                  throws java.lang.Exception
Throws:
java.lang.Exception

getCreateSQL

public java.lang.String getCreateSQL()
                              throws java.lang.Exception
Throws:
java.lang.Exception

setCreateSQL

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

getDeleteSQL

public java.lang.String getDeleteSQL()
                              throws java.lang.Exception
Throws:
java.lang.Exception

getInsertSQL

public java.lang.String getInsertSQL()
                              throws java.lang.Exception
Throws:
java.lang.Exception

getSelectSQL

public java.lang.String getSelectSQL()
                              throws java.lang.Exception
Throws:
java.lang.Exception

setColumn

public 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

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