Class BasePortletIdUpgradeProcess

All Implemented Interfaces:
DBProcess, UpgradeStep
Direct Known Subclasses:
BaseReplacePortletId

public abstract class BasePortletIdUpgradeProcess extends UpgradeProcess
Author:
Brian Wing Shun Chan
  • Constructor Details

    • BasePortletIdUpgradeProcess

      public BasePortletIdUpgradeProcess()
  • Method Details

    • doUpgrade

      protected void doUpgrade() throws Exception
      Specified by:
      doUpgrade in class UpgradeProcess
      Throws:
      Exception
    • getNewTypeSettings

      protected String getNewTypeSettings(String typeSettings, String oldPropertyId, String newPropertyId)
    • getNewTypeSettings

      protected String getNewTypeSettings(String typeSettings, String oldRootPortletId, String newRootPortletId, boolean exactMatch)
    • getRenamePortletIdsArray

      protected String[][] getRenamePortletIdsArray()
    • getTypeSettingsCriteria

      protected String getTypeSettingsCriteria(String portletId)
    • getUninstanceablePortletIds

      protected String[] getUninstanceablePortletIds()
    • updateGroup

      protected void updateGroup(String oldRootPortletId, String newRootPortletId) throws Exception
      Throws:
      Exception
    • updateInstanceablePortletPreferences

      protected void updateInstanceablePortletPreferences(String oldRootPortletId, String newRootPortletId) throws Exception
      Throws:
      Exception
    • updateLayout

      protected void updateLayout(long plid, String typeSettings) throws Exception
      Throws:
      Exception
    • updateLayout

      protected void updateLayout(long plid, String oldPortletId, String newPortletId) throws Exception
      Throws:
      Exception
    • updateLayoutRevision

      protected void updateLayoutRevision(long layoutRevisionId, String typeSettings) throws Exception
      Throws:
      Exception
    • updateLayoutRevisions

      protected void updateLayoutRevisions(String oldRootPortletId, String newRootPortletId, boolean exactMatch) throws Exception
      Throws:
      Exception
    • updateLayouts

      protected void updateLayouts(String oldRootPortletId, String newRootPortletId, boolean exactMatch) throws Exception
      Throws:
      Exception
    • updatePortlet

      protected void updatePortlet(String oldRootPortletId, String newRootPortletId) throws Exception
      Throws:
      Exception
    • updatePortletId

      protected void updatePortletId(String oldRootPortletId, String newRootPortletId) throws Exception
      Throws:
      Exception
    • updatePortletItem

      protected void updatePortletItem(String oldRootPortletId, String newRootPortletId) throws Exception
      Throws:
      Exception
    • updateResourceAction

      protected void updateResourceAction(String oldName, String newName) throws Exception
      Throws:
      Exception
    • updateResourcePermission

      protected void updateResourcePermission(String oldRootPortletId, String newRootPortletId, boolean updateName) throws Exception
      Throws:
      Exception
    • updateUserNotificationDelivery

      protected void updateUserNotificationDelivery(String oldPortletId, String newPortletId) throws Exception
      Throws:
      Exception
    • updateUserNotificationEvent

      protected void updateUserNotificationEvent(String oldPortletId, String newPortletId) throws Exception
      Throws:
      Exception
    • upgradeInstanceablePortletIds

      protected void upgradeInstanceablePortletIds() throws Exception
      Throws:
      Exception
    • upgradeUninstanceablePortletIds

      protected void upgradeUninstanceablePortletIds() throws Exception
      Throws:
      Exception