KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > raptus > owxv3 > modules > categories > CategoryConstants


1 /*
2  * eAdmin/OWX
3  * Copyright (C) 1996-2003 OWX-Project Team <owx-team@gmx.net>
4  */

5
6 package com.raptus.owxv3.modules.categories;
7
8
9 /**
10  * This class defines globally available constant values.
11  *
12  * <hr>
13  * <table width="100%" border="0">
14  * <tr>
15  * <td width="24%"><b>Filename</b></td><td width="76%">CategoryConstants.java</td>
16  * </tr>
17  * <tr>
18  * <td width="24%"><b>Author</b></td><td width="76%">REEA</td>
19  * </tr>
20  * <tr>
21  * <td width="24%"><b>Date</b></td><td width="76%">10th of December 2001</td>
22  * </tr>
23  * </table>
24  * <hr>
25  * <table width="100%" border="0">
26  * <tr>
27  * <td width="24%"><b>Date / Author</b></td><td width="76%"><b>Changes</b></td>
28  * </tr>
29  * </table>
30  * <hr>
31  * <table width="100%" border="0">
32  * <tr>
33  * <td>
34  * This file is a collection of constants use in the Categories module.
35  * </td>
36  * </tr>
37  * </table>
38  * <hr>
39  */

40 public class CategoryConstants extends Object JavaDoc
41 {
42    /**
43     *The "index" element identifier
44     */

45    public static final String JavaDoc ELEMENT_INDEX="index";
46    /**
47     *The "edit" element identifier
48     */

49    public static final String JavaDoc ELEMENT_EDIT="edit";
50
51    /**
52     *The "list" element identifier
53     */

54    public static final String JavaDoc ELEMENT_LIST="list";
55
56    /**
57     *The "contents" element identifier
58     */

59    public static final String JavaDoc ELEMENT_CONTENTS="contents";
60
61
62
63    /**
64     *The vmodulelist identifier in the configuration file
65     */

66    public static final String JavaDoc VMODULE_PROPERTY_VMLIST="vmodulelist";
67
68    /**
69     *The item info bean identifier in thr configuration file
70     */

71    public static final String JavaDoc VMODULE_PROPERTY_ITEM_INFO_BEAN="iteminfobean";
72
73
74
75    /**
76     *Identifies the Action "delete"
77     */

78    public final static String JavaDoc VMODULE_ACTION_DELETE="delete";
79
80    /**
81     *Identifies the Action "save"
82     */

83    public final static String JavaDoc VMODULE_ACTION_SAVE="save";
84
85    /**
86     *Identifies the Action "unlink"
87     */

88    public final static String JavaDoc VMODULE_ACTION_UNLINK="unlink";
89
90
91
92    /**
93     *Identifies the http parameter "action"
94     */

95    public final static String JavaDoc HTTPGET_PARAM_ACTION= "action";
96
97    /**
98     *Identifies the http parameter "catid"
99     */

100    public final static String JavaDoc HTTPGET_PARAM_CATID= "catid";
101
102
103    /**
104     *Identifies the http parameter "parentid"
105     */

106    public final static String JavaDoc HTTPGET_PARAM_PARENTID= "parentid";
107
108
109     /**
110     *Identifies the http parameter "linkid"
111     */

112    public final static String JavaDoc HTTPGET_PARAM_LINKID= "linkid";
113
114
115    /**
116     *Identifies the value of the fname field in owxcatlinks database
117     */

118    public final static String JavaDoc RESCATFIELD_NAME="name";
119
120
121    /**
122     *Integer used to identify a NESTING LEVEL ERROR
123     */

124    public final static int RESPONSE_NESTING_LEVEL_ERROR=-2;
125
126    /**
127     *Integer used to identify an incomatiblity between parent and a category
128     */

129    public final static int RESPONSE_INCOMPATIBLE_OWNER_ERROR=-1;
130
131    /**
132     *Integer used to identify a succesful operation
133     */

134    public final static int RESPONSE_OK=1;
135
136    /**
137     *Integer used to identify an sql error
138     */

139    public final static int RESPONSE_SQLERROR=0;
140
141    /**
142     *Integer used to identify an category not empty error
143     */

144    public final static int RESPONSE_NOTEMTPY_ERROR=-2;
145
146    /**
147     *Integer used in case of a duplicate id error
148     */

149    public final static int RESPONSE_DUPLICATE_ID_ERROR=-3;
150
151
152    /**
153     *Integer used to identify static category deleteing attempt error
154     */

155    public final static int RESPONSE_NODELETESTATIC_ERROR=-1;
156
157
158    /**
159     *Identifies the nesting level property from config file
160     */

161    public final static String JavaDoc PROPERTY_NESTING_LEVEL="categories.nestinglevel";
162
163
164 }
165
166 /* eof */
167
Popular Tags