com.liferay.portal.upgrade.v6_2_0
Class UpgradeCustomizablePortlets
java.lang.Object
com.liferay.portal.kernel.dao.db.BaseDBProcess
com.liferay.portal.kernel.upgrade.UpgradeProcess
com.liferay.portal.upgrade.v6_2_0.UpgradeCustomizablePortlets
- All Implemented Interfaces:
- DBProcess
public class UpgradeCustomizablePortlets
- extends UpgradeProcess
Method Summary |
protected void |
doUpgrade()
|
protected PortalPreferencesWrapper |
getPortalPreferencesInstance(long ownerId,
int ownerType,
String xml)
|
protected PortletPreferences |
getPortletPreferences(long ownerId,
int ownerType,
long plid,
String portletId)
|
protected String |
migratePortletPreferencesToUserPreferences(long userId,
long plid,
String portletId)
|
protected void |
updatePortletPreferences(long userId,
long plid,
String portletId,
String newPortletId)
|
protected void |
upgradeCustomizablePreferences(PortalPreferencesWrapper portalPreferencesWrapper,
long ownerId,
int ownerType,
String preferences)
|
Methods inherited from class com.liferay.portal.kernel.upgrade.UpgradeProcess |
doHasTable, getThreshold, hasTable, increment, increment, isSupportsAlterColumnName, isSupportsAlterColumnType, isSupportsStringCaseSensitiveQuery, isSupportsUpdateWithInnerJoin, tableHasColumn, tableHasData, upgrade, upgrade, upgrade, upgradeTable, upgradeTable |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UpgradeCustomizablePortlets
public UpgradeCustomizablePortlets()
doUpgrade
protected void doUpgrade()
throws Exception
- Overrides:
doUpgrade
in class UpgradeProcess
- Throws:
Exception
getPortalPreferencesInstance
protected PortalPreferencesWrapper getPortalPreferencesInstance(long ownerId,
int ownerType,
String xml)
throws SystemException
- Throws:
SystemException
getPortletPreferences
protected PortletPreferences getPortletPreferences(long ownerId,
int ownerType,
long plid,
String portletId)
throws Exception
- Throws:
Exception
migratePortletPreferencesToUserPreferences
protected String migratePortletPreferencesToUserPreferences(long userId,
long plid,
String portletId)
throws Exception
- Throws:
Exception
updatePortletPreferences
protected void updatePortletPreferences(long userId,
long plid,
String portletId,
String newPortletId)
throws Exception
- Throws:
Exception
upgradeCustomizablePreferences
protected void upgradeCustomizablePreferences(PortalPreferencesWrapper portalPreferencesWrapper,
long ownerId,
int ownerType,
String preferences)
throws Exception
- Throws:
Exception