01: /*
02: * Copyright 2005-2006 The Kuali Foundation.
03: *
04: *
05: * Licensed under the Educational Community License, Version 1.0 (the "License");
06: * you may not use this file except in compliance with the License.
07: * You may obtain a copy of the License at
08: *
09: * http://www.opensource.org/licenses/ecl1.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 edu.iu.uis.eden.help.web;
18:
19: import org.apache.struts.action.ActionForm;
20:
21: import edu.iu.uis.eden.help.HelpEntry;
22:
23: /**
24: * Struts ActionForm for {@link HelpAction}.
25: *
26: * @author xqi
27: * @author shenl
28: */
29: public class HelpForm extends ActionForm {
30:
31: private static final long serialVersionUID = 6517665417435951210L;
32: private String methodToCall = "";
33: private HelpEntry helpEntry;
34: private String showEdit;
35: private boolean isAdmin;
36: private String showDelete;
37:
38: public HelpForm() {
39: helpEntry = new HelpEntry();
40: }
41:
42: public HelpEntry getHelpEntry() {
43: return helpEntry;
44: }
45:
46: public void setHelpEntry(HelpEntry helpEntry) {
47: this .helpEntry = helpEntry;
48: }
49:
50: public String getMethodToCall() {
51: return methodToCall;
52: }
53:
54: public void setMethodToCall(String methodToCall) {
55: this .methodToCall = methodToCall;
56: }
57:
58: public String getShowEdit() {
59: return showEdit;
60: }
61:
62: public void setShowEdit(String showEdit) {
63: this .showEdit = showEdit;
64: }
65:
66: public boolean getIsAdmin() {
67: return isAdmin;
68: }
69:
70: public void setIsAdmin(boolean isAdmin) {
71: this .isAdmin = isAdmin;
72: }
73:
74: public String getShowDelete() {
75: return showDelete;
76: }
77:
78: public void setShowDelete(String showDelete) {
79: this.showDelete = showDelete;
80: }
81:
82: }
|