001
014
015 package com.liferay.portal.upgrade.v6_0_12_to_6_1_0;
016
017 import com.liferay.portal.kernel.upgrade.CamelCaseUpgradePortletPreferences;
018 import com.liferay.portal.upgrade.v6_1_0.UpgradeCommunityProperties;
019
020
024 public class UpgradePortletPreferences
025 extends CamelCaseUpgradePortletPreferences {
026
027 @Override
028 protected void doUpgrade() throws Exception {
029 updatePortletPreferences();
030 upgrade(UpgradeCommunityProperties.class);
031 }
032
033 @Override
034 protected String[] getPortletIds() {
035 return _CAMEL_CASE_UPGRADE_PORTLET_IDS;
036 }
037
038 private static final String[] _CAMEL_CASE_UPGRADE_PORTLET_IDS = {
039 "8", "15", "19", "20", "33", "34", "36", "39_INSTANCE_%",
040 "47_INSTANCE_%", "48_INSTANCE_%", "54_INSTANCE_%", "56_INSTANCE_%",
041 "59_INSTANCE_%", "62_INSTANCE_%", "71_INSTANCE_%", "73_INSTANCE_%",
042 "77", "82_INSTANCE_%", "85_INSTANCE_%", "100", "101_INSTANCE_%",
043 "102_INSTANCE_%", "114", "115", "118_INSTANCE_%", "122_INSTANCE_%"
044 };
045
046 }