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. |
com.liferay.portal.kernel.upgrade.UpgradeProcess.Alterable, com.liferay.portal.kernel.upgrade.UpgradeProcess.AlterColumnName, com.liferay.portal.kernel.upgrade.UpgradeProcess.AlterColumnType, com.liferay.portal.kernel.upgrade.UpgradeProcess.AlterTableAddColumn, com.liferay.portal.kernel.upgrade.UpgradeProcess.AlterTableDropColumn| 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() |
alter, clearIndexesCache, getIndexesSQL, getTableName, getThreshold, increment, increment, increment, isPortal62TableName, isSkipUpgradeProcess, isSupportsAlterColumnName, isSupportsAlterColumnType, isSupportsStringCaseSensitiveQuery, isSupportsUpdateWithInnerJoin, normalizeName, upgrade, upgrade, upgrade, upgrade, upgradeTable, upgradeTableprotected 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