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 super.doUpgrade();
030
031 upgrade(UpgradeCommunityProperties.class);
032 }
033
034 @Override
035 protected String[] getPortletIds() {
036 return _CAMEL_CASE_UPGRADE_PORTLET_IDS;
037 }
038
039 private static final String[] _CAMEL_CASE_UPGRADE_PORTLET_IDS = {
040 "15", "19", "20", "33", "34", "36", "39_INSTANCE_%", "47_INSTANCE_%",
041 "48_INSTANCE_%", "54_INSTANCE_%", "56_INSTANCE_%", "59_INSTANCE_%",
042 "62_INSTANCE_%", "71_INSTANCE_%", "73_INSTANCE_%", "77",
043 "82_INSTANCE_%", "85_INSTANCE_%", "100", "101_INSTANCE_%",
044 "102_INSTANCE_%", "114", "115", "118_INSTANCE_%", "122_INSTANCE_%"
045 };
046
047 }