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, upgradeMultiValuePreference
addTemporaryIndex, clearIndexesCache, ensureTableExists, getIndexesSQL, getPostUpgradeSteps, getPreUpgradeSteps, getTableColumnsMap, getTableName, getThreshold, getUpgradeSteps, increment, increment, increment, isPortal62TableName, isSkipUpgradeProcess, upgrade, upgrade, upgrade
addIndexes, alterColumnName, alterColumnType, alterTableAddColumn, alterTableDropColumn, alterTableName, doHasTable, dropIndexes, dropTable, getConnection, getPrimaryKeyColumnNames, hasColumn, hasColumnType, hasIndex, hasRows, hasRows, hasTable, process, processConcurrently, processConcurrently, removePrimaryKey, runSQL, runSQL, runSQL, runSQL, runSQLTemplate, runSQLTemplate, runSQLTemplateString
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
protected String getUpdatePortletPreferencesWhereClause()
getUpdatePortletPreferencesWhereClause
in class com.liferay.portal.kernel.upgrade.BasePortletPreferencesUpgradeProcess
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.BasePortletPreferencesUpgradeProcess
Exception