BaseReplacePortletId
@Deprecated public class ReplacePortletId extends UpgradePortletId
com.liferay.portal.kernel.upgrade.UpgradeProcess.Alterable, com.liferay.portal.kernel.upgrade.UpgradeProcess.AlterColumnName, com.liferay.portal.kernel.upgrade.UpgradeProcess.AlterColumnType, com.liferay.portal.kernel.upgrade.UpgradeProcess.AlterTableAddColumn, com.liferay.portal.kernel.upgrade.UpgradeProcess.AlterTableDropColumn
Constructor and Description |
---|
ReplacePortletId()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
hasPortlet(String portletId)
Deprecated.
|
protected boolean |
hasResourceAction(String name)
Deprecated.
|
protected boolean |
hasResourcePermission(String name)
Deprecated.
|
protected boolean |
hasRow(String sql,
String value)
Deprecated.
|
protected void |
updatePortletId(String oldRootPortletId,
String newRootPortletId)
Deprecated.
|
protected void |
updateResourceAction(String oldName,
String newName)
Deprecated.
|
protected void |
updateResourcePermission(String oldRootPortletId,
String newRootPortletId,
boolean updateName)
Deprecated.
|
doUpgrade, getNewTypeSettings, getNewTypeSettings, getRenamePortletIdsArray, getTypeSettingsCriteria, getUninstanceablePortletIds, updateInstanceablePortletPreferences, updateLayout, updateLayout, updateLayoutRevision, updateLayoutRevisions, updateLayouts, updatePortlet, updateUserNotificationDelivery, updateUserNotificationEvent, upgradeInstanceablePortletIds, upgradeUninstanceablePortletIds
alter, clearIndexesCache, getIndexesSQL, getTableName, getThreshold, increment, increment, increment, isSupportsAlterColumnName, isSupportsAlterColumnType, isSupportsStringCaseSensitiveQuery, isSupportsUpdateWithInnerJoin, normalizeName, upgrade, upgrade, upgrade, upgrade, upgradeTable, upgradeTable
protected boolean hasPortlet(String portletId) throws SQLException
SQLException
protected boolean hasResourceAction(String name) throws SQLException
SQLException
protected boolean hasResourcePermission(String name) throws SQLException
SQLException
protected boolean hasRow(String sql, String value) throws SQLException
SQLException
protected void updatePortletId(String oldRootPortletId, String newRootPortletId) throws Exception
updatePortletId
in class UpgradePortletId
Exception
protected void updateResourceAction(String oldName, String newName) throws Exception
updateResourceAction
in class UpgradePortletId
Exception
protected void updateResourcePermission(String oldRootPortletId, String newRootPortletId, boolean updateName) throws Exception
updateResourcePermission
in class UpgradePortletId
Exception