com.liferay.portal.kernel.upgrade
Class UpgradeProcess
java.lang.Object
com.liferay.portal.kernel.upgrade.UpgradeProcess
- Direct Known Subclasses:
- BaseUpgradePortletPreferences, DropIndexes, UpgradeAddress, UpgradeAsset, UpgradeAsset, UpgradeBlogs, UpgradeBlogs, UpgradeBookmarks, UpgradeBookmarks, UpgradeCalendar, UpgradeCalendar, UpgradeCalendar, UpgradeClassName, UpgradeClassName, UpgradeCompany, UpgradeContact, UpgradeCounter, UpgradeCountry, UpgradeDocumentLibrary, UpgradeDocumentLibrary, UpgradeDocumentLibrary, UpgradeDocumentLibrary, UpgradeDocumentLibrary, UpgradeDocumentLibrary, UpgradeDuplicates, UpgradeEmailAddress, UpgradeExpando, UpgradeExpando, UpgradeExpando, UpgradeGroup, UpgradeGroup, UpgradeGroup, UpgradeGroup, UpgradeGroup, UpgradeImage, UpgradeImageGallery, UpgradeImageGallery, UpgradeImageGallery, UpgradeJournal, UpgradeJournal, UpgradeJournal, UpgradeJournal, UpgradeJournal, UpgradeLayout, UpgradeLayout, UpgradeLayout, UpgradeLayoutSet, UpgradeListType, UpgradeMappingTables, UpgradeMessageBoards, UpgradeMessageBoards, UpgradeMessageBoards, UpgradeNestedPortlets, UpgradeOrganization, UpgradeOrganization, UpgradeOrganization, UpgradePause, UpgradePermission, UpgradePermission, UpgradePermission, UpgradePermission, UpgradePhone, UpgradePolls, 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, UpgradeProcess_5_2_1, UpgradeProcess_5_2_2, UpgradeProcess_5_2_3, UpgradeProcess_5_2_5_to_6_0_0, UpgradeProcess_5_2_7_to_6_0_0, UpgradeProcess_5_2_8_to_6_0_5, UpgradeProcess_6_0_0, UpgradeProcess_6_0_1, UpgradeProcess_6_0_2, UpgradeProcess_6_0_3, UpgradeProcess_6_0_5, UpgradeProcess_ConvertPermissionAlgorithm, UpgradeRatings, UpgradeRegion, UpgradeRelease, UpgradeResource, UpgradeResource, UpgradeResourceAction, UpgradeResourceCode, UpgradeRole, UpgradeRole, UpgradeSchema, UpgradeSchema, UpgradeSchema, UpgradeSchema, UpgradeSchema, UpgradeSchema, UpgradeSchema, UpgradeSchema, UpgradeSchema, UpgradeSchema, UpgradeSchema, UpgradeSchema, UpgradeSchema, UpgradeSchema, UpgradeSchema, UpgradeSchema, UpgradeSchema, UpgradeSchema, UpgradeSchema, UpgradeSchema, UpgradeShopping, UpgradeShopping, UpgradeSocial, UpgradeSoftwareCatalog, UpgradeSoftwareCatalog, UpgradeSoftwareCatalog, UpgradeSubscription, UpgradeTags, UpgradeTags, UpgradeTags, UpgradeTags, UpgradeUser, UpgradeUser, UpgradeUserGroup, UpgradeUserIdMapper, UpgradeUUID, UpgradeWebForm, UpgradeWebsite, UpgradeWebsite, UpgradeWiki, UpgradeWiki, UpgradeWiki, UpgradeWiki
public abstract class UpgradeProcess
- extends Object
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(String template)
throws IOException,
SQLException
- Throws:
IOException
SQLException
runSQL
public void runSQL(String[] templates)
throws IOException,
SQLException
- Throws:
IOException
SQLException
runSQLTemplate
public void runSQLTemplate(String path)
throws IOException,
NamingException,
SQLException
- Throws:
IOException
NamingException
SQLException
runSQLTemplate
public void runSQLTemplate(String path,
boolean failOnError)
throws IOException,
NamingException,
SQLException
- Throws:
IOException
NamingException
SQLException
upgrade
public void upgrade()
throws UpgradeException
- Throws:
UpgradeException
upgrade
public void upgrade(Class<?> upgradeProcessClass)
throws UpgradeException
- Throws:
UpgradeException
upgrade
public void upgrade(UpgradeProcess upgradeProcess)
throws UpgradeException
- Throws:
UpgradeException
doUpgrade
protected void doUpgrade()
throws Exception
- Throws:
Exception