Liferay 7.0-ce-m6

com.liferay.portal.upgrade.v7_0_0
Class UpgradeJournalArticles

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.util.UpgradePortletId
              extended by com.liferay.portal.upgrade.v7_0_0.UpgradeJournalArticles
All Implemented Interfaces:
DBProcess

public class UpgradeJournalArticles
extends UpgradePortletId


Constructor Summary
UpgradeJournalArticles()
           
 
Method Summary
protected  long getCategoryId(long companyId, String type)
           
protected  long getCompanyGroupId(long companyId)
           
protected  long getCompanyId(long plid)
           
protected  long getGroupId(long plid)
           
protected  String getNewPreferences(long plid, String preferences)
           
protected  String[][] getRenamePortletIdsArray()
           
protected  long getStructureId(long companyId, long plid, String ddmStructureKey)
           
protected  void updateInstanceablePortletPreferences(String oldRootPortletId, String newRootPortletId)
           
protected  void updatePortlet(String oldRootPortletId, String newRootPortletId)
           
protected  void updatePortletPreference(long portletPreferencesId, String newPortletId, String newPreferences)
           
 
Methods inherited from class com.liferay.portal.upgrade.util.UpgradePortletId
doUpgrade, getNewTypeSettings, getUninstanceablePortletIds, updateLayout, updateLayout, updateLayouts, updatePortletPreference, updateResourcePermission, updateResourcePermission
 
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

UpgradeJournalArticles

public UpgradeJournalArticles()
Method Detail

getCategoryId

protected long getCategoryId(long companyId,
                             String type)
                      throws Exception
Throws:
Exception

getCompanyGroupId

protected long getCompanyGroupId(long companyId)
                          throws Exception
Throws:
Exception

getCompanyId

protected long getCompanyId(long plid)
                     throws Exception
Throws:
Exception

getGroupId

protected long getGroupId(long plid)
                   throws Exception
Throws:
Exception

getNewPreferences

protected String getNewPreferences(long plid,
                                   String preferences)
                            throws Exception
Throws:
Exception

getRenamePortletIdsArray

protected String[][] getRenamePortletIdsArray()
Overrides:
getRenamePortletIdsArray in class UpgradePortletId

getStructureId

protected long getStructureId(long companyId,
                              long plid,
                              String ddmStructureKey)
                       throws Exception
Throws:
Exception

updateInstanceablePortletPreferences

protected void updateInstanceablePortletPreferences(String oldRootPortletId,
                                                    String newRootPortletId)
                                             throws Exception
Overrides:
updateInstanceablePortletPreferences in class UpgradePortletId
Throws:
Exception

updatePortlet

protected void updatePortlet(String oldRootPortletId,
                             String newRootPortletId)
                      throws Exception
Overrides:
updatePortlet in class UpgradePortletId
Throws:
Exception

updatePortletPreference

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

Liferay 7.0-ce-m6