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    import com.liferay.portal.kernel.upgrade.BaseUpgradePortletId;
018    
019    /**
020     * @author Brian Wing Shun Chan
021     */
022    public class UpgradePortletId extends BaseUpgradePortletId {
023    
024            @Override
025            protected String[][] getRenamePortletIdsArray() {
026                    return new String[][] {
027                            new String[] {
028                                    "7", "1_WAR_biblegatewayportlet"
029                            },
030                            new String[] {"21", "1_WAR_randombibleverseportlet"},
031                            new String[] {"46", "1_WAR_gospelforasiaportlet"},
032                            new String[] {"1_WAR_wolportlet", "1_WAR_socialnetworkingportlet"},
033                            new String[] {"2_WAR_wolportlet", "1_WAR_socialcodingportlet"},
034                            new String[] {"3_WAR_wolportlet", "2_WAR_socialcodingportlet"},
035                            new String[] {"4_WAR_wolportlet", "2_WAR_socialnetworkingportlet"},
036                            new String[] {"5_WAR_wolportlet", "3_WAR_socialnetworkingportlet"},
037                            new String[] {"6_WAR_wolportlet", "4_WAR_socialnetworkingportlet"},
038                            new String[] {"7_WAR_wolportlet", "5_WAR_socialnetworkingportlet"},
039                            new String[] {"8_WAR_wolportlet", "6_WAR_socialnetworkingportlet"},
040                            new String[] {"9_WAR_wolportlet", "7_WAR_socialnetworkingportlet"},
041                            new String[] {"10_WAR_wolportlet", "8_WAR_socialnetworkingportlet"}
042                    };
043            }
044    
045    }