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.kernel.util;
016    
017    /**
018     * @author Brian Wing Shun Chan
019     */
020    public class PortletCategoryKeys {
021    
022            public static final String[] ALL = {
023                    PortletCategoryKeys.CONTROL_PANEL_APPS,
024                    PortletCategoryKeys.CONTROL_PANEL_CONFIGURATION,
025                    PortletCategoryKeys.CONTROL_PANEL_SITES,
026                    PortletCategoryKeys.CONTROL_PANEL_SYSTEM,
027                    PortletCategoryKeys.CONTROL_PANEL_USERS
028            };
029    
030            /**
031             * @deprecated As of 7.0.0, replaced by {@link #CONTROL_PANEL_APPS}
032             */
033            @Deprecated
034            public static final String APPS = "apps";
035    
036            /**
037             * @deprecated As of 7.0.0, replaced by {@link #CONTROL_PANEL_CONFIGURATION}
038             */
039            @Deprecated
040            public static final String CONFIGURATION = "control_panel.configuration";
041    
042            public static final String CONTROL_PANEL_APPS = "control_panel.apps";
043    
044            public static final String CONTROL_PANEL_CONFIGURATION =
045                    "control_panel.configuration";
046    
047            public static final String CONTROL_PANEL_SITES = "control_panel.sites";
048    
049            public static final String CONTROL_PANEL_SYSTEM = "control_panel.system";
050    
051            public static final String CONTROL_PANEL_USERS = "control_panel.users";
052    
053            public static final String CURRENT_SITE = "current_site";
054    
055            /**
056             * @deprecated As of 7.0.0, replaced by {@link #USER_MY_ACCOUNT}
057             */
058            @Deprecated
059            public static final String MY = "user";
060    
061            public static final String PORTLET = "portlet";
062    
063            public static final String SITE_ADMINISTRATION = "site_administration.";
064    
065            public static final String[] SITE_ADMINISTRATION_ALL = {
066                    PortletCategoryKeys.SITE_ADMINISTRATION_CONFIGURATION,
067                    PortletCategoryKeys.SITE_ADMINISTRATION_CONTENT,
068                    PortletCategoryKeys.SITE_ADMINISTRATION_MEMBERS,
069                    PortletCategoryKeys.SITE_ADMINISTRATION_NAVIGATION,
070                    PortletCategoryKeys.SITE_ADMINISTRATION_PAGES,
071                    PortletCategoryKeys.SITE_ADMINISTRATION_PUBLISHING,
072                    PortletCategoryKeys.SITE_ADMINISTRATION_USERS
073            };
074    
075            public static final String SITE_ADMINISTRATION_CONFIGURATION =
076                    "site_administration.configuration";
077    
078            public static final String SITE_ADMINISTRATION_CONTENT =
079                    "site_administration.content";
080    
081            public static final String SITE_ADMINISTRATION_MEMBERS =
082                    "site_administration.members";
083    
084            public static final String SITE_ADMINISTRATION_NAVIGATION =
085                    "site_administration.navigation";
086    
087            /**
088             * @deprecated As of 7.0.0, replaced by {@link #SITE_ADMINISTRATION_NAVIGATION}
089             */
090            @Deprecated
091            public static final String SITE_ADMINISTRATION_PAGES =
092                    "site_administration.pages";
093    
094            public static final String SITE_ADMINISTRATION_PUBLISHING =
095                    "site_administration.publishing";
096    
097            /**
098             * @deprecated As of 7.0.0, replaced by {@link #SITE_ADMINISTRATION_MEMBERS}
099             */
100            @Deprecated
101            public static final String SITE_ADMINISTRATION_USERS =
102                    "site_administration.users";
103    
104            /**
105             * @deprecated As of 7.0.0, replaced by {@link #CONTROL_PANEL_SITES}
106             */
107            @Deprecated
108            public static final String SITES = "sites";
109    
110            public static final String USER_MY_ACCOUNT = "user.my_account";
111    
112            /**
113             * @deprecated As of 7.0.0, replaced by {@link #CONTROL_PANEL_USERS}
114             */
115            @Deprecated
116            public static final String USERS = "users";
117    
118    }