public class UpgradePortletDisplayTemplatePreferences
extends com.liferay.portal.kernel.upgrade.BaseUpgradePortletPreferences
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 String |
getTemplateKey(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) |
deletePortletPreferences, doUpgrade, getCompanyId, getGroup, getLayout, getLayoutRevision, getLayoutUuid, getPortletIds, updatePortletPreferences, updatePortletPreferences, upgradeMultiValuePreferencealter, clearIndexesCache, getIndexesSQL, getThreshold, increment, increment, increment, isSupportsAlterColumnName, isSupportsAlterColumnType, isSupportsStringCaseSensitiveQuery, isSupportsUpdateWithInnerJoin, normalizeName, upgrade, upgrade, upgrade, upgrade, upgradeTable, upgradeTableprotected static final String DISPLAY_STYLE_PREFIX_6_2
protected static final String UPDATE_PORTLET_PREFERENCES_WHERE_CLAUSE
public UpgradePortletDisplayTemplatePreferences()
protected String getTemplateKey(long displayStyleGroupId, String displayStyle) throws Exception
Exceptionprotected String getUpdatePortletPreferencesWhereClause()
getUpdatePortletPreferencesWhereClause in class com.liferay.portal.kernel.upgrade.BaseUpgradePortletPreferencesprotected void upgradeDisplayStyle(PortletPreferences portletPreferences) throws Exception
Exception