001    /**
002     * Copyright (c) 2000-2013 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            public static final String CONTENT = "content";
035    
036            public static final String CURRENT_SITE = "current_site";
037    
038            /**
039             * @deprecated As of 6.2.0, replaced by {@link #APPS}
040             */
041            public static final String MARKETPLACE = "marketplace";
042    
043            public static final String MY = "my";
044    
045            /**
046             * @deprecated As of 6.2.0, replaced by {@link #CONFIGURATION}, {@link
047             *             #SITES}, or {@link #USERS}.
048             */
049            public static final String PORTAL = CONFIGURATION;
050    
051            public static final String PORTLET = "portlet";
052    
053            /**
054             * @deprecated As of 6.2.0, replaced by {@link #APPS}
055             */
056            public static final String SERVER = APPS;
057    
058            public static final String SITE_ADMINISTRATION = "site_administration.";
059    
060            public static final String[] SITE_ADMINISTRATION_ALL = {
061                    PortletCategoryKeys.SITE_ADMINISTRATION_PAGES,
062                    PortletCategoryKeys.SITE_ADMINISTRATION_CONTENT,
063                    PortletCategoryKeys.SITE_ADMINISTRATION_USERS,
064                    PortletCategoryKeys.SITE_ADMINISTRATION_CONFIGURATION
065            };
066    
067            public static final String SITE_ADMINISTRATION_CONFIGURATION =
068                    "site_administration.configuration";
069    
070            public static final String SITE_ADMINISTRATION_CONTENT =
071                    "site_administration.content";
072    
073            public static final String SITE_ADMINISTRATION_PAGES =
074                    "site_administration.pages";
075    
076            public static final String SITE_ADMINISTRATION_USERS =
077                    "site_administration.users";
078    
079            public static final String SITES = "sites";
080    
081            public static final String USERS = "users";
082    
083    }