View Javadoc

1   /*
2    * Copyright 2000-2004 The Apache Software Foundation.
3    * 
4    * Licensed under the Apache License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    * 
8    *      http://www.apache.org/licenses/LICENSE-2.0
9    * 
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  package org.apache.portals.bridges.frameworks;
17  
18  
19  /***
20   * FrameworkConstants
21   * 
22   * @author <a href="mailto:taylor@apache.org">David Sean Taylor</a>
23   * @version $Id: FrameworkConstants.java 188006 2004-11-29 23:46:33 +0100 (Mon, 29 Nov 2004) taylor $
24   */
25  public interface FrameworkConstants
26  {
27      /***
28       * Use this post parameter name for your actions
29       */
30      final String BRIDGES_ACTION = "portlet.action";
31  
32      /***
33       * The name of the forward tool
34       */
35      final String FORWARD_TOOL = "forward";
36      final String MODEL_TOOL = "bridges.model";
37      
38      /***
39       * The name of the prefs variable
40       */
41      final String PREFS_VARIABLE = "prefs";
42      
43      /***
44       * Current view for view mode
45       */
46      final String VIEW_VIEW_MODE = "bridges.view.view";
47      
48      /***
49       * Current view for edit mode
50       */
51      final String VIEW_EDIT_MODE = "bridges.view.edit";
52      
53      /***
54       * Current view for help mode
55       */
56      final String VIEW_HELP_MODE = "bridges.view.help";
57  
58  }