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, isSupportsAlterColumnName, isSupportsAlterColumnType, isSupportsStringCaseSensitiveQuery, isSupportsUpdateWithInnerJoin, normalizeName, upgrade, upgrade, upgrade, upgrade, upgradeTable, upgradeTable
protected String createExtraData(UpgradeSocial.ExtraDataFactory extraDataFactory, long companyId, long groupId, long userId, long classNameId, long classPK, int type, String extraData) throws Exception
Exception
protected Map<Long,String> createExtraDataMap(UpgradeSocial.ExtraDataFactory extraDataFactory) throws Exception
Exception
protected void doUpgrade() throws Exception
doUpgrade
in class com.liferay.portal.kernel.upgrade.UpgradeProcess
Exception
protected void updateActivities() throws Exception
Exception
protected void updateActivities(UpgradeSocial.ExtraDataFactory extraDataFactory) throws Exception
Exception
protected void updateJournalActivities() throws Exception
Exception
protected void updateSOSocialActivities() throws Exception
Exception