public abstract class BaseUpgradeLastPublishDate extends UpgradeProcess
UpgradeProcess.Alterable, UpgradeProcess.AlterColumnName, UpgradeProcess.AlterColumnType, UpgradeProcess.AlterTableAddColumn, UpgradeProcess.AlterTableDropColumnconnection| Constructor and Description |
|---|
BaseUpgradeLastPublishDate() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addLastPublishDateColumn(String tableName) |
protected Date |
getLayoutSetLastPublishDate(long groupId) |
protected Date |
getPortletLastPublishDate(long groupId,
String portletId) |
protected List<Long> |
getStagedGroupIds() |
protected void |
updateLastPublishDates(String portletId,
String tableName) |
protected void |
updateStagedModelLastPublishDates(long groupId,
String tableName,
Date lastPublishDate) |
alter, clearIndexesCache, doUpgrade, getIndexesSQL, getTableColumnsMap, getTableName, getThreshold, increment, increment, increment, isPortal62TableName, isSkipUpgradeProcess, isSupportsAlterColumnName, isSupportsAlterColumnType, isSupportsStringCaseSensitiveQuery, isSupportsUpdateWithInnerJoin, normalizeName, upgrade, upgrade, upgrade, upgrade, upgradeTable, upgradeTabledoHasTable, hasColumn, hasColumnType, hasColumnType, hasRows, hasRows, hasTable, runSQL, runSQL, runSQL, runSQL, runSQLTemplate, runSQLTemplate, runSQLTemplateStringprotected void addLastPublishDateColumn(String tableName)
throws Exception
Exceptionprotected Date getLayoutSetLastPublishDate(long groupId)
throws Exception
Exceptionprotected Date getPortletLastPublishDate(long groupId,
String portletId)
throws Exception
Exceptionprotected List<Long> getStagedGroupIds()
throws Exception
Exceptionprotected void updateLastPublishDates(String portletId,
String tableName)
throws Exception
Exceptionprotected void updateStagedModelLastPublishDates(long groupId,
String tableName,
Date lastPublishDate)
throws Exception
Exception