Liferay 7.0-ce-m3

com.liferay.portal.upgrade.v7_0_0
Class UpgradePortletSettings

java.lang.Object
  extended by com.liferay.portal.kernel.dao.db.BaseDBProcess
      extended by com.liferay.portal.kernel.upgrade.UpgradeProcess
          extended by com.liferay.portal.upgrade.v7_0_0.UpgradePortletSettings
All Implemented Interfaces:
DBProcess

public class UpgradePortletSettings
extends UpgradeProcess


Constructor Summary
UpgradePortletSettings()
           
 
Method Summary
protected  void addPortletPreferences(PortletPreferencesRow portletPreferencesRow)
           
protected  void copyPortletSettingsAsServiceSettings(String portletId, int ownerType, String serviceName)
           
protected  void doUpgrade()
           
protected  long getGroupId(long plid)
           
protected  ResultSet getPortletPreferencesResultSet(String portletId, int ownerType)
           
protected  void resetPortletPreferencesValues(String portletId, int ownerType, String[] keys)
           
protected  void updatePortletPreferences(PortletPreferencesRow portletPreferencesRow)
           
protected  void upgradeDisplayPortlet(String portletId, int ownerType, String[] serviceKeys)
           
protected  void upgradeMainPortlet(String portletId, String serviceName, int ownerType, String[] portletInstanceKeys, String[] serviceKeys)
           
 
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 com.liferay.portal.kernel.dao.db.BaseDBProcess
runSQL, runSQL, runSQLTemplate, runSQLTemplate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UpgradePortletSettings

public UpgradePortletSettings()
Method Detail

addPortletPreferences

protected void addPortletPreferences(PortletPreferencesRow portletPreferencesRow)
                              throws Exception
Throws:
Exception

copyPortletSettingsAsServiceSettings

protected void copyPortletSettingsAsServiceSettings(String portletId,
                                                    int ownerType,
                                                    String serviceName)
                                             throws Exception
Throws:
Exception

doUpgrade

protected void doUpgrade()
                  throws Exception
Overrides:
doUpgrade in class UpgradeProcess
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,
                                             String[] keys)
                                      throws Exception
Throws:
Exception

updatePortletPreferences

protected void updatePortletPreferences(PortletPreferencesRow portletPreferencesRow)
                                 throws Exception
Throws:
Exception

upgradeDisplayPortlet

protected void upgradeDisplayPortlet(String portletId,
                                     int ownerType,
                                     String[] serviceKeys)
                              throws Exception
Throws:
Exception

upgradeMainPortlet

protected void upgradeMainPortlet(String portletId,
                                  String serviceName,
                                  int ownerType,
                                  String[] portletInstanceKeys,
                                  String[] serviceKeys)
                           throws Exception
Throws:
Exception

Liferay 7.0-ce-m3