public abstract class BaseUpgradePortletPreferences extends UpgradeProcess
UpgradeProcess.Alterable, UpgradeProcess.AlterColumnName, UpgradeProcess.AlterColumnType, UpgradeProcess.AlterTableAddColumn, UpgradeProcess.AlterTableDropColumn
connection
Constructor and Description |
---|
BaseUpgradePortletPreferences() |
Modifier and Type | Method and Description |
---|---|
protected void |
deletePortletPreferences(long portletPreferencesId)
Deprecated.
As of 7.0.0, 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 7.0.0
|
protected void |
upgradeMultiValuePreference(PortletPreferences portletPreferences,
String key) |
protected abstract String |
upgradePreferences(long companyId,
long ownerId,
int ownerType,
long plid,
String portletId,
String xml) |
alter, clearIndexesCache, getIndexesSQL, getThreshold, increment, increment, increment, isSupportsAlterColumnName, isSupportsAlterColumnType, isSupportsStringCaseSensitiveQuery, isSupportsUpdateWithInnerJoin, normalizeName, upgrade, upgrade, upgrade, upgrade, upgradeTable, upgradeTable
doHasTable, hasColumn, hasColumnType, hasRows, hasRows, hasTable, runSQL, runSQL, runSQL, runSQLTemplate, runSQLTemplate, runSQLTemplateString
@Deprecated protected void deletePortletPreferences(long portletPreferencesId) throws Exception
Exception
protected void doUpgrade() throws Exception
doUpgrade
in class UpgradeProcess
Exception
protected long getCompanyId(String sql, long primaryKey) throws Exception
Exception
protected Object[] getLayoutRevision(long layoutRevisionId) throws Exception
Exception
protected String getLayoutUuid(long plid, long layoutId) throws Exception
Exception
protected String[] getPortletIds()
protected String getUpdatePortletPreferencesWhereClause()
protected void updatePortletPreferences() throws Exception
Exception
@Deprecated protected void updatePortletPreferences(long portletPreferencesId, String preferences) throws Exception
Exception
protected void upgradeMultiValuePreference(PortletPreferences portletPreferences, String key) throws ReadOnlyException
ReadOnlyException