View Javadoc

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