KickJava   Java API By Example, From Geeks To Geeks.

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


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%">EAFileMgrListBean.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  * </table>
39  * <hr>
40  */

41 public class EAFileMgrListBean extends OmniaWebBean
42 {
43     /**
44      *the Vector that holds the all file list as list of com.raptus.owxv3.api.GResFile objects
45      */

46     protected Vector JavaDoc fileList = null;
47
48     /**
49      *
50      *String holding the keyword used to filter the list of files
51      */

52     protected String JavaDoc filter="";
53    
54
55     /**
56      *Method for checking if the file list is loaded or not
57      *
58      *This method shouldn't be called becuase the bean is in the
59      *request so there is no way that the lsit to be loaded already
60      */

61     //protected boolean isListLoaded() { return (fileList != null); }
62

63     /**
64      *
65      */

66     public Vector JavaDoc getList() { return fileList; }
67     /**
68      *method for setting the list, this should be called from the coressponding Action class
69      */

70     public void setList(Vector JavaDoc l) { this.fileList = l; }
71
72
73     /**
74      *Method for getting the value of the filter
75      */

76     public String JavaDoc getFilter()
77     {
78         return filter;
79     }
80     
81     /**
82      *Method for setting the value of the filter
83      */

84     public void setFilter(String JavaDoc f)
85     {
86         filter=f;
87     }
88     
89     /**
90      *the reset method
91      */

92     public void reset(ActionMapping mapping, HttpServletRequest JavaDoc request)
93     {
94         super.reset(mapping, request);
95     }
96
97
98 }
99
100 // eof
101
Popular Tags