Liferay 6.1.2-ce-ga3

com.liferay.portal.upgrade.v5_2_0
Class UpgradePortletId

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.v5_2_0.UpgradePortletId
All Implemented Interfaces:
DBProcess
Direct Known Subclasses:
UpgradePortletId, UpgradePortletId

public class UpgradePortletId
extends UpgradeProcess


Constructor Summary
UpgradePortletId()
           
 
Method Summary
protected  void doUpgrade()
           
protected  String[][] getPortletIdsArray()
           
protected  void updateInstanceablePortletPreferences(String oldRootPortletId, String newRootPortletId)
           
protected  void updateLayout(long plid, String typeSettings)
           
protected  void updateLayout(long plid, String oldPortletId, String newPortletId)
           
protected  void updateLayouts(String oldRootPortletId, String newRootPortletId, boolean exactMatch)
           
protected  void updatePortlet(String oldRootPortletId, String newRootPortletId)
           
protected  void updatePortletPreference(long portletPreferencesId, String portletId)
           
protected  void updateResource(String oldRootPortletId, String newRootPortletId)
           
protected  void updateResourceCode(String oldRootPortletId, String newRootPortletId)
           
protected  void updateResourcePermission(long resourcePermissionId, String name, String primKey)
           
protected  void updateResourcePermission(String oldRootPortletId, String newRootPortletId)
           
 
Methods inherited from class com.liferay.portal.kernel.upgrade.UpgradeProcess
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

UpgradePortletId

public UpgradePortletId()
Method Detail

doUpgrade

protected void doUpgrade()
                  throws Exception
Overrides:
doUpgrade in class UpgradeProcess
Throws:
Exception

getPortletIdsArray

protected String[][] getPortletIdsArray()

updateInstanceablePortletPreferences

protected void updateInstanceablePortletPreferences(String oldRootPortletId,
                                                    String newRootPortletId)
                                             throws Exception
Throws:
Exception

updateLayout

protected void updateLayout(long plid,
                            String typeSettings)
                     throws Exception
Throws:
Exception

updateLayout

protected void updateLayout(long plid,
                            String oldPortletId,
                            String newPortletId)
                     throws Exception
Throws:
Exception

updateLayouts

protected void updateLayouts(String oldRootPortletId,
                             String newRootPortletId,
                             boolean exactMatch)
                      throws Exception
Throws:
Exception

updatePortlet

protected void updatePortlet(String oldRootPortletId,
                             String newRootPortletId)
                      throws Exception
Throws:
Exception

updatePortletPreference

protected void updatePortletPreference(long portletPreferencesId,
                                       String portletId)
                                throws Exception
Throws:
Exception

updateResource

protected void updateResource(String oldRootPortletId,
                              String newRootPortletId)
                       throws Exception
Throws:
Exception

updateResourceCode

protected void updateResourceCode(String oldRootPortletId,
                                  String newRootPortletId)
                           throws Exception
Throws:
Exception

updateResourcePermission

protected void updateResourcePermission(long resourcePermissionId,
                                        String name,
                                        String primKey)
                                 throws Exception
Throws:
Exception

updateResourcePermission

protected void updateResourcePermission(String oldRootPortletId,
                                        String newRootPortletId)
                                 throws Exception
Throws:
Exception

Liferay 6.1.2-ce-ga3