public abstract class BaseReplacePortletId extends BasePortletIdUpgradeProcess
UpgradeProcess.Alterableconnection| Constructor and Description |
|---|
BaseReplacePortletId() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doUpgrade() |
protected boolean |
hasPortlet(String portletId) |
protected boolean |
hasResourceAction(String name) |
protected boolean |
hasResourcePermission(String name) |
protected boolean |
hasRow(String sql,
String value) |
protected void |
updatePortletId(String oldRootPortletId,
String newRootPortletId) |
protected void |
updateResourceAction(String oldName,
String newName) |
protected void |
updateResourcePermission(String oldRootPortletId,
String newRootPortletId,
boolean updateName) |
getNewTypeSettings, getNewTypeSettings, getRenamePortletIdsArray, getTypeSettingsCriteria, getUninstanceablePortletIds, updateGroup, updateInstanceablePortletPreferences, updateLayout, updateLayout, updateLayoutRevision, updateLayoutRevisions, updateLayouts, updatePortlet, updatePortletItem, updateUserNotificationDelivery, updateUserNotificationEvent, upgradeInstanceablePortletIds, upgradeUninstanceablePortletIdsaddTempIndex, clearIndexesCache, ensureTableExists, getIndexesSQL, getTableColumnsMap, getTableName, getThreshold, increment, increment, increment, isPortal62TableName, isSkipUpgradeProcess, upgrade, 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, runSQLTemplateStringprotected void doUpgrade()
throws Exception
doUpgrade in class BasePortletIdUpgradeProcessExceptionprotected boolean hasPortlet(String portletId)
throws SQLException
SQLExceptionprotected boolean hasResourceAction(String name)
throws SQLException
SQLExceptionprotected boolean hasResourcePermission(String name)
throws SQLException
SQLExceptionprotected boolean hasRow(String sql,
String value)
throws SQLException
SQLExceptionprotected void updatePortletId(String oldRootPortletId,
String newRootPortletId)
throws Exception
updatePortletId in class BasePortletIdUpgradeProcessExceptionprotected void updateResourceAction(String oldName,
String newName)
throws Exception
updateResourceAction in class BasePortletIdUpgradeProcessExceptionprotected void updateResourcePermission(String oldRootPortletId,
String newRootPortletId,
boolean updateName)
throws Exception
updateResourcePermission in class BasePortletIdUpgradeProcessException