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 long |
getCompanyGroupId(long companyId) |
protected com.liferay.portal.kernel.util.ObjectValuePair<Long,String> |
getTemplateGroupAndKey(long displayStyleGroupId,
String displayStyle) |
protected String |
getTemplateKey(long displayStyleGroupId,
String displayStyle)
Deprecated.
As of Judson (7.1.x), replaced by
getTemplateGroupAndKey(long, String) |
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) |
deletePortletPreferences, doUpgrade, getCompanyId, getGroup, getLayout, getLayoutRevision, getLayoutUuid, getPortletIds, updatePortletPreferences, updatePortletPreferences, upgradeMultiValuePreference
alter, clearIndexesCache, getIndexesSQL, getTableName, getThreshold, increment, increment, increment, isPortal62TableName, isSupportsAlterColumnName, isSupportsAlterColumnType, isSupportsStringCaseSensitiveQuery, isSupportsUpdateWithInnerJoin, normalizeName, upgrade, upgrade, upgrade, upgrade, upgradeTable, upgradeTable
protected 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
Exception
protected com.liferay.portal.kernel.util.ObjectValuePair<Long,String> getTemplateGroupAndKey(long displayStyleGroupId, String displayStyle) throws Exception
Exception
@Deprecated protected String getTemplateKey(long displayStyleGroupId, String displayStyle) throws Exception
getTemplateGroupAndKey(long, String)
Exception
protected String getUpdatePortletPreferencesWhereClause()
getUpdatePortletPreferencesWhereClause
in class com.liferay.portal.kernel.upgrade.BaseUpgradePortletPreferences
protected void upgradeDisplayStyle(javax.portlet.PortletPreferences portletPreferences) throws Exception
Exception
protected String upgradePreferences(long companyId, long ownerId, int ownerType, long plid, String portletId, String xml) throws Exception
upgradePreferences
in class com.liferay.portal.kernel.upgrade.BaseUpgradePortletPreferences
Exception