public abstract class BaseReplacePortletId extends BaseUpgradePortletId
UpgradeProcess.Alterable, UpgradeProcess.AlterColumnName, UpgradeProcess.AlterColumnType, UpgradeProcess.AlterTableAddColumn, UpgradeProcess.AlterTableDropColumn
connection
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, getNewTypeSettings, getRenamePortletIdsArray, getTypeSettingsCriteria, getUninstanceablePortletIds, updateGroup, updateGroup, 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
doHasTable, hasColumn, hasColumnType, hasRows, hasRows, hasTable, runSQL, runSQL, runSQL, runSQL, runSQLTemplate, runSQLTemplate, runSQLTemplateString
protected void doUpgrade() throws Exception
doUpgrade
in class BaseUpgradePortletId
Exception
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 BaseUpgradePortletId
Exception
protected void updateResourceAction(String oldName, String newName) throws Exception
updateResourceAction
in class BaseUpgradePortletId
Exception
protected void updateResourcePermission(String oldRootPortletId, String newRootPortletId, boolean updateName) throws Exception
updateResourcePermission
in class BaseUpgradePortletId
Exception