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:
- DBProcess, UpgradeStep
public abstract class UpgradePortletSettings
- extends UpgradeProcess
|
Method Summary |
protected void |
addPortletPreferences(PortletPreferencesRow portletPreferencesRow)
|
protected void |
copyPortletSettingsAsServiceSettings(String portletId,
int ownerType,
String serviceName)
|
protected long |
getGroupId(long plid)
|
protected ResultSet |
getPortletPreferencesResultSet(String portletId,
int ownerType)
|
protected void |
resetPortletPreferencesValues(String portletId,
int ownerType,
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 |
doUpgrade, getThreshold, increment, increment, isSupportsAlterColumnName, isSupportsAlterColumnType, isSupportsStringCaseSensitiveQuery, isSupportsUpdateWithInnerJoin, upgrade, upgrade, upgrade, upgrade, upgradeTable, upgradeTable |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UpgradePortletSettings
public UpgradePortletSettings()
UpgradePortletSettings
public UpgradePortletSettings(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
getPortletPreferencesResultSet
protected ResultSet getPortletPreferencesResultSet(String portletId,
int ownerType)
throws Exception
- Throws:
Exception
resetPortletPreferencesValues
protected void resetPortletPreferencesValues(String portletId,
int ownerType,
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