001    /**
002     * Copyright (c) 2000-present Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portal.upgrade.v6_0_0;
016    
017    /**
018     * @author Brian Wing Shun Chan
019     */
020    public class UpgradePortletId
021            extends com.liferay.portal.upgrade.util.UpgradePortletId {
022    
023            @Override
024            protected String[][] getRenamePortletIdsArray() {
025                    return new String[][] {
026                            new String[] {
027                                    "7", "1_WAR_biblegatewayportlet"
028                            },
029                            new String[] {"21", "1_WAR_randombibleverseportlet"},
030                            new String[] {"46", "1_WAR_gospelforasiaportlet"},
031                            new String[] {"1_WAR_wolportlet", "1_WAR_socialnetworkingportlet"},
032                            new String[] {"2_WAR_wolportlet", "1_WAR_socialcodingportlet"},
033                            new String[] {"3_WAR_wolportlet", "2_WAR_socialcodingportlet"},
034                            new String[] {"4_WAR_wolportlet", "2_WAR_socialnetworkingportlet"},
035                            new String[] {"5_WAR_wolportlet", "3_WAR_socialnetworkingportlet"},
036                            new String[] {"6_WAR_wolportlet", "4_WAR_socialnetworkingportlet"},
037                            new String[] {"7_WAR_wolportlet", "5_WAR_socialnetworkingportlet"},
038                            new String[] {"8_WAR_wolportlet", "6_WAR_socialnetworkingportlet"},
039                            new String[] {"9_WAR_wolportlet", "7_WAR_socialnetworkingportlet"},
040                            new String[] {"10_WAR_wolportlet", "8_WAR_socialnetworkingportlet"}
041                    };
042            }
043    
044    }