Classes in this File | Line Coverage | Branch Coverage | Complexity | |||||||
PortletConstants |
|
| 1.0;1 |
1 | // Copyright 2005 The Apache Software Foundation |
|
2 | // |
|
3 | // Licensed under the Apache License, Version 2.0 (the "License"); |
|
4 | // you may not use this file except in compliance with the License. |
|
5 | // You may obtain a copy of the License at |
|
6 | // |
|
7 | // http://www.apache.org/licenses/LICENSE-2.0 |
|
8 | // |
|
9 | // Unless required by applicable law or agreed to in writing, software |
|
10 | // distributed under the License is distributed on an "AS IS" BASIS, |
|
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
12 | // See the License for the specific language governing permissions and |
|
13 | // limitations under the License. |
|
14 | ||
15 | package org.apache.tapestry.portlet; |
|
16 | ||
17 | /** |
|
18 | * @author Howard M. Lewis Ship |
|
19 | * @since 4.0 |
|
20 | */ |
|
21 | public final class PortletConstants |
|
22 | { |
|
23 | /** |
|
24 | * Name of the render service, whose job is to render a page. The page to render is identified |
|
25 | * in the {@link org.apache.tapestry.services.ServiceConstants#PAGE} parameter. |
|
26 | */ |
|
27 | public static final String RENDER_SERVICE = "render"; |
|
28 | ||
29 | /** |
|
30 | * Name of the exception service, which renders stored exception markup. |
|
31 | */ |
|
32 | ||
33 | public static final String EXCEPTION_SERVICE = "exception"; |
|
34 | ||
35 | /** |
|
36 | * Session attribute key used to store markup generated during an action request, so that it can |
|
37 | * be displayed during a later render request. |
|
38 | */ |
|
39 | ||
40 | public static final String PORTLET_EXCEPTION_MARKUP_ATTRIBUTE = "org.apache.tapestry.portlet.PortletExceptionMarkup"; |
|
41 | ||
42 | /** |
|
43 | * Render parameter name storing the portlet mode at the time the render URL was created. This |
|
44 | * is necessary for determining when the mode has changed. |
|
45 | */ |
|
46 | ||
47 | public static final String PORTLET_MODE = "portlet-mode"; |
|
48 | ||
49 | /** |
|
50 | * Render parameter name storing the window state at the time the render URL was created. Again, |
|
51 | * this is necessary for determining when the window state has changed. |
|
52 | */ |
|
53 | ||
54 | public static final String WINDOW_STATE = "window-state"; |
|
55 | ||
56 | private PortletConstants() |
|
57 | 0 | { |
58 | // Prevent instantiation |
|
59 | 0 | } |
60 | } |