com.liferay.portal.kernel.upgrade
Class UpgradeProcess
java.lang.Object
com.liferay.portal.kernel.upgrade.UpgradeProcess
public abstract class UpgradeProcess
- extends java.lang.Object
View Source
- Author:
- Brian Wing Shun Chan, Alexander Chow
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UpgradeProcess
public UpgradeProcess()
getThreshold
public int getThreshold()
increment
public long increment()
throws SystemException
- Throws:
SystemException
isSupportsAlterColumnName
public boolean isSupportsAlterColumnName()
isSupportsAlterColumnType
public boolean isSupportsAlterColumnType()
isSupportsStringCaseSensitiveQuery
public boolean isSupportsStringCaseSensitiveQuery()
isSupportsUpdateWithInnerJoin
public boolean isSupportsUpdateWithInnerJoin()
runSQL
public void runSQL(java.lang.String template)
throws java.io.IOException,
java.sql.SQLException
- Throws:
java.io.IOException
java.sql.SQLException
runSQL
public void runSQL(java.lang.String[] templates)
throws java.io.IOException,
java.sql.SQLException
- Throws:
java.io.IOException
java.sql.SQLException
runSQLTemplate
public void runSQLTemplate(java.lang.String path)
throws java.io.IOException,
javax.naming.NamingException,
java.sql.SQLException
- Throws:
java.io.IOException
javax.naming.NamingException
java.sql.SQLException
runSQLTemplate
public void runSQLTemplate(java.lang.String path,
boolean failOnError)
throws java.io.IOException,
javax.naming.NamingException,
java.sql.SQLException
- Throws:
java.io.IOException
javax.naming.NamingException
java.sql.SQLException
upgrade
public void upgrade()
throws UpgradeException
- Throws:
UpgradeException
upgrade
public void upgrade(java.lang.Class<?> upgradeProcessClass)
throws UpgradeException
- Throws:
UpgradeException
upgrade
public void upgrade(UpgradeProcess upgradeProcess)
throws UpgradeException
- Throws:
UpgradeException
doUpgrade
protected void doUpgrade()
throws java.lang.Exception
- Throws:
java.lang.Exception