View Javadoc

1   /*
2    * Copyright 2005-2008 The Kuali Foundation
3    *
4    *
5    * Licensed under the Educational Community License, Version 2.0 (the "License");
6    * you may not use this file except in compliance with the License.
7    * You may obtain a copy of the License at
8    *
9    * http://www.opensource.org/licenses/ecl2.php
10   *
11   * Unless required by applicable law or agreed to in writing, software
12   * distributed under the License is distributed on an "AS IS" BASIS,
13   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14   * See the License for the specific language governing permissions and
15   * limitations under the License.
16   */
17  package org.kuali.rice.kew.feedback.web;
18  
19  import org.kuali.rice.kns.web.struts.form.KualiForm;
20  
21  /**
22   * Struts ActionForm for {@link FeedbackAction}.
23   *
24   * @see FeedbackAction
25   *
26   * @author Kuali Rice Team (rice.collab@kuali.org)
27   */
28  /* Action Form for Feedback and Support Web form */
29  public class FeedbackForm extends KualiForm {
30  
31  	private static final long serialVersionUID = -6881094307991817497L;
32  	/* Form elements */
33      private String userName;
34      private String userEmail;
35      private String networkId;
36      private String documentType;
37      private String pageUrl;
38      private String exception;
39      private String timeDate;
40      private String comments;
41      private String documentId;
42      private String firstName;
43      private String lastName;
44      private String phone;
45      private String category;
46      private String methodToCall = "";
47  
48      /**
49       * @return Returns the category.
50       */
51      public String getCategory() {
52          return category;
53      }
54  
55      /**
56       * @param category
57       *            The category to set.
58       */
59      public void setCategory(String category) {
60          this.category = category;
61      }
62  
63      /* getters and setters */
64      public String getUserName() {
65          return userName;
66      }
67  
68      public void setUserName(String userName) {
69          this.userName = userName;
70      }
71  
72      public void setUserEmail(String userEmail) {
73          this.userEmail = userEmail;
74      }
75  
76      public String getUserEmail() {
77          return userEmail;
78      }
79  
80      public void setNetworkId(String networkId) {
81          this.networkId = networkId;
82      }
83  
84      public String getNetworkId() {
85          return networkId;
86      }
87  
88      public void setDocumentType(String documentType) {
89          this.documentType = documentType;
90      }
91  
92      public String getDocumentType() {
93          return documentType;
94      }
95  
96      public void setPageUrl(String pageUrl) {
97          this.pageUrl = pageUrl;
98      }
99  
100     public String getPageUrl() {
101         return pageUrl;
102     }
103 
104     public void setException(String exception) {
105         this.exception = exception;
106     }
107 
108     public String getException() {
109         return exception;
110     }
111 
112     public void setTimeDate(String timeDate) {
113         this.timeDate = timeDate;
114     }
115 
116     public String getTimeDate() {
117         return timeDate;
118     }
119 
120     public void setComments(String comments) {
121         this.comments = comments;
122     }
123 
124     public String getComments() {
125         return comments;
126     }
127 
128     public void setDocumentId(String documentId) {
129         this.documentId = documentId;
130     }
131 
132     public String getDocumentId() {
133         return documentId;
134     }
135 
136     public void setFirstName(String firstName) {
137         this.firstName = firstName;
138     }
139 
140     public String getFirstName() {
141         return firstName;
142     }
143 
144     public void setLastName(String lastName) {
145         this.lastName = lastName;
146     }
147 
148     public String getLastName() {
149         return lastName;
150     }
151 
152     /**
153      * @return Returns the methodToCall.
154      */
155     public String getMethodToCall() {
156         return methodToCall;
157     }
158 
159     /**
160      * @param methodToCall
161      *            The methodToCall to set.
162      */
163     public void setMethodToCall(String methodToCall) {
164         this.methodToCall = methodToCall;
165     }
166 
167 	public String getPhone() {
168 		return phone;
169 	}
170 
171 	public void setPhone(String phone) {
172 		this.phone = phone;
173 	}
174 
175 
176 
177 }