public abstract class UpgradePortletSettings
extends com.liferay.portal.kernel.upgrade.UpgradeProcess
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
Constructor and Description |
---|
UpgradePortletSettings() |
UpgradePortletSettings(com.liferay.portal.kernel.settings.SettingsFactory settingsFactory) |
Modifier and Type | Method and Description |
---|---|
protected void |
addPortletPreferences(PortletPreferencesRow portletPreferencesRow) |
protected void |
copyPortletSettingsAsServiceSettings(String portletId,
int ownerType,
String serviceName) |
protected long |
getGroupId(long plid) |
protected PreparedStatement |
getPortletPreferencesPreparedStatement(String portletId,
int ownerType) |
protected void |
resetPortletPreferencesValues(String portletId,
int ownerType,
com.liferay.portal.kernel.settings.SettingsDescriptor settingsDescriptor) |
protected void |
updatePortletPreferences(PortletPreferencesRow portletPreferencesRow) |
protected void |
upgradeDisplayPortlet(String portletId,
String serviceName,
int ownerType) |
protected void |
upgradeMainPortlet(String portletId,
String serviceName,
int ownerType,
boolean resetPortletInstancePreferences) |
alter, clearIndexesCache, doUpgrade, getIndexesSQL, getTableName, getThreshold, increment, increment, increment, isPortal62TableName, isSkipUpgradeProcess, isSupportsAlterColumnName, isSupportsAlterColumnType, isSupportsStringCaseSensitiveQuery, isSupportsUpdateWithInnerJoin, normalizeName, upgrade, upgrade, upgrade, upgrade, upgradeTable, upgradeTable
public UpgradePortletSettings()
public UpgradePortletSettings(com.liferay.portal.kernel.settings.SettingsFactory settingsFactory)
protected void addPortletPreferences(PortletPreferencesRow portletPreferencesRow) throws Exception
Exception
protected void copyPortletSettingsAsServiceSettings(String portletId, int ownerType, String serviceName) throws Exception
Exception
protected long getGroupId(long plid) throws Exception
Exception
protected PreparedStatement getPortletPreferencesPreparedStatement(String portletId, int ownerType) throws Exception
Exception
protected void resetPortletPreferencesValues(String portletId, int ownerType, com.liferay.portal.kernel.settings.SettingsDescriptor settingsDescriptor) throws Exception
Exception
protected void updatePortletPreferences(PortletPreferencesRow portletPreferencesRow) throws Exception
Exception
protected void upgradeDisplayPortlet(String portletId, String serviceName, int ownerType) throws Exception
Exception
protected void upgradeMainPortlet(String portletId, String serviceName, int ownerType, boolean resetPortletInstancePreferences) throws Exception
Exception