KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > roller > ui > authoring > struts > formbeans > CategoryDeleteForm


1 /*
2 * Licensed to the Apache Software Foundation (ASF) under one or more
3 * contributor license agreements. The ASF licenses this file to You
4 * under the Apache License, Version 2.0 (the "License"); you may not
5 * use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
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. For additional information regarding
15 * copyright in this work, please see the NOTICE file in the top level
16 * directory of this distribution.
17 */

18 /*
19  * Created on Jan 19, 2004
20  */

21 package org.apache.roller.ui.authoring.struts.formbeans;
22
23 import java.util.List JavaDoc;
24
25 import org.apache.struts.action.ActionForm;
26
27 /**
28  * @struts.form name="categoryDeleteForm"
29  */

30 public class CategoryDeleteForm extends ActionForm
31 {
32     private String JavaDoc name;
33     private String JavaDoc categoryId = null;
34     private String JavaDoc moveToWeblogCategoryId = null;
35     private List JavaDoc cats = null;
36     private Boolean JavaDoc inUse = Boolean.FALSE;
37     private Boolean JavaDoc confirmDelete = null;
38     
39     /**
40      * @return
41      */

42     public List JavaDoc getCats()
43     {
44         return cats;
45     }
46
47     /**
48      * @return
49      */

50     public String JavaDoc getCategoryId()
51     {
52         return categoryId;
53     }
54
55     /**
56      * @return
57      */

58     public Boolean JavaDoc isInUse()
59     {
60         return inUse;
61     }
62
63     /**
64      * @return
65      */

66     public String JavaDoc getMoveToWeblogCategoryId()
67     {
68         return moveToWeblogCategoryId;
69     }
70
71     /**
72      * @param list
73      */

74     public void setCats(List JavaDoc list)
75     {
76         cats = list;
77     }
78
79     /**
80      * @param string
81      */

82     public void setCategoryId(String JavaDoc string)
83     {
84         categoryId = string;
85     }
86
87     /**
88      * @param b
89      */

90     public void setInUse(Boolean JavaDoc b)
91     {
92         inUse = b;
93     }
94
95     /**
96      * @param string
97      */

98     public void setMoveToWeblogCategoryId(String JavaDoc string)
99     {
100         moveToWeblogCategoryId = string;
101     }
102
103     /**
104      * @return
105      */

106     public Boolean JavaDoc isDelete()
107     {
108         return confirmDelete;
109     }
110
111     /**
112      * @param b
113      */

114     public void setConfirmDelete(Boolean JavaDoc b)
115     {
116         confirmDelete = b;
117     }
118
119     /**
120      * @return
121      */

122     public String JavaDoc getName()
123     {
124         return name;
125     }
126
127     /**
128      * @param string
129      */

130     public void setName(String JavaDoc string)
131     {
132         name = string;
133     }
134
135     /**
136      * @return Returns the delete.
137      */

138     public Boolean JavaDoc getConfirmDelete()
139     {
140         return confirmDelete;
141     }
142
143     /**
144      * @return Returns the inUse.
145      */

146     public Boolean JavaDoc getInUse()
147     {
148         return inUse;
149     }
150
151 }
152
Popular Tags