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.util;
016    
017    /**
018     * @author Brian Wing Shun Chan
019     */
020    public class PortletCategoryKeys {
021    
022            public static final String[] ALL = {
023                    PortletCategoryKeys.USERS, PortletCategoryKeys.SITES,
024                    PortletCategoryKeys.APPS, PortletCategoryKeys.CONFIGURATION
025            };
026    
027            public static final String APPS = "apps";
028    
029            public static final String CONFIGURATION = "configuration";
030    
031            /**
032             * @deprecated As of 6.2.0
033             */
034            @Deprecated
035            public static final String CONTENT = "content";
036    
037            public static final String CURRENT_SITE = "current_site";
038    
039            /**
040             * @deprecated As of 6.2.0, replaced by {@link #APPS}
041             */
042            @Deprecated
043            public static final String MARKETPLACE = "marketplace";
044    
045            public static final String MY = "my";
046    
047            /**
048             * @deprecated As of 6.2.0, replaced by {@link #CONFIGURATION}, {@link
049             *             #SITES}, or {@link #USERS}.
050             */
051            @Deprecated
052            public static final String PORTAL = CONFIGURATION;
053    
054            public static final String PORTLET = "portlet";
055    
056            /**
057             * @deprecated As of 6.2.0, replaced by {@link #APPS}
058             */
059            @Deprecated
060            public static final String SERVER = APPS;
061    
062            public static final String SITE_ADMINISTRATION = "site_administration.";
063    
064            public static final String[] SITE_ADMINISTRATION_ALL = {
065                    PortletCategoryKeys.SITE_ADMINISTRATION_PAGES,
066                    PortletCategoryKeys.SITE_ADMINISTRATION_CONTENT,
067                    PortletCategoryKeys.SITE_ADMINISTRATION_USERS,
068                    PortletCategoryKeys.SITE_ADMINISTRATION_CONFIGURATION
069            };
070    
071            public static final String SITE_ADMINISTRATION_CONFIGURATION =
072                    "site_administration.configuration";
073    
074            public static final String SITE_ADMINISTRATION_CONTENT =
075                    "site_administration.content";
076    
077            public static final String SITE_ADMINISTRATION_PAGES =
078                    "site_administration.pages";
079    
080            public static final String SITE_ADMINISTRATION_USERS =
081                    "site_administration.users";
082    
083            public static final String SITES = "sites";
084    
085            public static final String USERS = "users";
086    
087    }