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 Judson (7.1.x), with no direct replacement
|
protected void |
doUpgrade() |
protected long |
getCompanyId(java.lang.String sql,
long primaryKey) |
protected java.lang.Object[] |
getGroup(long groupId) |
protected java.lang.Object[] |
getLayout(long plid) |
protected java.lang.Object[] |
getLayoutRevision(long layoutRevisionId) |
protected java.lang.String |
getLayoutUuid(long plid,
long layoutId) |
protected java.lang.String[] |
getPortletIds() |
protected java.lang.String |
getUpdatePortletPreferencesWhereClause() |
protected void |
updatePortletPreferences() |
protected void |
updatePortletPreferences(long portletPreferencesId,
java.lang.String preferences)
Deprecated.
As of Judson (7.1.x)
|
protected void |
upgradeMultiValuePreference(javax.portlet.PortletPreferences portletPreferences,
java.lang.String key) |
protected abstract java.lang.String |
upgradePreferences(long companyId,
long ownerId,
int ownerType,
long plid,
java.lang.String portletId,
java.lang.String xml) |
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
@Deprecated protected void deletePortletPreferences(long portletPreferencesId) throws java.lang.Exception
java.lang.Exception
protected void doUpgrade() throws java.lang.Exception
doUpgrade
in class UpgradeProcess
java.lang.Exception
protected long getCompanyId(java.lang.String sql, long primaryKey) throws java.lang.Exception
java.lang.Exception
protected java.lang.Object[] getGroup(long groupId) throws java.lang.Exception
java.lang.Exception
protected java.lang.Object[] getLayout(long plid) throws java.lang.Exception
java.lang.Exception
protected java.lang.Object[] getLayoutRevision(long layoutRevisionId) throws java.lang.Exception
java.lang.Exception
protected java.lang.String getLayoutUuid(long plid, long layoutId) throws java.lang.Exception
java.lang.Exception
protected java.lang.String[] getPortletIds()
protected java.lang.String getUpdatePortletPreferencesWhereClause()
protected void updatePortletPreferences() throws java.lang.Exception
java.lang.Exception
@Deprecated protected void updatePortletPreferences(long portletPreferencesId, java.lang.String preferences) throws java.lang.Exception
java.lang.Exception
protected void upgradeMultiValuePreference(javax.portlet.PortletPreferences portletPreferences, java.lang.String key) throws javax.portlet.ReadOnlyException
javax.portlet.ReadOnlyException
protected abstract java.lang.String upgradePreferences(long companyId, long ownerId, int ownerType, long plid, java.lang.String portletId, java.lang.String xml) throws java.lang.Exception
java.lang.Exception