com.liferay.portal.kernel.upgrade
Class BaseUpgradePortletPreferences
java.lang.Object
com.liferay.portal.kernel.upgrade.UpgradeProcess
com.liferay.portal.kernel.upgrade.BaseUpgradePortletPreferences
- Direct Known Subclasses:
- CamelCaseUpgradePortletPreferences
public abstract class BaseUpgradePortletPreferences
- extends UpgradeProcess
- Author:
- Jorge Ferrer, Brian Wing Shun Chan
| Methods inherited from class com.liferay.portal.kernel.upgrade.UpgradeProcess |
getThreshold, hasTable, increment, increment, isSupportsAlterColumnName, isSupportsAlterColumnType, isSupportsStringCaseSensitiveQuery, isSupportsUpdateWithInnerJoin, runSQL, runSQL, runSQLTemplate, runSQLTemplate, 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 |
BaseUpgradePortletPreferences
public BaseUpgradePortletPreferences()
deletePortletPreferences
protected void deletePortletPreferences(long portletPreferencesId)
throws java.lang.Exception
- Throws:
java.lang.Exception
doUpgrade
protected void doUpgrade()
throws java.lang.Exception
- Overrides:
doUpgrade in class UpgradeProcess
- Throws:
java.lang.Exception
getCompanyId
protected long getCompanyId(long userId)
throws java.lang.Exception
- Throws:
java.lang.Exception
getGroup
protected java.lang.Object[] getGroup(long groupId)
throws java.lang.Exception
- Throws:
java.lang.Exception
getLayout
protected java.lang.Object[] getLayout(long plid)
throws java.lang.Exception
- Throws:
java.lang.Exception
getLayoutUuid
protected java.lang.String getLayoutUuid(long plid,
long layoutId)
throws java.lang.Exception
- Throws:
java.lang.Exception
getPortletIds
protected java.lang.String[] getPortletIds()
getUpdatePortletPreferencesWhereClause
protected java.lang.String getUpdatePortletPreferencesWhereClause()
updatePortletPreferences
protected void updatePortletPreferences()
throws java.lang.Exception
- Throws:
java.lang.Exception
updatePortletPreferences
protected void updatePortletPreferences(long portletPreferencesId,
java.lang.String preferences)
throws java.lang.Exception
- Throws:
java.lang.Exception
upgradePreferences
protected abstract java.lang.String upgradePreferences(long companyId,
long ownerId,
int ownerType,
long plid,
java.lang.String portletId,
java.lang.String xml)
throws java.lang.Exception
- Throws:
java.lang.Exception