KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > raptus > owxv3 > modules > filemgr > FileMgrConstants


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

5
6 package com.raptus.owxv3.modules.filemgr;
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%">FileMgrConstants.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%">25th of September 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 FileManager module.
35  * </td>
36  * </tr>
37  * </table>
38  * <hr>
39  */

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

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

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

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

59    public static final String JavaDoc ELEMENT_CHANGE="change";
60
61    /**
62     *The "assigned" element identifier
63     */

64    public static final String JavaDoc ELEMENT_ASSIGNED="assigned";
65
66
67
68
69    /**
70     *The value of the Existing Category radiobutton
71     */

72    public static final int EXISTING_CATEGORY=1;
73
74    /**
75     *The value of the New Category radiobutton
76     */

77    public static final int NEW_CATEGORY=2;
78
79    /**
80     *Represents the entry name from the owx-configuration file that identifies the file repository
81     */

82    public final static String JavaDoc VMODULE_PROPERTY_REPOSITORY= "file.repository";
83
84    /**
85     *Represents the entry name from the owx-configuration file that identifies the file alias
86     */

87    public final static String JavaDoc VMODULE_PROPERTY_ALIAS= "file.alias";
88
89    /**
90     *Represents the entry name from the owx-configuration file that identifies the Maximum available disk space
91     */

92    public final static String JavaDoc VMODULE_PROPERTY_MAXSIZE= "file.maxsize";
93
94    /**
95     *Represents the entry name from the owx-configuration file that identifies the default filetype
96     */

97    public final static String JavaDoc VMODULE_PROPERTY_DEFAULTFILETYPE="file.defaulttype";
98
99    /**
100     *Represents the entry name from the owx-configuration file that identifies the file types
101     */

102    public final static String JavaDoc VMODULE_PROPERTY_FILETYPELIST="file.types";
103
104    /**
105     *Represents the entry name from the owx-configuration file that identifies the mimetypes
106     *asocitated with a certain filetype
107     */

108    public final static String JavaDoc VMODULE_PROPERTY_MIMETYPE="mimetypes";
109
110    /**
111     *Represents the entry name from the owx-configuration file that describes the No disk space error
112     */

113    public final static String JavaDoc VMODULE_UPLOAD_ERROR_NODISKSPACE="module.upload.error.nodiskspace";
114
115    /**
116     *Represents the entry name from the owx-configuration file that describes the Inalvid delete error
117     */

118    public final static String JavaDoc VMODULE_LIST_ERROR_INVALIDDELETE="module.list.error.invaliddelete";
119
120
121    /**
122     *Identifies the Action "list"
123     */

124    public final static String JavaDoc VMODULE_ACTION_LIST="list";
125
126    /**
127     *Identifies the Action "delete"
128     */

129    public final static String JavaDoc VMODULE_ACTION_DELETE="delete";
130
131    /**
132     *Identifies the Action "save"
133     */

134    public final static String JavaDoc VMODULE_ACTION_SAVE="save";
135
136
137    /**
138     *Identifies the Action "download"
139     */

140    public final static String JavaDoc VMODULE_ACTION_DOWNLOAD="download";
141
142
143    /**
144     *Identifies the Action "display"
145     */

146    public final static String JavaDoc VMODULE_ACTION_DISPLAY="display";
147
148
149    /**
150     *Identifies the Action "unlink"
151     */

152    public final static String JavaDoc VMODULE_ACTION_UNLINK="unlink";
153
154
155
156    /**
157     *Identifies the http parameter "action"
158     */

159    public final static String JavaDoc HTTPGET_PARAM_ACTION= "action";
160
161    /**
162     *Identifies the http parameter "fileid"
163     */

164    public final static String JavaDoc HTTPGET_PARAM_FILEID= "fileid";
165
166    /**
167     *Identifies the http parameter "filename"
168     */

169    public final static String JavaDoc HTTPGET_PARAM_FILENAME= "filename";
170
171
172    /**
173     *Identifies the http parameter "linkid"
174     */

175    public final static String JavaDoc HTTPGET_PARAM_LINKID= "linkid";
176
177
178    /**
179     *THe URL separator character("/")
180     */

181
182    public final static String JavaDoc URL_SEPARATOR="/";
183    
184     /**
185     *Identifies the http parameter "filter"
186     */

187    public final static String JavaDoc HTTPGET_PARAM_FILTER= "filter";
188
189
190 }
191
192 /* eof */
193
Popular Tags