Liferay 7.0-ce-b4

com.liferay.portal.upgrade.util
Class UpgradeCompanyId.TableUpdater

java.lang.Object
  extended by com.liferay.portal.upgrade.util.UpgradeCompanyId.TableUpdater
Direct Known Subclasses:
UpgradeCompanyId.DLSyncEventTableUpdater, UpgradeCompanyId.PortletPreferencesTableUpdater
Enclosing class:
UpgradeCompanyId

protected class UpgradeCompanyId.TableUpdater
extends Object


Constructor Summary
UpgradeCompanyId.TableUpdater(String tableName, String foreignTableName, String foreignColumnName)
           
UpgradeCompanyId.TableUpdater(String tableName, String columnName, String[][] foreignNamesArray)
           
 
Method Summary
protected  String getSelectSQL(String foreignTableName, String foreignColumnName)
           
 String getTableName()
           
protected  String getUpdateSQL(String selectSQL)
           
protected  String getUpdateSQL(String foreignTableName, String foreignColumnName)
           
 void update()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UpgradeCompanyId.TableUpdater

public UpgradeCompanyId.TableUpdater(String tableName,
                                     String foreignTableName,
                                     String foreignColumnName)

UpgradeCompanyId.TableUpdater

public UpgradeCompanyId.TableUpdater(String tableName,
                                     String columnName,
                                     String[][] foreignNamesArray)
Method Detail

getTableName

public String getTableName()

update

public void update()
            throws IOException,
                   SQLException
Throws:
IOException
SQLException

getSelectSQL

protected String getSelectSQL(String foreignTableName,
                              String foreignColumnName)

getUpdateSQL

protected String getUpdateSQL(String selectSQL)

getUpdateSQL

protected String getUpdateSQL(String foreignTableName,
                              String foreignColumnName)

Liferay 7.0-ce-b4