View Javadoc

1   /*
2    * Copyright 2005-2007 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.help.web;
18  
19  import org.apache.struts.action.ActionForm;
20  import org.kuali.rice.kew.help.HelpEntry;
21  import org.kuali.rice.kns.web.struts.form.KualiForm;
22  
23  
24  /**
25   * Struts ActionForm for {@link HelpAction}.
26   *
27   * @author Kuali Rice Team (rice.collab@kuali.org)
28   */
29  public class HelpForm extends KualiForm {
30  
31  	private static final long serialVersionUID = 6517665417435951210L;
32      private HelpEntry helpEntry;
33      private String helpId;
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      public void setHelpEntry(HelpEntry helpEntry) {
46          this.helpEntry = helpEntry;
47      }
48  
49      public String getShowEdit() {
50          return showEdit;
51      }
52      public void setShowEdit(String showEdit) {
53          this.showEdit = showEdit;
54      }
55  
56      public boolean getIsAdmin(){
57      	return isAdmin;
58      }
59  
60      public void setIsAdmin(boolean isAdmin){
61      	this.isAdmin = isAdmin;
62      }
63  
64      public String getShowDelete(){
65      	return showDelete;
66      }
67  
68      public void setShowDelete(String showDelete){
69      	this.showDelete=showDelete;
70      }
71  
72      public String getHelpId() {
73          return this.helpId;
74      }
75  
76      public void setHelpId(String helpId) {
77          this.helpId = helpId;
78      }
79  
80  }