public abstract class BasePortletPreferencesUpgradeProcess extends UpgradeProcess
UpgradeProcess.Alterableconnection| Constructor and Description |
|---|
BasePortletPreferencesUpgradeProcess() |
| Modifier and Type | Method and Description |
|---|---|
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 |
upgradeMultiValuePreference(javax.portlet.PortletPreferences portletPreferences,
String key) |
protected abstract String |
upgradePreferences(long companyId,
long ownerId,
int ownerType,
long plid,
String portletId,
String xml) |
addTempIndex, clearIndexesCache, ensureTableExists, getConnection, getIndexesSQL, getTableColumnsMap, getTableName, getThreshold, increment, increment, increment, isPortal62TableName, isSkipUpgradeProcess, upgrade, upgrade, upgradeaddIndexes, alterColumnName, alterColumnType, alterTableAddColumn, alterTableDropColumn, doHasTable, dropIndexes, getPrimaryKeyColumnNames, hasColumn, hasColumnType, hasIndex, hasRows, hasRows, hasTable, process, processConcurrently, processConcurrently, removePrimaryKey, runSQL, runSQL, runSQL, runSQL, runSQLTemplate, runSQLTemplate, runSQLTemplateString, runSQLTemplateStringpublic BasePortletPreferencesUpgradeProcess()
protected 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
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