View Javadoc

1   /*
2    * Licensed to the Apache Software Foundation (ASF) under one or more
3    * contributor license agreements.  See the NOTICE file distributed with
4    * this work for additional information regarding copyright ownership.
5    * The ASF licenses this file to You under the Apache License, Version 2.0
6    * (the "License"); you may not use this file except in compliance with
7    * the License.  You may obtain a copy of the License at
8    * 
9    *      http://www.apache.org/licenses/LICENSE-2.0
10   * 
11   * Unless required by applicable law or agreed to in writing, software
12   * distributed under the License is distributed on an "AS IS" BASIS,
13   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14   * See the License for the specific language governing permissions and
15   * limitations under the License.
16   */
17  package org.apache.jetspeed.layout.impl;
18  
19  /***
20   * PortletPlacement implementation constants 
21   *
22   * @author <a>David Gurney</a>
23   * @author <a href="mailto:taylor@apache.org">David Sean Taylor</a>
24   * @version $Id: $
25   */
26  public interface Constants 
27  {
28  	public static final String STATUS = "status";
29  	public static final String ACTION = "action";
30      public static final String REASON = "reason";
31  	public static final String PORTLETID = "id";
32      public static final String FRAGMENTID = "id";
33      public static final String PORTLETENTITY = "entity";
34      public static final String LAYOUTID = "layoutid";
35      public static final String WINDOW_STATE = "state";
36      public static final String PORTLET_MODE = "mode";
37      public static final String OLD_WINDOW_STATE = "oldState";
38      public static final String OLD_PORTLET_MODE = "oldMode";    
39  	public static final String OLDCOL = "oldcol";
40  	public static final String OLDROW = "oldrow";
41  	public static final String NEWCOL = "newcol";
42  	public static final String NEWROW = "newrow";
43  	public static final String COL = "col";
44  	public static final String ROW = "row";
45      public static final String X = "x";
46      public static final String Y = "y";
47      public static final String Z = "z";
48      public static final String WIDTH = "width";
49      public static final String HEIGHT = "height";
50      public static final String DESKTOP_EXTENDED = "jsdesktop";
51      public static final String OLD_X = "oldx";
52      public static final String OLD_Y = "oldy";
53      public static final String OLD_Z = "oldz";
54      public static final String OLD_WIDTH = "oldwidth";
55      public static final String OLD_HEIGHT = "oldheight";
56      public static final String OLD_DESKTOP_EXTENDED = "oldjsdesktop";
57      public final static String SOURCE = "source";
58      public final static String DESTINATION = "destination";
59      public static final String FILTER = "filter";
60      public static final String PORTLETS = "portlets";
61      public static final String PAGES = "pages";
62      public static final String PAGE = "page";
63      public static final String PROFILED_PATH = "profiledPath";
64      public static final String PAGE_QUALIFIED_CREATE_ON_EDIT = "pageQualifiedForCreateNewPageOnEdit";
65      public static final String FOLDER = "folder";
66      public static final String FOLDERS = "folders";
67      public static final String SIZES = "sizes";
68      public static final String RESOURCE_NAME = "name";    
69      public static final String USERS = "users";
70      public static final String GUESTUSERS = "guestusers";
71      public static final String USERNAME = "username";
72      public static final String USERINFO = "userinfo";
73      public static final String USER_IS_ANONYMOUS = "userIsAnonymous";
74      public static final String ROLES = "roles";
75      public static final String SESSIONS = "sessions";
76      public static final String IPADDRESS = "ipaddress";
77      
78      public static final String OFFLINE = "offline";
79      public static final String ONLINE = "online";
80      
81      public static final String STANDARD_MENUS = "standardMenus";
82      public static final String CUSTOM_MENUS = "customMenus";
83      public static final String MENU_DEFINITIONS = "menuDefinitions";
84      public static final String INCLUDE_MENU_DEFS = "includeMenuDefs";
85      public static final String MENU = "menu";
86      public static final String MENU_NAME = "name";
87      public static final String MENU_CONTEXT = "menuContext";
88      public static final String MENU_LOCALE = "menuLocale";
89  
90      public static final String PAGE_DECORATIONS = "pageDecorations";
91      public static final String PORTLET_DECORATIONS = "portletDecorations";
92      public static final String DESKTOP_PAGE_DECORATIONS = "desktopPageDecorations";
93      public static final String DESKTOP_PORTLET_DECORATIONS = "desktopPortletDecorations";
94      public static final String LAYOUTS = "layouts";
95      public static final String LAYOUT = "layout";
96      public static final String DEFAULT_LAYOUT = "defaultLayout";
97      public static final String TITLE = "title";
98      public static final String SHORT_TITLE = "short-title";    
99      public static final String LINK = "link";
100     public static final String LINKS = "links";
101     public static final String FRAGMENTS = "fragments";
102     public static final String TYPE = "type";
103     public static final String FORMAT = "format";
104     public static final String METADATA = "metadata";
105     public static final String SECURITY_REFS = "securityRefs";
106     public static final String SECURITY_DEFS = "securityDefs";
107     public static final String SECURITY_OWNER = "securityOwner";
108     
109 	// Move types
110 	public static final int ABS = 1;
111 	public static final int UP = 2;
112 	public static final int DOWN = 3;
113 	public static final int LEFT = 4;
114 	public static final int RIGHT = 5;
115 	public static final int CARTESIAN = 6;
116 }