public class UpgradeSubscription
extends com.liferay.portal.kernel.upgrade.UpgradeProcess
| Constructor and Description |
|---|
UpgradeSubscription() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addClassName(long classNameId,
String className) |
protected void |
deleteOrphanedSubscriptions() |
protected void |
doUpgrade() |
protected long |
getClassNameId(String className) |
protected long |
getGroupId(long classNameId,
long classPK) |
protected boolean |
hasGroup(long groupId) |
protected void |
updateSubscriptionClassNames(String oldClassName,
String newClassName) |
protected void |
updateSubscriptionGroupIds() |
addTempIndex, clearIndexesCache, ensureTableExists, getConnection, getIndexesSQL, getTableColumnsMap, getTableName, getThreshold, increment, increment, increment, isPortal62TableName, isSkipUpgradeProcess, upgrade, upgrade, upgradeaddIndexes, alterColumnName, alterColumnType, alterTableAddColumn, alterTableDropColumn, doHasTable, dropIndexes, getPrimaryKeyColumnNames, hasColumn, hasColumnType, hasIndex, hasRows, hasRows, hasTable, process, processConcurrently, processConcurrently, removePrimaryKey, runSQL, runSQL, runSQL, runSQL, runSQLTemplate, runSQLTemplate, runSQLTemplateString, runSQLTemplateStringprotected void addClassName(long classNameId,
String className)
throws Exception
Exceptionprotected void deleteOrphanedSubscriptions()
throws Exception
Exceptionprotected void doUpgrade()
throws Exception
doUpgrade in class com.liferay.portal.kernel.upgrade.UpgradeProcessExceptionprotected long getClassNameId(String className)
throws Exception
Exceptionprotected long getGroupId(long classNameId,
long classPK)
throws Exception
Exceptionprotected boolean hasGroup(long groupId)
throws Exception
Exceptionprotected void updateSubscriptionClassNames(String oldClassName,
String newClassName)
throws Exception
Exceptionprotected void updateSubscriptionGroupIds()
throws Exception
Exception