001    /**
002     * Copyright 2005-2013 The Kuali Foundation
003     *
004     * Licensed under the Educational Community License, Version 2.0 (the "License");
005     * you may not use this file except in compliance with the License.
006     * You may obtain a copy of the License at
007     *
008     * http://www.opensource.org/licenses/ecl2.php
009     *
010     * Unless required by applicable law or agreed to in writing, software
011     * distributed under the License is distributed on an "AS IS" BASIS,
012     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013     * See the License for the specific language governing permissions and
014     * limitations under the License.
015     */
016    package org.kuali.rice.kew.feedback.web;
017    
018    import org.kuali.rice.kns.web.struts.form.KualiForm;
019    
020    /**
021     * Struts ActionForm for {@link FeedbackAction}.
022     *
023     * @see FeedbackAction
024     *
025     * @author Kuali Rice Team (rice.collab@kuali.org)
026     */
027    /* Action Form for Feedback and Support Web form */
028    public class FeedbackForm extends KualiForm {
029    
030            private static final long serialVersionUID = -6881094307991817497L;
031            /* Form elements */
032        private String userName;
033        private String userEmail;
034        private String networkId;
035        private String documentType;
036        private String pageUrl;
037        private String exception;
038        private String timeDate;
039        private String comments;
040        private String documentId;
041        private String firstName;
042        private String lastName;
043        private String phone;
044        private String category;
045        private String methodToCall = "";
046    
047        /**
048         * @return Returns the category.
049         */
050        public String getCategory() {
051            return category;
052        }
053    
054        /**
055         * @param category
056         *            The category to set.
057         */
058        public void setCategory(String category) {
059            this.category = category;
060        }
061    
062        /* getters and setters */
063        public String getUserName() {
064            return userName;
065        }
066    
067        public void setUserName(String userName) {
068            this.userName = userName;
069        }
070    
071        public void setUserEmail(String userEmail) {
072            this.userEmail = userEmail;
073        }
074    
075        public String getUserEmail() {
076            return userEmail;
077        }
078    
079        public void setNetworkId(String networkId) {
080            this.networkId = networkId;
081        }
082    
083        public String getNetworkId() {
084            return networkId;
085        }
086    
087        public void setDocumentType(String documentType) {
088            this.documentType = documentType;
089        }
090    
091        public String getDocumentType() {
092            return documentType;
093        }
094    
095        public void setPageUrl(String pageUrl) {
096            this.pageUrl = pageUrl;
097        }
098    
099        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    }