KickJava   Java API By Example, From Geeks To Geeks.

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


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 import java.util.Vector JavaDoc;
10
11 import com.raptus.owxv3.api.*;
12
13 /**
14  *
15  * <hr>
16  * <table width="100%" border="0">
17  * <tr>
18  * <td width="24%"><b>Filename</b></td><td width="76%">EACategoryEditBean.java</td>
19  * </tr>
20  * <tr>
21  * <td width="24%"><b>Author</b></td><td width="76%">REEA</td>
22  * </tr>
23  * <tr>
24  * <td width="24%"><b>Date</b></td><td width="76%">10th of December 2001</td>
25  * </tr>
26  * </table>
27  * <hr>
28  * <table width="100%" border="0">
29  * <tr>
30  * <td width="24%"><b>Date / Author</b></td><td width="76%"><b>Changes</b></td>
31  * </tr>
32  * </table>
33  * <hr>
34  * <table width="100%" border="0">
35  * <tr>
36  * <td>This class is the form bean of the <code>EACategoryEditAction</code> action.</td>
37  * </tr>
38  * </table>
39  * <hr>
40  *
41  */
/**
42  *
43  * <hr>
44  * <table width="100%" border="0">
45  * <tr>
46  * <td width="24%"><b>Filename</b></td><td width="76%">EACategoryListBean.java</td>
47  * </tr>
48  * <tr>
49  * <td width="24%"><b>Author</b></td><td width="76%">REEA</td>
50  * </tr>
51  * <tr>
52  * <td width="24%"><b>Date</b></td><td width="76%">10th of December 2001</td>
53  * </tr>
54  * </table>
55  * <hr>
56  * <table width="100%" border="0">
57  * <tr>
58  * <td width="24%"><b>Date / Author</b></td><td width="76%"><b>Changes</b></td>
59  * </tr>
60  * </table>
61  * <hr>
62  * <table width="100%" border="0">
63  * <tr>
64  * <td>This class is the form bean of the <code>EACategoryListAction</code> action.</td>
65  * </tr>
66  * </table>
67  * <hr>
68  *
69  */

70 public class EACategoryListBean extends OmniaWebBean
71 {
72
73     /**
74      *the CategorySelector object that is used to display
75      *the categories as returned by a deap depth search algorithm
76      */

77     protected CategorySelector categorySelector=null;
78
79
80     /**
81      *Setter method of categorySelector object
82      */

83     public void setCategorySelector(CategorySelector catsel)
84     {
85         categorySelector=catsel;
86     }
87
88
89     /**
90      *Getter method of categorySelector object
91      */

92     public CategorySelector getCategorySelector()
93     {
94         return categorySelector;
95     }
96
97
98
99     /**
100      *Method for getting the Category list, this calls the getCategories() method of
101      *CategorySelector
102      * @return Vector of PairOfObjects with (GResCategory,String catname)
103      */

104     public Vector JavaDoc getCategoryList()
105     {
106         if(categorySelector==null) return null;
107
108         return categorySelector.getCategories();
109     }
110
111 }
112
113 // eof
114

115
Popular Tags