KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > roller > presentation > weblog > formbeans > CategoryDeleteForm


1 /*
2  * Created on Jan 19, 2004
3  */

4 package org.roller.presentation.weblog.formbeans;
5
6 import org.apache.struts.action.ActionForm;
7
8 import java.util.List JavaDoc;
9
10 /**
11  * @struts.form name="categoryDeleteForm"
12  */

13 public class CategoryDeleteForm extends ActionForm
14 {
15     private String JavaDoc name;
16     private String JavaDoc catid = null;
17     private String JavaDoc moveToWeblogCategoryId = null;
18     private List JavaDoc cats = null;
19     private Boolean JavaDoc inUse = Boolean.FALSE;
20     private Boolean JavaDoc confirmDelete = null;
21     
22     /**
23      * @return
24      */

25     public List JavaDoc getCats()
26     {
27         return cats;
28     }
29
30     /**
31      * @return
32      */

33     public String JavaDoc getCatid()
34     {
35         return catid;
36     }
37
38     /**
39      * @return
40      */

41     public Boolean JavaDoc isInUse()
42     {
43         return inUse;
44     }
45
46     /**
47      * @return
48      */

49     public String JavaDoc getMoveToWeblogCategoryId()
50     {
51         return moveToWeblogCategoryId;
52     }
53
54     /**
55      * @param list
56      */

57     public void setCats(List JavaDoc list)
58     {
59         cats = list;
60     }
61
62     /**
63      * @param string
64      */

65     public void setCatid(String JavaDoc string)
66     {
67         catid = string;
68     }
69
70     /**
71      * @param b
72      */

73     public void setInUse(Boolean JavaDoc b)
74     {
75         inUse = b;
76     }
77
78     /**
79      * @param string
80      */

81     public void setMoveToWeblogCategoryId(String JavaDoc string)
82     {
83         moveToWeblogCategoryId = string;
84     }
85
86     /**
87      * @return
88      */

89     public Boolean JavaDoc isDelete()
90     {
91         return confirmDelete;
92     }
93
94     /**
95      * @param b
96      */

97     public void setConfirmDelete(Boolean JavaDoc b)
98     {
99         confirmDelete = b;
100     }
101
102     /**
103      * @return
104      */

105     public String JavaDoc getName()
106     {
107         return name;
108     }
109
110     /**
111      * @param string
112      */

113     public void setName(String JavaDoc string)
114     {
115         name = string;
116     }
117
118     /**
119      * @return Returns the delete.
120      */

121     public Boolean JavaDoc getConfirmDelete()
122     {
123         return confirmDelete;
124     }
125
126     /**
127      * @return Returns the inUse.
128      */

129     public Boolean JavaDoc getInUse()
130     {
131         return inUse;
132     }
133
134 }
135
Popular Tags