KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > blandware > atleap > webapp > util > news > NewsModuleWebConstants


1 /*
2  * Copyright 2004 Blandware (http://www.blandware.com)
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 com.blandware.atleap.webapp.util.news;
17
18 /**
19  * <p>Webapp constants for news module</p>
20  * <p/>
21  * <p><a HREF="NewsModuleWebConstants.java.htm"><i>View Source</i></a></p>
22  *
23  * @author Sergey Zubtcovskii <a HREF="mailto:sergey.zubtcovskii@blandware.com">&lt;sergey.zubtcovskii@blandware.com&gt;</a>
24  * @version $Revision: 1.8 $ $Date: 2005/07/02 19:53:45 $
25  */

26 public class NewsModuleWebConstants {
27
28     /**
29      * Context key under which ID of news item is saved
30      */

31     public static final String JavaDoc NEWS_ITEM_ID_KEY = "com.blandware.atleap.news.NEWS_ITEM_ID";
32
33     /**
34      * Name of news items grid
35      */

36     public static final String JavaDoc NEWS_ITEMS_GRID = "newsItemsGrid";
37
38     /**
39      * Name of grid with news archive
40      */

41     public static final String JavaDoc NEWS_ARCHIVE_GRID = "newsArchiveGrid";
42
43     /**
44      * Context key, under which collection of news items is saved
45      */

46     public static final String JavaDoc NEWS_ITEMS_COLLECTION_KEY = "com.blandware.atleap.news.NEWS_ITEMS_COLLECTION";
47
48     /**
49      * UrlRewrite filter prefix for news items
50      */

51     public static final String JavaDoc NEWS_ITEM_URI_PREFIX = "/rw/news";
52
53     /**
54      * Context key under which merged annotation of news item is stored
55      */

56     public static final String JavaDoc NEWS_ITEM_MERGED_ANNOTATION_KEY = "com.blandware.atleap.NEWS_ITEM_MERGED_ANNOTATION";
57
58     /**
59      * Context key under which merged body of news item is stored
60      */

61     public static final String JavaDoc NEWS_ITEM_MERGED_BODY_KEY = "com.blandware.atleap.NEWS_ITEM_MERGED_BODY";
62
63     /**
64      * Context key which prevents double form submit (instead of transactions)
65      */

66     public static final String JavaDoc NEWS_ITEM_SUBMITTED_ACTION_KEY = "com.blandware.atleap.NEWS_ITEM_SUBMITTED_ACTION_KEY";
67
68     /**
69      * Name of global property holding the value of news list size
70      */

71     public static final String JavaDoc NEWS_LIST_SIZE = "news.list.size";
72
73     /**
74      * Context key under which map of chosen locales for annotation is stored
75      */

76     public static final String JavaDoc NEWS_ITEM_CHOSEN_ANNOTATIONS_KEY = "com.blandware.atleap.NEWS_ITEM_CHOSEN_ANNOTATIONS";
77 }
78
Popular Tags