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.v7_0_1;
016    
017    /**
018     * @author Roberto D??az
019     */
020    public class UpgradeModules
021            extends com.liferay.portal.upgrade.v7_0_0.UpgradeModules {
022    
023            @Override
024            public String[] getBundleSymbolicNames() {
025                    return _BUNDLE_SYMBOLIC_NAMES;
026            }
027    
028            @Override
029            public String[][] getConvertedLegacyModules() {
030                    return _CONVERTED_LEGACY_MODULES;
031            }
032    
033            private static final String[] _BUNDLE_SYMBOLIC_NAMES = {
034                    "com.liferay.announcements.web", "com.liferay.contacts.web",
035                    "com.liferay.directory.web",
036                    "com.liferay.invitation.invite.members.web",
037                    "com.liferay.microblogs.web", "com.liferay.recent.documents.web",
038                    "com.liferay.social.networking.web",
039                    "com.liferay.social.privatemessaging.web"
040            };
041    
042            private static final String[][] _CONVERTED_LEGACY_MODULES = {
043                    {"knowledge-base-portlet", "com.liferay.knowledge.base.service", "KB"},
044                    {
045                            "notifications-portlet", "com.liferay.notifications.web",
046                            "Notification"
047                    }
048            };
049    
050    }