KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > raptus > owxv3 > modules > base > EABaseBean


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

5
6 package com.raptus.owxv3.modules.base;
7
8 import javax.servlet.http.HttpServletRequest JavaDoc;
9
10 import org.apache.struts.action.ActionMapping;
11
12 import com.raptus.owxv3.api.OmniaWebBean;
13
14 /**
15  *
16  * <hr>
17  * <table width="100%" border="0">
18  * <tr>
19  * <td width="24%"><b>Filename</b></td><td width="76%">EABaseBean.java</td>
20  * </tr>
21  * <tr>
22  * <td width="24%"><b>Author</b></td><td width="76%">Guy Zürcher (gzuercher@raptus.com)</td>
23  * </tr>
24  * <tr>
25  * <td width="24%"><b>Date</b></td><td width="76%">20th of April 2001</td>
26  * </tr>
27  * </table>
28  * <hr>
29  * <table width="100%" border="0">
30  * <tr>
31  * <td width="24%"><b>Date / Author</b></td><td width="76%"><b>Changes</b></td>
32  * </tr>
33  * </table>
34  * <hr>
35  */

36 public class EABaseBean extends OmniaWebBean
37 {
38     /**
39      *
40      */

41     protected boolean propertiesDisabled=false;
42
43     /**
44      *
45      */

46     protected boolean filesDisabled=false;
47
48     /**
49      *
50      */

51     protected boolean picturesDisabled=false;
52
53
54     /**
55      *
56      */

57     protected boolean linksDisabled=false;
58
59     /**
60      *
61      */

62     protected String JavaDoc message=null;
63
64     /**
65      *
66      */

67     public void reset(ActionMapping mapping, HttpServletRequest JavaDoc request)
68     {
69         propertiesDisabled=false;
70         filesDisabled=false;
71         picturesDisabled=false;
72         linksDisabled=false;
73         message=null;
74         super.reset(mapping, request);
75     }
76
77
78     public void setPropertiesDisabled(boolean b) { propertiesDisabled=b; }
79     public boolean getPropertiesDisabled() { return propertiesDisabled; }
80
81     public void setFilesDisabled(boolean b) { filesDisabled=b; }
82     public boolean getFilesDisabled() { return filesDisabled; }
83
84
85     public void setPicturesDisabled(boolean b) { picturesDisabled=b; }
86     public boolean getPicturesDisabled() { return picturesDisabled; }
87
88
89     public void setLinksDisabled(boolean b) { linksDisabled=b; }
90     public boolean getLinksDisabled() { return linksDisabled; }
91
92     public void setMessage(String JavaDoc s) {message=s; }
93     public String JavaDoc getMessage() { return message; }
94
95 }
96
97 // eof
98
Popular Tags