com.liferay.portal.kernel.upgrade
Class BaseReplacePortletId
java.lang.Object
com.liferay.portal.kernel.dao.db.BaseDBProcess
com.liferay.portal.kernel.upgrade.UpgradeProcess
com.liferay.portal.kernel.upgrade.BaseUpgradePortletId
com.liferay.portal.kernel.upgrade.BaseReplacePortletId
- All Implemented Interfaces:
- DBProcess, UpgradeStep
public abstract class BaseReplacePortletId
- extends BaseUpgradePortletId
| Methods inherited from class com.liferay.portal.kernel.upgrade.BaseUpgradePortletId |
doUpgrade, getNewTypeSettings, getRenamePortletIdsArray, getTypeSettingsCriteria, getUninstanceablePortletIds, updateInstanceablePortletPreferences, updateLayout, updateLayout, updateLayoutRevision, updateLayoutRevisions, updateLayouts, updatePortlet, updateUserNotificationDelivery, updateUserNotificationEvent, upgradeInstanceablePortletIds, upgradeUninstanceablePortletIds |
| Methods inherited from class com.liferay.portal.kernel.upgrade.UpgradeProcess |
alter, clearIndexesCache, getIndexesSQL, getThreshold, increment, increment, increment, isSupportsAlterColumnName, isSupportsAlterColumnType, isSupportsStringCaseSensitiveQuery, isSupportsUpdateWithInnerJoin, normalizeName, upgrade, upgrade, upgrade, upgrade, upgradeTable, upgradeTable |
| Methods inherited from class com.liferay.portal.kernel.dao.db.BaseDBProcess |
doHasTable, hasColumn, hasRows, hasRows, hasTable, runSQL, runSQL, runSQL, runSQLTemplate, runSQLTemplate, runSQLTemplateString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BaseReplacePortletId
public BaseReplacePortletId()
hasPortlet
protected boolean hasPortlet(String portletId)
throws SQLException
- Throws:
SQLException
hasResourceAction
protected boolean hasResourceAction(String name)
throws SQLException
- Throws:
SQLException
hasResourcePermission
protected boolean hasResourcePermission(String name)
throws SQLException
- Throws:
SQLException
hasRow
protected boolean hasRow(String sql,
String value)
throws SQLException
- Throws:
SQLException
updatePortletId
protected void updatePortletId(String oldRootPortletId,
String newRootPortletId)
throws Exception
- Overrides:
updatePortletId in class BaseUpgradePortletId
- Throws:
Exception
updateResourceAction
protected void updateResourceAction(String oldName,
String newName)
throws Exception
- Overrides:
updateResourceAction in class BaseUpgradePortletId
- Throws:
Exception
updateResourcePermission
protected void updateResourcePermission(String oldRootPortletId,
String newRootPortletId,
boolean updateName)
throws Exception
- Overrides:
updateResourcePermission in class BaseUpgradePortletId
- Throws:
Exception