1   /**
2    * Copyright (c) 2000-2009 Liferay, Inc. All rights reserved.
3    *
4    *
5    *
6    *
7    * The contents of this file are subject to the terms of the Liferay Enterprise
8    * Subscription License ("License"). You may not use this file except in
9    * compliance with the License. You can obtain a copy of the License by
10   * contacting Liferay, Inc. See the License for the specific language governing
11   * permissions and limitations under the License, including but not limited to
12   * distribution rights of the Software.
13   *
14   * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15   * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16   * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17   * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18   * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19   * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20   * SOFTWARE.
21   */
22  
23  package com.liferay.portal.util;
24  
25  /**
26   * <a href="PortletKeys.java.html"><b><i>View Source</i></b></a>
27   *
28   * @author Brian Wing Shun Chan
29   */
30  public class PortletKeys {
31  
32      public static final String ADMIN = "9";
33  
34      public static final String ALERTS = "83";
35  
36      public static final String ANNOUNCEMENTS = "84";
37  
38      public static final String BOOKMARKS = "28";
39  
40      public static final String BLOGS = "33";
41  
42      public static final String BLOGS_AGGREGATOR = "115";
43  
44      public static final String CALENDAR = "8";
45  
46      public static final String CHAT = "1_WAR_chatportlet";
47  
48      public static final String COMMUNITIES = "29";
49  
50      public static final String DOCUMENT_LIBRARY = "20";
51  
52      public static final String DIRECTORY = "11";
53  
54      public static final String ENTERPRISE_ADMIN = "79";
55  
56      public static final String IMAGE_GALLERY = "31";
57  
58      public static final String INVITATION = "100";
59  
60      public static final String JOURNAL = "15";
61  
62      public static final String JOURNAL_CONTENT = "56";
63  
64      public static final String JOURNAL_CONTENT_SEARCH = "77";
65  
66      public static final String LANGUAGE = "82";
67  
68      public static final String LAYOUT_CONFIGURATION = "87";
69  
70      public static final String LAYOUT_MANAGEMENT = "88";
71  
72      public static final String LIFERAY_PORTAL = "LIFERAY_PORTAL";
73  
74      public static final String LOGIN = "58";
75  
76      public static final String MAIL = "1";
77  
78      public static final String MESSAGE_BOARDS = "19";
79  
80      public static final String MY_ACCOUNT = "2";
81  
82      public static final String MY_PLACES = "49";
83  
84      public static final String NESTED_PORTLETS = "118";
85  
86      public static final String ORGANIZATION_ADMIN = "80";
87  
88      public static final String PAGE_COMMENTS = "107";
89  
90      public static final String PAGE_RATINGS = "108";
91  
92      public static final String PLUGIN_INSTALLER = "111";
93  
94      public static final String POLLS = "25";
95  
96      public static final String PORTAL = "90";
97  
98      public static final String PORTLET_CONFIGURATION = "86";
99  
100     public static final String PORTLET_CSS = "113";
101 
102     public static final long PREFS_OWNER_ID_DEFAULT = 0;
103 
104     public static final int PREFS_OWNER_TYPE_COMPANY = 1;
105 
106     public static final int PREFS_OWNER_TYPE_GROUP = 2;
107 
108     public static final int PREFS_OWNER_TYPE_LAYOUT = 3;
109 
110     public static final int PREFS_OWNER_TYPE_USER = 4;
111 
112     public static final int PREFS_OWNER_TYPE_ARCHIVED = 5;
113 
114     public static final long PREFS_PLID_SHARED = 0;
115 
116     public static final String SEARCH = "3";
117 
118     public static final String SHOPPING = "34";
119 
120     public static final String SOFTWARE_CATALOG = "98";
121 
122     public static final String STOCKS = "12";
123 
124     public static final String TAGS_COMPILER = "103";
125 
126     public static final String TASKS = "122";
127 
128     public static final String UPDATE_MANAGER = "104";
129 
130     public static final String WIKI = "36";
131 
132     public static final String WORKFLOW = "93";
133 
134 }