KickJava   Java API By Example, From Geeks To Geeks.

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


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 import java.util.Vector JavaDoc;
9
10 import javax.servlet.http.HttpServletRequest JavaDoc;
11
12 import org.apache.struts.action.ActionMapping;
13
14 import com.raptus.owxv3.api.OmniaWebBean;
15
16 /**
17  *
18  * <hr>
19  * <table width="100%" border="0">
20  * <tr>
21  * <td width="24%"><b>Filename</b></td><td width="76%">EAFileMgrAssignedBean.java</td>
22  * </tr>
23  * <tr>
24  * <td width="24%"><b>Author</b></td><td width="76%">REEA</td>
25  * </tr>
26  * <tr>
27  * <td width="24%"><b>Date</b></td><td width="76%">25th of September 2001</td>
28  * </tr>
29  * </table>
30  * <hr>
31  * <table width="100%" border="0">
32  * <tr>
33  * <td width="24%"><b>Date / Author</b></td><td width="76%"><b>Changes</b></td>
34  * </tr>
35  * </table>
36  * <hr>
37  * <table width="100%" border="0">
38  * <tr>
39  * <td>
40  * This class is the form bean of the <code>EAFileMgrAssignedAction</code> action.<br>
41  * It cointains a Vector of com.raptus.owxv3.api.GResFileLink objects.
42  *</td>
43  * </tr>
44  * </table>
45  * <hr>
46  */

47 public class EAFileMgrAssignedBean extends OmniaWebBean
48 {
49     /**
50      *the Vector that holds the assigned file list as list of com.raptus.owxv3.api.GResFileLink objects
51      */

52     protected Vector JavaDoc fileList = null;
53
54     
55     /**
56      *
57      *String holding the keyword used to filter the list of files
58      */

59     protected String JavaDoc filter="";
60     
61     
62
63     /**
64      *Method for checking if the assigned file list is loaded or not
65      *
66      */

67     //this method should be used becuase we know for sure that the list is not
68
//loaded because the bean is in request scope
69
//protected boolean isListLoaded() { return (fileList != null); }
70

71     /**
72      *method for getting the list
73      */

74     public Vector JavaDoc getList() { return fileList; }
75
76     /**
77      *method for setting the list, this should be called from the coressponding Action class
78      */

79     public void setList(Vector JavaDoc l) { this.fileList = l; }
80     
81     /**
82      *Method for getting the value of the filter
83      */

84     public String JavaDoc getFilter()
85     {
86         return filter;
87     }
88     
89     /**
90      *Method for setting the value of the filter
91      */

92     public void setFilter(String JavaDoc f)
93     {
94         filter=f;
95     }
96
97
98     /**
99      *the reset method
100      */

101     public void reset(ActionMapping mapping, HttpServletRequest JavaDoc request)
102     {
103         super.reset(mapping, request);
104     }
105
106 }
107
108 // eof
109
Popular Tags