com.liferay.portal.upgrade.v7_0_0
Class UpgradeJournalArticles
java.lang.Object
com.liferay.portal.kernel.dao.db.BaseDBProcess
com.liferay.portal.kernel.upgrade.UpgradeProcess
com.liferay.portal.upgrade.util.UpgradePortletId
com.liferay.portal.upgrade.v7_0_0.UpgradeJournalArticles
- All Implemented Interfaces:
- DBProcess
public class UpgradeJournalArticles
- extends UpgradePortletId
| 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 |
UpgradeJournalArticles
public UpgradeJournalArticles()
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