public class UpgradePortletDisplayTemplatePreferences
extends com.liferay.portal.kernel.upgrade.BasePortletPreferencesUpgradeProcess
| Modifier and Type | Field and Description |
|---|---|
protected static String |
DISPLAY_STYLE_PREFIX_6_2 |
protected static String |
UPDATE_PORTLET_PREFERENCES_WHERE_CLAUSE |
| Constructor and Description |
|---|
UpgradePortletDisplayTemplatePreferences() |
| Modifier and Type | Method and Description |
|---|---|
protected long |
getCompanyGroupId(long companyId) |
protected com.liferay.portal.kernel.util.ObjectValuePair<Long,String> |
getTemplateGroupAndKey(long displayStyleGroupId,
String displayStyle) |
protected String |
getUpdatePortletPreferencesWhereClause() |
protected void |
upgradeDisplayStyle(javax.portlet.PortletPreferences portletPreferences) |
protected String |
upgradePreferences(long companyId,
long ownerId,
int ownerType,
long plid,
String portletId,
String xml) |
doUpgrade, getCompanyId, getGroup, getLayout, getLayoutRevision, getLayoutUuid, getPortletIds, updatePortletPreferences, upgradeMultiValuePreferenceaddTempIndex, 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, runSQLTemplateStringprotected static final String DISPLAY_STYLE_PREFIX_6_2
protected static final String UPDATE_PORTLET_PREFERENCES_WHERE_CLAUSE
public UpgradePortletDisplayTemplatePreferences()
protected long getCompanyGroupId(long companyId)
throws Exception
Exceptionprotected com.liferay.portal.kernel.util.ObjectValuePair<Long,String> getTemplateGroupAndKey(long displayStyleGroupId,
String displayStyle)
throws Exception
Exceptionprotected String getUpdatePortletPreferencesWhereClause()
getUpdatePortletPreferencesWhereClause in class com.liferay.portal.kernel.upgrade.BasePortletPreferencesUpgradeProcessprotected void upgradeDisplayStyle(javax.portlet.PortletPreferences portletPreferences)
throws Exception
Exceptionprotected String upgradePreferences(long companyId,
long ownerId,
int ownerType,
long plid,
String portletId,
String xml)
throws Exception
upgradePreferences in class com.liferay.portal.kernel.upgrade.BasePortletPreferencesUpgradeProcessException