public class UpgradeSocial
extends com.liferay.portal.kernel.upgrade.UpgradeProcess
| Modifier and Type | Class and Description |
|---|---|
protected static interface |
UpgradeSocial.ExtraDataFactory
Defines the necessary methods to generate extra data from a set of social
activities (
com.liferay.social.kernel.model.SocialActivity
instances) of any kind. |
| Constructor and Description |
|---|
UpgradeSocial() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
createExtraData(UpgradeSocial.ExtraDataFactory extraDataFactory,
long companyId,
long groupId,
long userId,
long classNameId,
long classPK,
int type,
String extraData) |
protected Map<Long,String> |
createExtraDataMap(UpgradeSocial.ExtraDataFactory extraDataFactory) |
protected void |
doUpgrade() |
protected void |
updateActivities() |
protected void |
updateActivities(UpgradeSocial.ExtraDataFactory extraDataFactory) |
protected void |
updateJournalActivities() |
protected void |
updateSOSocialActivities() |
addTemporaryIndex, clearIndexesCache, ensureTableExists, getIndexesSQL, getPostUpgradeSteps, getPreUpgradeSteps, getTableColumnsMap, getTableName, getThreshold, getUpgradeSteps, increment, increment, increment, isPortal62TableName, isSkipUpgradeProcess, upgrade, upgradeaddIndexes, alterColumnName, alterColumnType, alterTableAddColumn, alterTableDropColumn, alterTableName, doHasTable, dropIndexes, dropTable, getConnection, getPrimaryKeyColumnNames, hasColumn, hasColumnType, hasIndex, hasRows, hasRows, hasTable, hasView, process, processConcurrently, processConcurrently, processConcurrently, processConcurrently, removePrimaryKey, runSQL, runSQL, runSQL, runSQL, runSQLFile, runSQLFile, runSQLTemplateprotected String createExtraData(UpgradeSocial.ExtraDataFactory extraDataFactory, long companyId, long groupId, long userId, long classNameId, long classPK, int type, String extraData) throws Exception
Exceptionprotected Map<Long,String> createExtraDataMap(UpgradeSocial.ExtraDataFactory extraDataFactory) throws Exception
Exceptionprotected void doUpgrade()
throws Exception
doUpgrade in class com.liferay.portal.kernel.upgrade.UpgradeProcessExceptionprotected void updateActivities()
throws Exception
Exceptionprotected void updateActivities(UpgradeSocial.ExtraDataFactory extraDataFactory) throws Exception
Exceptionprotected void updateJournalActivities()
throws Exception
Exceptionprotected void updateSOSocialActivities()
throws Exception
Exception