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

public abstract class BaseLastPublishDateUpgradeProcess extends UpgradeProcess
Author:
Máté Thurzó
  • Constructor Details

    • BaseLastPublishDateUpgradeProcess

      public BaseLastPublishDateUpgradeProcess()
  • Method Details

    • addLastPublishDateColumn

      protected void addLastPublishDateColumn(String tableName) throws Exception
      Throws:
      Exception
    • 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