public abstract class BaseReplacePortletId extends BaseUpgradePortletId
UpgradeProcess.Alterable, UpgradeProcess.AlterColumnName, UpgradeProcess.AlterColumnType, UpgradeProcess.AlterTableAddColumn, UpgradeProcess.AlterTableDropColumnconnection| Constructor and Description |
|---|
BaseReplacePortletId() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doUpgrade() |
protected boolean |
hasPortlet(java.lang.String portletId) |
protected boolean |
hasResourceAction(java.lang.String name) |
protected boolean |
hasResourcePermission(java.lang.String name) |
protected boolean |
hasRow(java.lang.String sql,
java.lang.String value) |
protected void |
updatePortletId(java.lang.String oldRootPortletId,
java.lang.String newRootPortletId) |
protected void |
updateResourceAction(java.lang.String oldName,
java.lang.String newName) |
protected void |
updateResourcePermission(java.lang.String oldRootPortletId,
java.lang.String newRootPortletId,
boolean updateName) |
getNewTypeSettings, getNewTypeSettings, getNewTypeSettings, getRenamePortletIdsArray, getTypeSettingsCriteria, getUninstanceablePortletIds, updateGroup, updateGroup, updateInstanceablePortletPreferences, updateLayout, updateLayout, updateLayoutRevision, updateLayoutRevisions, updateLayouts, updatePortlet, updateUserNotificationDelivery, updateUserNotificationEvent, upgradeInstanceablePortletIds, upgradeUninstanceablePortletIdsalter, clearIndexesCache, getIndexesSQL, getTableName, getThreshold, increment, increment, increment, isPortal62TableName, isSupportsAlterColumnName, isSupportsAlterColumnType, isSupportsStringCaseSensitiveQuery, isSupportsUpdateWithInnerJoin, normalizeName, upgrade, upgrade, upgrade, upgrade, upgradeTable, upgradeTabledoHasTable, hasColumn, hasColumnType, hasRows, hasRows, hasTable, runSQL, runSQL, runSQL, runSQL, runSQLTemplate, runSQLTemplate, runSQLTemplateStringprotected void doUpgrade()
throws java.lang.Exception
doUpgrade in class BaseUpgradePortletIdjava.lang.Exceptionprotected boolean hasPortlet(java.lang.String portletId)
throws java.sql.SQLException
java.sql.SQLExceptionprotected boolean hasResourceAction(java.lang.String name)
throws java.sql.SQLException
java.sql.SQLExceptionprotected boolean hasResourcePermission(java.lang.String name)
throws java.sql.SQLException
java.sql.SQLExceptionprotected boolean hasRow(java.lang.String sql,
java.lang.String value)
throws java.sql.SQLException
java.sql.SQLExceptionprotected void updatePortletId(java.lang.String oldRootPortletId,
java.lang.String newRootPortletId)
throws java.lang.Exception
updatePortletId in class BaseUpgradePortletIdjava.lang.Exceptionprotected void updateResourceAction(java.lang.String oldName,
java.lang.String newName)
throws java.lang.Exception
updateResourceAction in class BaseUpgradePortletIdjava.lang.Exceptionprotected void updateResourcePermission(java.lang.String oldRootPortletId,
java.lang.String newRootPortletId,
boolean updateName)
throws java.lang.Exception
updateResourcePermission in class BaseUpgradePortletIdjava.lang.Exception