KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > javabb > action > infra > BaseAction


1 package org.javabb.action.infra;
2
3
4 /*
5  * Copyright 2004 JavaFree.org
6  *
7  * Licensed under the Apache License, Version 2.0 (the "License"); you may not
8  * use this file except in compliance with the License. You may obtain a copy of
9  * the License at
10  *
11  * http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
15  * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
16  * License for the specific language governing permissions and limitations under
17  * the License.
18  */

19
20 /**
21  * $Id: BaseAction.java,v 1.1.4.1.6.2 2006/04/17 17:47:25 daltoncamargo Exp $
22  * @author Dalton Camargo - <a HREF="mailto:dalton@javabb.org">dalton@javabb.org </a> <br>
23  * @author Ronald Tetsuo Miura
24  * @author Lucas Teixeira - <a HREF="mailto:lucas@javabb.org">lucas@javabb.org </a> <br>
25  */

26 public class BaseAction extends ActionSuper {
27
28     /** */
29     protected Long JavaDoc _categoryId;
30
31     /** */
32     protected Long JavaDoc _forumId;
33
34     /** */
35     protected Long JavaDoc _topicId;
36
37     /** */
38     protected Long JavaDoc _postId;
39
40     /** */
41     protected Long JavaDoc _userId;
42
43     /** */
44     protected Long JavaDoc _smileId;
45
46     /** */
47     protected Long JavaDoc _badWordId;
48     
49     /**
50      * @param id the new badWordId value
51      */

52     public final void setB(Long JavaDoc id) {
53         this._badWordId = id;
54     }
55
56     /**
57      * @param id the new categoryId value
58      */

59     public final void setC(Long JavaDoc id) {
60         this._categoryId = id;
61     }
62
63     /**
64      * @param id the new smileId value
65      */

66     public final void setS(Long JavaDoc id) {
67         this._smileId = id;
68     }
69
70     /**
71      * @param id the new forumId value
72      */

73     public final void setF(Long JavaDoc id) {
74         this._forumId = id;
75     }
76
77     /**
78      * @param id the new postId value
79      */

80     public final void setP(Long JavaDoc id) {
81         this._postId = id;
82     }
83
84     /**
85      * @param id the new topicId value
86      */

87     public final void setT(Long JavaDoc id) {
88         this._topicId = id;
89     }
90
91     /**
92      * @param id the new userId value
93      */

94     public final void setU(Long JavaDoc id) {
95         this._userId = id;
96     }
97
98     /**
99      * @return id
100      */

101     public Long JavaDoc getBadWordId() {
102         return _badWordId;
103     }
104
105     /**
106      * @return id
107      */

108     public Long JavaDoc getCategoryId() {
109         return _categoryId;
110     }
111
112     /**
113      * @return id
114      */

115     public Long JavaDoc getSmileId() {
116         return _smileId;
117     }
118
119     /**
120      * @return id
121      */

122     public Long JavaDoc getForumId() {
123         return _forumId;
124     }
125
126     /**
127      * @return id
128      */

129     public Long JavaDoc getPostId() {
130         return _postId;
131     }
132
133     /**
134      * @return id
135      */

136     public Long JavaDoc getTopicId() {
137         return _topicId;
138     }
139
140     /**
141      * @return id
142      */

143     public Long JavaDoc getUserId() {
144         return _userId;
145     }
146 }
Popular Tags