public abstract class BaseUpgradePortletId extends UpgradeProcess
UpgradeProcess.Alterable, UpgradeProcess.AlterColumnName, UpgradeProcess.AlterColumnType, UpgradeProcess.AlterTableAddColumn, UpgradeProcess.AlterTableDropColumn
connection
Constructor and Description |
---|
BaseUpgradePortletId() |
Modifier and Type | Method and Description |
---|---|
protected void |
doUpgrade() |
protected String |
getNewTypeSettings(String typeSettings,
String oldRootPortletId,
String newRootPortletId) |
protected String |
getNewTypeSettings(String typeSettings,
String oldRootPortletId,
String newRootPortletId,
boolean exactMatch) |
protected String |
getNewTypeSettings(String typeSettings,
String oldRootPortletId,
String newRootPortletId,
List<String> columnIds,
boolean exactMatch)
Deprecated.
As of Judson (7.1.x)
|
protected String[][] |
getRenamePortletIdsArray() |
protected String |
getTypeSettingsCriteria(String portletId) |
protected String[] |
getUninstanceablePortletIds() |
protected void |
updateGroup(long groupId,
String typeSettings) |
protected void |
updateGroup(String oldRootPortletId,
String newRootPortletId) |
protected void |
updateInstanceablePortletPreferences(String oldRootPortletId,
String newRootPortletId) |
protected void |
updateLayout(long plid,
String typeSettings) |
protected void |
updateLayout(long plid,
String oldPortletId,
String newPortletId) |
protected void |
updateLayoutRevision(long layoutRevisionId,
String typeSettings) |
protected void |
updateLayoutRevisions(String oldRootPortletId,
String newRootPortletId,
boolean exactMatch) |
protected void |
updateLayouts(String oldRootPortletId,
String newRootPortletId,
boolean exactMatch) |
protected void |
updatePortlet(String oldRootPortletId,
String newRootPortletId) |
protected void |
updatePortletId(String oldRootPortletId,
String newRootPortletId) |
protected void |
updateResourceAction(String oldName,
String newName) |
protected void |
updateResourcePermission(String oldRootPortletId,
String newRootPortletId,
boolean updateName) |
protected void |
updateUserNotificationDelivery(String oldPortletId,
String newPortletId) |
protected void |
updateUserNotificationEvent(String oldPortletId,
String newPortletId) |
protected void |
upgradeInstanceablePortletIds() |
protected void |
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 UpgradeProcess
Exception
protected String getNewTypeSettings(String typeSettings, String oldRootPortletId, String newRootPortletId)
protected String getNewTypeSettings(String typeSettings, String oldRootPortletId, String newRootPortletId, boolean exactMatch)
@Deprecated protected String getNewTypeSettings(String typeSettings, String oldRootPortletId, String newRootPortletId, List<String> columnIds, boolean exactMatch)
protected String[][] getRenamePortletIdsArray()
protected String getTypeSettingsCriteria(String portletId)
protected String[] getUninstanceablePortletIds()
protected void updateGroup(long groupId, String typeSettings) throws Exception
Exception
protected void updateGroup(String oldRootPortletId, String newRootPortletId) throws Exception
Exception
protected void updateInstanceablePortletPreferences(String oldRootPortletId, String newRootPortletId) throws Exception
Exception
protected void updateLayout(long plid, String typeSettings) throws Exception
Exception
protected void updateLayout(long plid, String oldPortletId, String newPortletId) throws Exception
Exception
protected void updateLayoutRevision(long layoutRevisionId, String typeSettings) throws Exception
Exception
protected void updateLayoutRevisions(String oldRootPortletId, String newRootPortletId, boolean exactMatch) throws Exception
Exception
protected void updateLayouts(String oldRootPortletId, String newRootPortletId, boolean exactMatch) throws Exception
Exception
protected void updatePortlet(String oldRootPortletId, String newRootPortletId) throws Exception
Exception
protected void updatePortletId(String oldRootPortletId, String newRootPortletId) throws Exception
Exception
protected void updateResourceAction(String oldName, String newName) throws Exception
Exception
protected void updateResourcePermission(String oldRootPortletId, String newRootPortletId, boolean updateName) throws Exception
Exception
protected void updateUserNotificationDelivery(String oldPortletId, String newPortletId) throws Exception
Exception
protected void updateUserNotificationEvent(String oldPortletId, String newPortletId) throws Exception
Exception
protected void upgradeInstanceablePortletIds() throws Exception
Exception
protected void upgradeUninstanceablePortletIds() throws Exception
Exception