public class UpgradePortletDisplayTemplatePreferences
extends com.liferay.portal.kernel.upgrade.BasePortletPreferencesUpgradeProcess
com.liferay.portal.kernel.upgrade.UpgradeProcess.Alterable, com.liferay.portal.kernel.upgrade.UpgradeProcess.AlterColumnName, com.liferay.portal.kernel.upgrade.UpgradeProcess.AlterColumnType, com.liferay.portal.kernel.upgrade.UpgradeProcess.AlterTableAddColumn, com.liferay.portal.kernel.upgrade.UpgradeProcess.AlterTableDropColumn| 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(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, upgradeMultiValuePreferencealter, clearIndexesCache, ensureTableExists, getConnection, getIndexesSQL, getIndexSQLs, getTableColumnsMap, getTableName, getThreshold, increment, increment, increment, isPortal62TableName, isSkipUpgradeProcess, isSupportsAlterColumnName, isSupportsAlterColumnType, isSupportsStringCaseSensitiveQuery, isSupportsUpdateWithInnerJoin, removePrimaryKey, updateIndexes, upgrade, upgrade, upgrade, upgradeTable, upgradeTabledoHasTable, hasColumn, hasColumnType, hasColumnType, hasIndex, hasRows, hasRows, hasTable, process, processConcurrently, processConcurrently, 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(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