Class BaseReplacePortletId
Object
com.liferay.portal.kernel.dao.db.BaseDBProcess
com.liferay.portal.kernel.upgrade.UpgradeProcess
com.liferay.portal.kernel.upgrade.BasePortletIdUpgradeProcess
com.liferay.portal.kernel.upgrade.BaseReplacePortletId
- All Implemented Interfaces:
DBProcess,UpgradeStep
- Author:
- Adolfo Pérez
-
Nested Class Summary
Nested classes/interfaces inherited from class com.liferay.portal.kernel.upgrade.UpgradeProcess
UpgradeProcess.Alterable -
Field Summary
Fields inherited from class com.liferay.portal.kernel.dao.db.BaseDBProcess
connection -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected booleanhasPortlet(String portletId) protected booleanhasResourceAction(String name) protected booleanhasResourcePermission(String name) protected booleanprotected voidupdatePortletId(String oldRootPortletId, String newRootPortletId) protected voidupdateResourceAction(String oldName, String newName) protected voidupdateResourcePermission(String oldRootPortletId, String newRootPortletId, boolean updateName) Methods inherited from class com.liferay.portal.kernel.upgrade.BasePortletIdUpgradeProcess
getNewTypeSettings, getNewTypeSettings, getRenamePortletIdsArray, getTypeSettingsCriteria, getUninstanceablePortletIds, updateGroup, updateInstanceablePortletPreferences, updateLayout, updateLayout, updateLayoutRevision, updateLayoutRevisions, updateLayouts, updatePortlet, updatePortletItem, updateUserNotificationDelivery, updateUserNotificationEvent, upgradeInstanceablePortletIds, upgradeUninstanceablePortletIdsMethods inherited from class com.liferay.portal.kernel.upgrade.UpgradeProcess
addTemporaryIndex, clearIndexesCache, ensureTableExists, getIndexesSQL, getPostUpgradeSteps, getPreUpgradeSteps, getTableColumnsMap, getTableName, getThreshold, getUpgradeSteps, increment, increment, increment, isPortal62TableName, isSkipUpgradeProcess, upgrade, upgradeMethods inherited from class com.liferay.portal.kernel.dao.db.BaseDBProcess
addIndexes, alterColumnName, alterColumnType, alterTableAddColumn, alterTableDropColumn, alterTableName, doHasTable, dropIndexes, dropTable, getConnection, getPrimaryKeyColumnNames, hasColumn, hasColumnType, hasIndex, hasRows, hasRows, hasTable, hasView, process, processConcurrently, processConcurrently, processConcurrently, processConcurrently, removePrimaryKey, runSQL, runSQL, runSQL, runSQL, runSQLFile, runSQLFile, runSQLTemplateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.liferay.portal.kernel.dao.db.DBProcess
runSQLTemplate, runSQLTemplateString
-
Constructor Details
-
BaseReplacePortletId
public BaseReplacePortletId()
-
-
Method Details
-
doUpgrade
- Overrides:
doUpgradein classBasePortletIdUpgradeProcess- Throws:
Exception
-
hasPortlet
- Throws:
SQLException
-
hasResourceAction
- Throws:
SQLException
-
hasResourcePermission
- Throws:
SQLException
-
hasRow
- Throws:
SQLException
-
updatePortletId
- Overrides:
updatePortletIdin classBasePortletIdUpgradeProcess- Throws:
Exception
-
updateResourceAction
- Overrides:
updateResourceActionin classBasePortletIdUpgradeProcess- Throws:
Exception
-
updateResourcePermission
protected void updateResourcePermission(String oldRootPortletId, String newRootPortletId, boolean updateName) throws Exception - Overrides:
updateResourcePermissionin classBasePortletIdUpgradeProcess- Throws:
Exception
-