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, getThreshold, increment, increment, increment, isSupportsAlterColumnName, isSupportsAlterColumnType, isSupportsStringCaseSensitiveQuery, isSupportsUpdateWithInnerJoin, normalizeName, upgrade, upgrade, upgrade, upgrade, upgradeTable, upgradeTabledoHasTable, hasColumn, hasColumnType, hasRows, hasRows, hasTable, 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 void updateLastPublishDates(String portletId, String tableName) throws Exception
Exception