public abstract class BaseUpgradeLastPublishDate extends UpgradeProcess
UpgradeProcess.Alterable, UpgradeProcess.AlterColumnName, UpgradeProcess.AlterColumnType, UpgradeProcess.AlterTableAddColumn, UpgradeProcess.AlterTableDropColumn
connection
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, getTableName, getThreshold, increment, increment, increment, isSupportsAlterColumnName, isSupportsAlterColumnType, isSupportsStringCaseSensitiveQuery, isSupportsUpdateWithInnerJoin, normalizeName, upgrade, upgrade, upgrade, upgrade, upgradeTable, upgradeTable
doHasTable, hasColumn, hasColumnType, hasRows, hasRows, hasTable, runSQL, runSQL, runSQL, runSQL, runSQLTemplate, runSQLTemplate, runSQLTemplateString
protected void addLastPublishDateColumn(String tableName) throws Exception
Exception
protected Date getLayoutSetLastPublishDate(long groupId) throws Exception
Exception
protected Date getPortletLastPublishDate(long groupId, String portletId) throws Exception
Exception
protected List<Long> getStagedGroupIds() throws Exception
Exception
protected void updateLastPublishDates(String portletId, String tableName) throws Exception
Exception
protected void updateStagedModelLastPublishDates(long groupId, String tableName, Date lastPublishDate) throws Exception
Exception