1   /**
2    * Copyright (c) 2000-2009 Liferay, Inc. All rights reserved.
3    *
4    * Permission is hereby granted, free of charge, to any person obtaining a copy
5    * of this software and associated documentation files (the "Software"), to deal
6    * in the Software without restriction, including without limitation the rights
7    * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8    * copies of the Software, and to permit persons to whom the Software is
9    * furnished to do so, subject to the following conditions:
10   *
11   * The above copyright notice and this permission notice shall be included in
12   * all copies or substantial portions of the Software.
13   *
14   * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15   * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16   * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17   * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18   * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19   * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20   * SOFTWARE.
21   */
22  
23  package com.liferay.portlet.messageboards.model;
24  
25  
26  /**
27   * <a href="MBCategorySoap.java.html"><b><i>View Source</i></b></a>
28   *
29   * <p>
30   * ServiceBuilder generated this class. Modifications in this class will be
31   * overwritten the next time is generated.
32   * </p>
33   *
34   * <p>
35   * This class is a wrapper for {@link MBCategory}.
36   * </p>
37   *
38   * @author    Brian Wing Shun Chan
39   * @see       MBCategory
40   * @generated
41   */
42  public class MBCategoryWrapper implements MBCategory {
43      public MBCategoryWrapper(MBCategory mbCategory) {
44          _mbCategory = mbCategory;
45      }
46  
47      public long getPrimaryKey() {
48          return _mbCategory.getPrimaryKey();
49      }
50  
51      public void setPrimaryKey(long pk) {
52          _mbCategory.setPrimaryKey(pk);
53      }
54  
55      public java.lang.String getUuid() {
56          return _mbCategory.getUuid();
57      }
58  
59      public void setUuid(java.lang.String uuid) {
60          _mbCategory.setUuid(uuid);
61      }
62  
63      public long getCategoryId() {
64          return _mbCategory.getCategoryId();
65      }
66  
67      public void setCategoryId(long categoryId) {
68          _mbCategory.setCategoryId(categoryId);
69      }
70  
71      public long getGroupId() {
72          return _mbCategory.getGroupId();
73      }
74  
75      public void setGroupId(long groupId) {
76          _mbCategory.setGroupId(groupId);
77      }
78  
79      public long getCompanyId() {
80          return _mbCategory.getCompanyId();
81      }
82  
83      public void setCompanyId(long companyId) {
84          _mbCategory.setCompanyId(companyId);
85      }
86  
87      public long getUserId() {
88          return _mbCategory.getUserId();
89      }
90  
91      public void setUserId(long userId) {
92          _mbCategory.setUserId(userId);
93      }
94  
95      public java.lang.String getUserUuid()
96          throws com.liferay.portal.SystemException {
97          return _mbCategory.getUserUuid();
98      }
99  
100     public void setUserUuid(java.lang.String userUuid) {
101         _mbCategory.setUserUuid(userUuid);
102     }
103 
104     public java.lang.String getUserName() {
105         return _mbCategory.getUserName();
106     }
107 
108     public void setUserName(java.lang.String userName) {
109         _mbCategory.setUserName(userName);
110     }
111 
112     public java.util.Date getCreateDate() {
113         return _mbCategory.getCreateDate();
114     }
115 
116     public void setCreateDate(java.util.Date createDate) {
117         _mbCategory.setCreateDate(createDate);
118     }
119 
120     public java.util.Date getModifiedDate() {
121         return _mbCategory.getModifiedDate();
122     }
123 
124     public void setModifiedDate(java.util.Date modifiedDate) {
125         _mbCategory.setModifiedDate(modifiedDate);
126     }
127 
128     public long getParentCategoryId() {
129         return _mbCategory.getParentCategoryId();
130     }
131 
132     public void setParentCategoryId(long parentCategoryId) {
133         _mbCategory.setParentCategoryId(parentCategoryId);
134     }
135 
136     public java.lang.String getName() {
137         return _mbCategory.getName();
138     }
139 
140     public void setName(java.lang.String name) {
141         _mbCategory.setName(name);
142     }
143 
144     public java.lang.String getDescription() {
145         return _mbCategory.getDescription();
146     }
147 
148     public void setDescription(java.lang.String description) {
149         _mbCategory.setDescription(description);
150     }
151 
152     public int getThreadCount() {
153         return _mbCategory.getThreadCount();
154     }
155 
156     public void setThreadCount(int threadCount) {
157         _mbCategory.setThreadCount(threadCount);
158     }
159 
160     public int getMessageCount() {
161         return _mbCategory.getMessageCount();
162     }
163 
164     public void setMessageCount(int messageCount) {
165         _mbCategory.setMessageCount(messageCount);
166     }
167 
168     public java.util.Date getLastPostDate() {
169         return _mbCategory.getLastPostDate();
170     }
171 
172     public void setLastPostDate(java.util.Date lastPostDate) {
173         _mbCategory.setLastPostDate(lastPostDate);
174     }
175 
176     public com.liferay.portlet.messageboards.model.MBCategory toEscapedModel() {
177         return _mbCategory.toEscapedModel();
178     }
179 
180     public boolean isNew() {
181         return _mbCategory.isNew();
182     }
183 
184     public boolean setNew(boolean n) {
185         return _mbCategory.setNew(n);
186     }
187 
188     public boolean isCachedModel() {
189         return _mbCategory.isCachedModel();
190     }
191 
192     public void setCachedModel(boolean cachedModel) {
193         _mbCategory.setCachedModel(cachedModel);
194     }
195 
196     public boolean isEscapedModel() {
197         return _mbCategory.isEscapedModel();
198     }
199 
200     public void setEscapedModel(boolean escapedModel) {
201         _mbCategory.setEscapedModel(escapedModel);
202     }
203 
204     public java.io.Serializable getPrimaryKeyObj() {
205         return _mbCategory.getPrimaryKeyObj();
206     }
207 
208     public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
209         return _mbCategory.getExpandoBridge();
210     }
211 
212     public void setExpandoBridgeAttributes(
213         com.liferay.portal.service.ServiceContext serviceContext) {
214         _mbCategory.setExpandoBridgeAttributes(serviceContext);
215     }
216 
217     public java.lang.Object clone() {
218         return _mbCategory.clone();
219     }
220 
221     public int compareTo(
222         com.liferay.portlet.messageboards.model.MBCategory mbCategory) {
223         return _mbCategory.compareTo(mbCategory);
224     }
225 
226     public int hashCode() {
227         return _mbCategory.hashCode();
228     }
229 
230     public java.lang.String toString() {
231         return _mbCategory.toString();
232     }
233 
234     public java.lang.String toXmlString() {
235         return _mbCategory.toXmlString();
236     }
237 
238     public java.util.List<Long> getAncestorCategoryIds()
239         throws com.liferay.portal.PortalException,
240             com.liferay.portal.SystemException {
241         return _mbCategory.getAncestorCategoryIds();
242     }
243 
244     public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getAncestors()
245         throws com.liferay.portal.PortalException,
246             com.liferay.portal.SystemException {
247         return _mbCategory.getAncestors();
248     }
249 
250     public boolean isDiscussion() {
251         return _mbCategory.isDiscussion();
252     }
253 
254     public boolean isRoot() {
255         return _mbCategory.isRoot();
256     }
257 
258     public MBCategory getWrappedMBCategory() {
259         return _mbCategory;
260     }
261 
262     private MBCategory _mbCategory;
263 }