Liferay 7.0-ce-b4

com.liferay.portal.kernel.upgrade
Class BaseUpgradeLastPublishDate

java.lang.Object
  extended by com.liferay.portal.kernel.dao.db.BaseDBProcess
      extended by com.liferay.portal.kernel.upgrade.UpgradeProcess
          extended by com.liferay.portal.kernel.upgrade.BaseUpgradeLastPublishDate
All Implemented Interfaces:
DBProcess, UpgradeStep
Direct Known Subclasses:
UpgradeLastPublishDate

public abstract class BaseUpgradeLastPublishDate
extends UpgradeProcess


Field Summary
 
Fields inherited from class com.liferay.portal.kernel.dao.db.BaseDBProcess
connection
 
Constructor Summary
BaseUpgradeLastPublishDate()
           
 
Method Summary
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)
           
 
Methods inherited from class com.liferay.portal.kernel.upgrade.UpgradeProcess
doUpgrade, getThreshold, increment, increment, isSupportsAlterColumnName, isSupportsAlterColumnType, isSupportsStringCaseSensitiveQuery, isSupportsUpdateWithInnerJoin, upgrade, upgrade, upgrade, upgrade, upgradeTable, upgradeTable
 
Methods inherited from class com.liferay.portal.kernel.dao.db.BaseDBProcess
doHasTable, hasColumn, hasRows, hasTable, runSQL, runSQL, runSQL, runSQLTemplate, runSQLTemplate, runSQLTemplateString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseUpgradeLastPublishDate

public BaseUpgradeLastPublishDate()
Method Detail

getLayoutSetLastPublishDate

protected Date getLayoutSetLastPublishDate(long groupId)
                                    throws Exception
Throws:
Exception

getPortletLastPublishDate

protected Date getPortletLastPublishDate(long groupId,
                                         String portletId)
                                  throws Exception
Throws:
Exception

getStagedGroupIds

protected List<Long> getStagedGroupIds()
                                throws Exception
Throws:
Exception

updateLastPublishDates

protected void updateLastPublishDates(String portletId,
                                      String tableName)
                               throws Exception
Throws:
Exception

updateStagedModelLastPublishDates

protected void updateStagedModelLastPublishDates(long groupId,
                                                 String tableName,
                                                 Date lastPublishDate)
                                          throws Exception
Throws:
Exception

Liferay 7.0-ce-b4