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, getThreshold, increment, increment, increment, isSupportsAlterColumnName, isSupportsAlterColumnType, isSupportsStringCaseSensitiveQuery, isSupportsUpdateWithInnerJoin, normalizeName, upgrade, upgrade, upgrade, upgrade, upgradeTable, upgradeTablepublic UpgradePortletSettings()
public UpgradePortletSettings(com.liferay.portal.kernel.settings.SettingsFactory settingsFactory)
protected void addPortletPreferences(PortletPreferencesRow portletPreferencesRow) throws Exception
Exceptionprotected void copyPortletSettingsAsServiceSettings(String portletId, int ownerType, String serviceName) throws Exception
Exceptionprotected PreparedStatement getPortletPreferencesPreparedStatement(String portletId, int ownerType) throws Exception
Exceptionprotected void resetPortletPreferencesValues(String portletId, int ownerType, com.liferay.portal.kernel.settings.SettingsDescriptor settingsDescriptor) throws Exception
Exceptionprotected void updatePortletPreferences(PortletPreferencesRow portletPreferencesRow) throws Exception
Exceptionprotected void upgradeDisplayPortlet(String portletId, String serviceName, int ownerType) throws Exception
Exception