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 voidaddLastPublishDateColumn(String tableName) protected DategetLayoutSetLastPublishDate(long groupId) protected DategetPortletLastPublishDate(long groupId, String portletId) protected voidupdateLastPublishDates(String portletId, String tableName) protected voidupdateStagedModelLastPublishDates(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, upgradeMethods 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, runSQLTemplateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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
-