public abstract class BaseUpgradePortletPreferences extends UpgradeProcess
UpgradeProcess.Alterable, UpgradeProcess.AlterColumnName, UpgradeProcess.AlterColumnType, UpgradeProcess.AlterTableAddColumn, UpgradeProcess.AlterTableDropColumnconnection| Constructor and Description |
|---|
BaseUpgradePortletPreferences() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
deletePortletPreferences(long portletPreferencesId)
Deprecated.
As of Judson, with no direct replacement
|
protected void |
doUpgrade() |
protected long |
getCompanyId(String sql,
long primaryKey) |
protected Object[] |
getGroup(long groupId) |
protected Object[] |
getLayout(long plid) |
protected Object[] |
getLayoutRevision(long layoutRevisionId) |
protected String |
getLayoutUuid(long plid,
long layoutId) |
protected String[] |
getPortletIds() |
protected String |
getUpdatePortletPreferencesWhereClause() |
protected void |
updatePortletPreferences() |
protected void |
updatePortletPreferences(long portletPreferencesId,
String preferences)
Deprecated.
As of Judson
|
protected void |
upgradeMultiValuePreference(javax.portlet.PortletPreferences portletPreferences,
String key) |
protected abstract String |
upgradePreferences(long companyId,
long ownerId,
int ownerType,
long plid,
String portletId,
String xml) |
alter, 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, runSQLTemplateString@Deprecated
protected void deletePortletPreferences(long portletPreferencesId)
throws Exception
Exceptionprotected void doUpgrade()
throws Exception
doUpgrade in class UpgradeProcessExceptionprotected long getCompanyId(String sql,
long primaryKey)
throws Exception
Exceptionprotected Object[] getGroup(long groupId)
throws Exception
Exceptionprotected Object[] getLayout(long plid)
throws Exception
Exceptionprotected Object[] getLayoutRevision(long layoutRevisionId)
throws Exception
Exceptionprotected String getLayoutUuid(long plid,
long layoutId)
throws Exception
Exceptionprotected String[] getPortletIds()
protected String getUpdatePortletPreferencesWhereClause()
protected void updatePortletPreferences()
throws Exception
Exception@Deprecated
protected void updatePortletPreferences(long portletPreferencesId,
String preferences)
throws Exception
Exceptionprotected void upgradeMultiValuePreference(javax.portlet.PortletPreferences portletPreferences,
String key)
throws javax.portlet.ReadOnlyException
javax.portlet.ReadOnlyExceptionprotected abstract String upgradePreferences(long companyId,
long ownerId,
int ownerType,
long plid,
String portletId,
String xml)
throws Exception
Exception