public abstract class BasicSetupUpgradeProcess
extends com.liferay.portal.kernel.upgrade.UpgradeProcess
| Constructor and Description |
|---|
BasicSetupUpgradeProcess() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doUpgrade() |
protected abstract String[] |
getSetupFileNames()
This method returns
String[] with file names that are in the upgrade
step. |
void |
upgrade()
This method is used to perform upgrade of the Liferay database, by reading
and processing setup files.
|
addTemporaryIndex, clearIndexesCache, ensureTableExists, getIndexesSQL, getPostUpgradeSteps, getPreUpgradeSteps, getTableColumnsMap, getTableName, getThreshold, getUpgradeSteps, increment, increment, increment, isPortal62TableName, isSkipUpgradeProcess, upgrade, upgradeaddIndexes, alterColumnName, alterColumnType, alterTableAddColumn, alterTableDropColumn, alterTableName, doHasTable, dropIndexes, dropTable, getConnection, getPrimaryKeyColumnNames, hasColumn, hasColumnType, hasIndex, hasRows, hasRows, hasTable, process, processConcurrently, processConcurrently, removePrimaryKey, runSQL, runSQL, runSQL, runSQL, runSQLTemplate, runSQLTemplate, runSQLTemplateStringpublic final void upgrade()
throws com.liferay.portal.kernel.upgrade.UpgradeException
getSetupFileNames() method. Then, it iterates through the
file names and for each file, it performs the following steps:
UpgradeException with a
message indicating that the XML configuration was not foundLiferaySetup.setup(InputStream)
method to process the fileupgrade in class com.liferay.portal.kernel.upgrade.UpgradeProcesscom.liferay.portal.kernel.upgrade.UpgradeException - if the XML configuration was not foundprotected void doUpgrade()
throws Exception
doUpgrade in class com.liferay.portal.kernel.upgrade.UpgradeProcessExceptionprotected abstract String[] getSetupFileNames()
String[] with file names that are in the upgrade
step.Copyright © 2016–2023 Lundegaard a.s.. All rights reserved.