Class BaseLastPublishDateUpgradeProcess
Object
com.liferay.portal.kernel.dao.db.BaseDBProcess
com.liferay.portal.kernel.upgrade.UpgradeProcess
com.liferay.portal.kernel.upgrade.BaseLastPublishDateUpgradeProcess
- All Implemented Interfaces:
DBProcess
,UpgradeStep
- Author:
- Máté Thurzó
-
Nested Class Summary
Nested classes/interfaces inherited from class com.liferay.portal.kernel.upgrade.UpgradeProcess
UpgradeProcess.Alterable
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.dao.db.BaseDBProcess
connection
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addLastPublishDateColumn
(String tableName) protected Date
getLayoutSetLastPublishDate
(long groupId) protected Date
getPortletLastPublishDate
(long groupId, String portletId) protected void
updateLastPublishDates
(String portletId, String tableName) protected void
updateStagedModelLastPublishDates
(long groupId, String tableName, Date lastPublishDate) Methods inherited from class com.liferay.portal.kernel.upgrade.UpgradeProcess
addTemporaryIndex, clearIndexesCache, doUpgrade, ensureTableExists, getIndexesSQL, getPostUpgradeSteps, getPreUpgradeSteps, getTableColumnsMap, getTableName, getThreshold, getUpgradeSteps, increment, increment, increment, isPortal62TableName, isSkipUpgradeProcess, upgrade, upgrade
Methods inherited from class com.liferay.portal.kernel.dao.db.BaseDBProcess
addIndexes, alterColumnName, alterColumnType, alterTableAddColumn, alterTableDropColumn, alterTableName, doHasTable, dropIndexes, dropTable, getConnection, getPrimaryKeyColumnNames, hasColumn, hasColumnType, hasIndex, hasRows, hasRows, hasTable, hasView, process, processConcurrently, processConcurrently, processConcurrently, processConcurrently, removePrimaryKey, runSQL, runSQL, runSQL, runSQL, runSQLFile, runSQLFile, runSQLTemplate
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.liferay.portal.kernel.dao.db.DBProcess
runSQLTemplate, runSQLTemplateString
-
Constructor Details
-
BaseLastPublishDateUpgradeProcess
public BaseLastPublishDateUpgradeProcess()
-
-
Method Details
-
addLastPublishDateColumn
- Throws:
Exception
-
getLayoutSetLastPublishDate
- Throws:
Exception
-
getPortletLastPublishDate
- Throws:
Exception
-
getStagedGroupIds
- Throws:
Exception
-
updateLastPublishDates
- Throws:
Exception
-
updateStagedModelLastPublishDates
protected void updateStagedModelLastPublishDates(long groupId, String tableName, Date lastPublishDate) throws Exception - Throws:
Exception
-