public abstract class BaseLastPublishDateUpgradeProcess extends UpgradeProcess
UpgradeProcess.Alterableconnection| Constructor and Description |
|---|
BaseLastPublishDateUpgradeProcess() |
| 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) |
addTempIndex, clearIndexesCache, doUpgrade, 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 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