001: /*
002: * Licensed to the Apache Software Foundation (ASF) under one or more
003: * contributor license agreements. The ASF licenses this file to You
004: * under the Apache License, Version 2.0 (the "License"); you may not
005: * use this file except in compliance with the License.
006: * You may obtain a copy of the License at
007: *
008: * http://www.apache.org/licenses/LICENSE-2.0
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. For additional information regarding
015: * copyright in this work, please see the NOTICE file in the top level
016: * directory of this distribution.
017: */
018: /*
019: * Created on Jan 19, 2004
020: */
021: package org.apache.roller.ui.authoring.struts.formbeans;
022:
023: import java.util.List;
024:
025: import org.apache.struts.action.ActionForm;
026:
027: /**
028: * @struts.form name="categoryDeleteForm"
029: */
030: public class CategoryDeleteForm extends ActionForm {
031: private String name;
032: private String categoryId = null;
033: private String moveToWeblogCategoryId = null;
034: private List cats = null;
035: private Boolean inUse = Boolean.FALSE;
036: private Boolean confirmDelete = null;
037:
038: /**
039: * @return
040: */
041: public List getCats() {
042: return cats;
043: }
044:
045: /**
046: * @return
047: */
048: public String getCategoryId() {
049: return categoryId;
050: }
051:
052: /**
053: * @return
054: */
055: public Boolean isInUse() {
056: return inUse;
057: }
058:
059: /**
060: * @return
061: */
062: public String getMoveToWeblogCategoryId() {
063: return moveToWeblogCategoryId;
064: }
065:
066: /**
067: * @param list
068: */
069: public void setCats(List list) {
070: cats = list;
071: }
072:
073: /**
074: * @param string
075: */
076: public void setCategoryId(String string) {
077: categoryId = string;
078: }
079:
080: /**
081: * @param b
082: */
083: public void setInUse(Boolean b) {
084: inUse = b;
085: }
086:
087: /**
088: * @param string
089: */
090: public void setMoveToWeblogCategoryId(String string) {
091: moveToWeblogCategoryId = string;
092: }
093:
094: /**
095: * @return
096: */
097: public Boolean isDelete() {
098: return confirmDelete;
099: }
100:
101: /**
102: * @param b
103: */
104: public void setConfirmDelete(Boolean b) {
105: confirmDelete = b;
106: }
107:
108: /**
109: * @return
110: */
111: public String getName() {
112: return name;
113: }
114:
115: /**
116: * @param string
117: */
118: public void setName(String string) {
119: name = string;
120: }
121:
122: /**
123: * @return Returns the delete.
124: */
125: public Boolean getConfirmDelete() {
126: return confirmDelete;
127: }
128:
129: /**
130: * @return Returns the inUse.
131: */
132: public Boolean getInUse() {
133: return inUse;
134: }
135:
136: }
|