com.liferay.portal.upgrade
Class UpgradeProcess
java.lang.Object
com.liferay.portal.upgrade.UpgradeProcess
- Direct Known Subclasses:
- SmartUpgradeSchema, UpgradeAddress, UpgradeBlogs, UpgradeBlogs, UpgradeBookmarks, UpgradeCalendar, UpgradeCalendar, UpgradeClassName, UpgradeClassName, UpgradeCompany, UpgradeContact, UpgradeCounter, UpgradeCountry, UpgradeDocumentLibrary, UpgradeDocumentLibrary, UpgradeDocumentLibrary, UpgradeEmailAddress, UpgradeExpando, UpgradeGroup, UpgradeGroup, UpgradeImage, UpgradeImageGallery, UpgradeImageGallery, UpgradeJournal, UpgradeJournal, UpgradeJournal, UpgradeLayout, UpgradeLayoutSet, UpgradeListType, UpgradeMappingTables, UpgradeMessageBoards, UpgradeMessageBoards, UpgradeOrganization, UpgradeOrganization, UpgradeOrganization, UpgradePause, UpgradePermission, UpgradePermission, UpgradePermission, UpgradePhone, UpgradePolls, UpgradePortlet, UpgradePortletId, UpgradePortletPermissions, UpgradePortletPreferences, UpgradeProcess_4_3_0, UpgradeProcess_4_3_1, UpgradeProcess_4_3_2, UpgradeProcess_4_3_3, UpgradeProcess_4_3_4, UpgradeProcess_4_3_5, UpgradeProcess_4_4_0, UpgradeProcess_5_0_0, UpgradeProcess_5_1_0, UpgradeProcess_5_1_2, UpgradeProcess_5_2_0, UpgradeRatings, UpgradeRegion, UpgradeRelease, UpgradeResource, UpgradeRole, UpgradeShopping, UpgradeSitemap, UpgradeSoftwareCatalog, UpgradeSoftwareCatalog, UpgradeSubscription, UpgradeTags, UpgradeTags, UpgradeTags, UpgradeUser, UpgradeUserGroup, UpgradeUserIdMapper, UpgradeUUID, UpgradeWebsite, UpgradeWebsite, UpgradeWiki
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()
runSQL
public void runSQL(java.lang.String template)
throws java.io.IOException,
javax.naming.NamingException,
java.sql.SQLException
- Throws:
java.io.IOException
javax.naming.NamingException
java.sql.SQLException
runSQL
public void runSQL(java.lang.String[] templates)
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)
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 abstract 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