com.liferay.portal.upgrade.v7_0_0
Class UpgradePortletSettings
java.lang.Object
com.liferay.portal.kernel.dao.db.BaseDBProcess
com.liferay.portal.kernel.upgrade.UpgradeProcess
com.liferay.portal.upgrade.v7_0_0.UpgradePortletSettings
- All Implemented Interfaces:
- com.liferay.portal.kernel.dao.db.DBProcess, com.liferay.portal.kernel.upgrade.UpgradeStep
public abstract class UpgradePortletSettings
- extends com.liferay.portal.kernel.upgrade.UpgradeProcess
| Nested classes/interfaces inherited from class 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 |
| Fields inherited from class com.liferay.portal.kernel.dao.db.BaseDBProcess |
connection |
|
Method Summary |
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)
|
| Methods inherited from class com.liferay.portal.kernel.upgrade.UpgradeProcess |
alter, clearIndexesCache, doUpgrade, getIndexesSQL, getThreshold, increment, increment, increment, isSupportsAlterColumnName, isSupportsAlterColumnType, isSupportsStringCaseSensitiveQuery, isSupportsUpdateWithInnerJoin, normalizeName, upgrade, upgrade, upgrade, upgrade, upgradeTable, upgradeTable |
| Methods inherited from class com.liferay.portal.kernel.dao.db.BaseDBProcess |
doHasTable, hasColumn, hasRows, hasRows, hasTable, runSQL, runSQL, runSQL, runSQLTemplate, runSQLTemplate, runSQLTemplateString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UpgradePortletSettings
public UpgradePortletSettings()
UpgradePortletSettings
public UpgradePortletSettings(com.liferay.portal.kernel.settings.SettingsFactory settingsFactory)
addPortletPreferences
protected void addPortletPreferences(PortletPreferencesRow portletPreferencesRow)
throws Exception
- Throws:
Exception
copyPortletSettingsAsServiceSettings
protected void copyPortletSettingsAsServiceSettings(String portletId,
int ownerType,
String serviceName)
throws Exception
- Throws:
Exception
getGroupId
protected long getGroupId(long plid)
throws Exception
- Throws:
Exception
getPortletPreferencesPreparedStatement
protected PreparedStatement getPortletPreferencesPreparedStatement(String portletId,
int ownerType)
throws Exception
- Throws:
Exception
resetPortletPreferencesValues
protected void resetPortletPreferencesValues(String portletId,
int ownerType,
com.liferay.portal.kernel.settings.SettingsDescriptor settingsDescriptor)
throws Exception
- Throws:
Exception
updatePortletPreferences
protected void updatePortletPreferences(PortletPreferencesRow portletPreferencesRow)
throws Exception
- Throws:
Exception
upgradeDisplayPortlet
protected void upgradeDisplayPortlet(String portletId,
String serviceName,
int ownerType)
throws Exception
- Throws:
Exception
upgradeMainPortlet
protected void upgradeMainPortlet(String portletId,
String serviceName,
int ownerType,
boolean resetPortletInstancePreferences)
throws Exception
- Throws:
Exception