KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > quikj > application > communicator > applications > webtalk > controller > UserSearchForm


1 /*
2  * UserSearchForm.java
3  *
4  */

5
6 package com.quikj.application.communicator.applications.webtalk.controller;
7
8 import javax.servlet.http.HttpServletRequest JavaDoc;
9 import org.apache.struts.action.*;
10 import java.util.*;
11
12 /**
13  *
14  * @author bhm
15  */

16 public class UserSearchForm extends ActionForm
17 {
18     
19     /** Holds value of property name. */
20     private String JavaDoc name;
21     
22     /** Holds value of property additionalInfo. */
23     private String JavaDoc additionalInfo;
24     
25     /** Holds value of property belongsToGroups. */
26     private Object JavaDoc[] belongsToGroups;
27     
28     /** Holds value of property ownsGroups. */
29     private Object JavaDoc[] ownsGroups;
30     
31     /** Holds value of property fullName. */
32     private String JavaDoc fullName;
33     
34     /** Holds value of property address. */
35     private String JavaDoc address;
36     
37     /** Holds value of property unavailXferTo. */
38     private String JavaDoc unavailXferTo;
39     
40     /** Holds value of property userGroups. */
41     private ArrayList userGroups = new ArrayList();
42     
43     /** Holds value of property gatekeeper. */
44     private String JavaDoc gatekeeper;
45     
46     /** Creates a new instance of UserSearchForm */
47     public UserSearchForm()
48     {
49         reset();
50     }
51     
52     /** Getter for property name.
53      * @return Value of property name.
54      *
55      */

56     public String JavaDoc getName()
57     {
58         return this.name;
59     }
60     
61     /** Setter for property name.
62      * @param name New value of property name.
63      *
64      */

65     public void setName(String JavaDoc name)
66     {
67         this.name = name.trim();
68     }
69     
70     /** Getter for property additionalInfo.
71      * @return Value of property additionalInfo.
72      *
73      */

74     public String JavaDoc getAdditionalInfo()
75     {
76         return this.additionalInfo;
77     }
78     
79     /** Setter for property additionalInfo.
80      * @param additionalInfo New value of property additionalInfo.
81      *
82      */

83     public void setAdditionalInfo(String JavaDoc additionalInfo)
84     {
85         this.additionalInfo = additionalInfo.trim();
86     }
87     
88     public ActionErrors validate(ActionMapping mapping, HttpServletRequest JavaDoc request)
89     {
90         return null;
91     }
92     
93     public void reset()
94     {
95         belongsToGroups = null;
96         ownsGroups = null;
97         name = null;
98         additionalInfo = null;
99         fullName = null;
100         address = null;
101         unavailXferTo = null;
102     }
103
104     /** Getter for property belongsToGroups.
105      * @return Value of property belongsToGroups.
106      *
107      */

108     public Object JavaDoc[] getBelongsToGroups()
109     {
110         return this.belongsToGroups;
111     }
112
113     /** Setter for property belongsToGroups.
114      * @param belongsToGroups New value of property belongsToGroups.
115      *
116      */

117     public void setBelongsToGroups(Object JavaDoc[] belongsToGroups)
118     {
119         this.belongsToGroups = belongsToGroups;
120     }
121     
122     /** Getter for property ownsGroups.
123      * @return Value of property ownsGroups.
124      *
125      */

126     public Object JavaDoc[] getOwnsGroups()
127     {
128         return this.ownsGroups;
129     }
130     
131     /** Setter for property ownsGroups.
132      * @param ownsGroups New value of property ownsGroups.
133      *
134      */

135     public void setOwnsGroups(Object JavaDoc[] ownsGroups)
136     {
137         this.ownsGroups = ownsGroups;
138     }
139     
140     /** Getter for property fullName.
141      * @return Value of property fullName.
142      *
143      */

144     public String JavaDoc getFullName()
145     {
146         return this.fullName;
147     }
148     
149     /** Setter for property fullName.
150      * @param fullName New value of property fullName.
151      *
152      */

153     public void setFullName(String JavaDoc fullName)
154     {
155         this.fullName = fullName.trim();
156     }
157     
158     /** Getter for property address.
159      * @return Value of property address.
160      *
161      */

162     public String JavaDoc getAddress()
163     {
164         return this.address;
165     }
166     
167     /** Setter for property address.
168      * @param address New value of property address.
169      *
170      */

171     public void setAddress(String JavaDoc address)
172     {
173         this.address = address.trim();
174     }
175     
176     /** Getter for property unavailXferTo.
177      * @return Value of property unavailXferTo.
178      *
179      */

180     public String JavaDoc getUnavailXferTo()
181     {
182         return this.unavailXferTo;
183     }
184     
185     /** Setter for property unavailXferTo.
186      * @param unavailXferTo New value of property unavailXferTo.
187      *
188      */

189     public void setUnavailXferTo(String JavaDoc unavailXferTo)
190     {
191         this.unavailXferTo = unavailXferTo.trim();
192     }
193     
194     /** Getter for property userGroups.
195      * @return Value of property userGroups.
196      *
197      */

198     public ArrayList getUserGroups()
199     {
200         return this.userGroups;
201     }
202     
203     /** Setter for property userGroups.
204      * @param userGroups New value of property userGroups.
205      *
206      */

207     public void setUserGroups(ArrayList userGroups)
208     {
209         this.userGroups = userGroups;
210     }
211     
212     /** Getter for property gatekeeper.
213      * @return Value of property gatekeeper.
214      *
215      */

216     public String JavaDoc getGatekeeper()
217     {
218         return this.gatekeeper;
219     }
220     
221     /** Setter for property gatekeeper.
222      * @param gatekeeper New value of property gatekeeper.
223      *
224      */

225     public void setGatekeeper(String JavaDoc gatekeeper)
226     {
227         this.gatekeeper = gatekeeper;
228     }
229     
230 }
231
Popular Tags