001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
013     */
014    
015    package com.liferay.portlet.messageboards.model;
016    
017    /**
018     * <p>
019     * This class is a wrapper for {@link MBCategory}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       MBCategory
024     * @generated
025     */
026    public class MBCategoryWrapper implements MBCategory {
027            public MBCategoryWrapper(MBCategory mbCategory) {
028                    _mbCategory = mbCategory;
029            }
030    
031            /**
032            * Gets the primary key of this message boards category.
033            *
034            * @return the primary key of this message boards category
035            */
036            public long getPrimaryKey() {
037                    return _mbCategory.getPrimaryKey();
038            }
039    
040            /**
041            * Sets the primary key of this message boards category
042            *
043            * @param pk the primary key of this message boards category
044            */
045            public void setPrimaryKey(long pk) {
046                    _mbCategory.setPrimaryKey(pk);
047            }
048    
049            /**
050            * Gets the uuid of this message boards category.
051            *
052            * @return the uuid of this message boards category
053            */
054            public java.lang.String getUuid() {
055                    return _mbCategory.getUuid();
056            }
057    
058            /**
059            * Sets the uuid of this message boards category.
060            *
061            * @param uuid the uuid of this message boards category
062            */
063            public void setUuid(java.lang.String uuid) {
064                    _mbCategory.setUuid(uuid);
065            }
066    
067            /**
068            * Gets the category id of this message boards category.
069            *
070            * @return the category id of this message boards category
071            */
072            public long getCategoryId() {
073                    return _mbCategory.getCategoryId();
074            }
075    
076            /**
077            * Sets the category id of this message boards category.
078            *
079            * @param categoryId the category id of this message boards category
080            */
081            public void setCategoryId(long categoryId) {
082                    _mbCategory.setCategoryId(categoryId);
083            }
084    
085            /**
086            * Gets the group id of this message boards category.
087            *
088            * @return the group id of this message boards category
089            */
090            public long getGroupId() {
091                    return _mbCategory.getGroupId();
092            }
093    
094            /**
095            * Sets the group id of this message boards category.
096            *
097            * @param groupId the group id of this message boards category
098            */
099            public void setGroupId(long groupId) {
100                    _mbCategory.setGroupId(groupId);
101            }
102    
103            /**
104            * Gets the company id of this message boards category.
105            *
106            * @return the company id of this message boards category
107            */
108            public long getCompanyId() {
109                    return _mbCategory.getCompanyId();
110            }
111    
112            /**
113            * Sets the company id of this message boards category.
114            *
115            * @param companyId the company id of this message boards category
116            */
117            public void setCompanyId(long companyId) {
118                    _mbCategory.setCompanyId(companyId);
119            }
120    
121            /**
122            * Gets the user id of this message boards category.
123            *
124            * @return the user id of this message boards category
125            */
126            public long getUserId() {
127                    return _mbCategory.getUserId();
128            }
129    
130            /**
131            * Sets the user id of this message boards category.
132            *
133            * @param userId the user id of this message boards category
134            */
135            public void setUserId(long userId) {
136                    _mbCategory.setUserId(userId);
137            }
138    
139            /**
140            * Gets the user uuid of this message boards category.
141            *
142            * @return the user uuid of this message boards category
143            * @throws SystemException if a system exception occurred
144            */
145            public java.lang.String getUserUuid()
146                    throws com.liferay.portal.kernel.exception.SystemException {
147                    return _mbCategory.getUserUuid();
148            }
149    
150            /**
151            * Sets the user uuid of this message boards category.
152            *
153            * @param userUuid the user uuid of this message boards category
154            */
155            public void setUserUuid(java.lang.String userUuid) {
156                    _mbCategory.setUserUuid(userUuid);
157            }
158    
159            /**
160            * Gets the user name of this message boards category.
161            *
162            * @return the user name of this message boards category
163            */
164            public java.lang.String getUserName() {
165                    return _mbCategory.getUserName();
166            }
167    
168            /**
169            * Sets the user name of this message boards category.
170            *
171            * @param userName the user name of this message boards category
172            */
173            public void setUserName(java.lang.String userName) {
174                    _mbCategory.setUserName(userName);
175            }
176    
177            /**
178            * Gets the create date of this message boards category.
179            *
180            * @return the create date of this message boards category
181            */
182            public java.util.Date getCreateDate() {
183                    return _mbCategory.getCreateDate();
184            }
185    
186            /**
187            * Sets the create date of this message boards category.
188            *
189            * @param createDate the create date of this message boards category
190            */
191            public void setCreateDate(java.util.Date createDate) {
192                    _mbCategory.setCreateDate(createDate);
193            }
194    
195            /**
196            * Gets the modified date of this message boards category.
197            *
198            * @return the modified date of this message boards category
199            */
200            public java.util.Date getModifiedDate() {
201                    return _mbCategory.getModifiedDate();
202            }
203    
204            /**
205            * Sets the modified date of this message boards category.
206            *
207            * @param modifiedDate the modified date of this message boards category
208            */
209            public void setModifiedDate(java.util.Date modifiedDate) {
210                    _mbCategory.setModifiedDate(modifiedDate);
211            }
212    
213            /**
214            * Gets the parent category id of this message boards category.
215            *
216            * @return the parent category id of this message boards category
217            */
218            public long getParentCategoryId() {
219                    return _mbCategory.getParentCategoryId();
220            }
221    
222            /**
223            * Sets the parent category id of this message boards category.
224            *
225            * @param parentCategoryId the parent category id of this message boards category
226            */
227            public void setParentCategoryId(long parentCategoryId) {
228                    _mbCategory.setParentCategoryId(parentCategoryId);
229            }
230    
231            /**
232            * Gets the name of this message boards category.
233            *
234            * @return the name of this message boards category
235            */
236            public java.lang.String getName() {
237                    return _mbCategory.getName();
238            }
239    
240            /**
241            * Sets the name of this message boards category.
242            *
243            * @param name the name of this message boards category
244            */
245            public void setName(java.lang.String name) {
246                    _mbCategory.setName(name);
247            }
248    
249            /**
250            * Gets the description of this message boards category.
251            *
252            * @return the description of this message boards category
253            */
254            public java.lang.String getDescription() {
255                    return _mbCategory.getDescription();
256            }
257    
258            /**
259            * Sets the description of this message boards category.
260            *
261            * @param description the description of this message boards category
262            */
263            public void setDescription(java.lang.String description) {
264                    _mbCategory.setDescription(description);
265            }
266    
267            /**
268            * Gets the thread count of this message boards category.
269            *
270            * @return the thread count of this message boards category
271            */
272            public int getThreadCount() {
273                    return _mbCategory.getThreadCount();
274            }
275    
276            /**
277            * Sets the thread count of this message boards category.
278            *
279            * @param threadCount the thread count of this message boards category
280            */
281            public void setThreadCount(int threadCount) {
282                    _mbCategory.setThreadCount(threadCount);
283            }
284    
285            /**
286            * Gets the message count of this message boards category.
287            *
288            * @return the message count of this message boards category
289            */
290            public int getMessageCount() {
291                    return _mbCategory.getMessageCount();
292            }
293    
294            /**
295            * Sets the message count of this message boards category.
296            *
297            * @param messageCount the message count of this message boards category
298            */
299            public void setMessageCount(int messageCount) {
300                    _mbCategory.setMessageCount(messageCount);
301            }
302    
303            /**
304            * Gets the last post date of this message boards category.
305            *
306            * @return the last post date of this message boards category
307            */
308            public java.util.Date getLastPostDate() {
309                    return _mbCategory.getLastPostDate();
310            }
311    
312            /**
313            * Sets the last post date of this message boards category.
314            *
315            * @param lastPostDate the last post date of this message boards category
316            */
317            public void setLastPostDate(java.util.Date lastPostDate) {
318                    _mbCategory.setLastPostDate(lastPostDate);
319            }
320    
321            public boolean isNew() {
322                    return _mbCategory.isNew();
323            }
324    
325            public void setNew(boolean n) {
326                    _mbCategory.setNew(n);
327            }
328    
329            public boolean isCachedModel() {
330                    return _mbCategory.isCachedModel();
331            }
332    
333            public void setCachedModel(boolean cachedModel) {
334                    _mbCategory.setCachedModel(cachedModel);
335            }
336    
337            public boolean isEscapedModel() {
338                    return _mbCategory.isEscapedModel();
339            }
340    
341            public void setEscapedModel(boolean escapedModel) {
342                    _mbCategory.setEscapedModel(escapedModel);
343            }
344    
345            public java.io.Serializable getPrimaryKeyObj() {
346                    return _mbCategory.getPrimaryKeyObj();
347            }
348    
349            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
350                    return _mbCategory.getExpandoBridge();
351            }
352    
353            public void setExpandoBridgeAttributes(
354                    com.liferay.portal.service.ServiceContext serviceContext) {
355                    _mbCategory.setExpandoBridgeAttributes(serviceContext);
356            }
357    
358            public java.lang.Object clone() {
359                    return _mbCategory.clone();
360            }
361    
362            public int compareTo(
363                    com.liferay.portlet.messageboards.model.MBCategory mbCategory) {
364                    return _mbCategory.compareTo(mbCategory);
365            }
366    
367            public int hashCode() {
368                    return _mbCategory.hashCode();
369            }
370    
371            public com.liferay.portlet.messageboards.model.MBCategory toEscapedModel() {
372                    return _mbCategory.toEscapedModel();
373            }
374    
375            public java.lang.String toString() {
376                    return _mbCategory.toString();
377            }
378    
379            public java.lang.String toXmlString() {
380                    return _mbCategory.toXmlString();
381            }
382    
383            public java.util.List<java.lang.Long> getAncestorCategoryIds()
384                    throws com.liferay.portal.kernel.exception.PortalException,
385                            com.liferay.portal.kernel.exception.SystemException {
386                    return _mbCategory.getAncestorCategoryIds();
387            }
388    
389            public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getAncestors()
390                    throws com.liferay.portal.kernel.exception.PortalException,
391                            com.liferay.portal.kernel.exception.SystemException {
392                    return _mbCategory.getAncestors();
393            }
394    
395            public boolean isRoot() {
396                    return _mbCategory.isRoot();
397            }
398    
399            public MBCategory getWrappedMBCategory() {
400                    return _mbCategory;
401            }
402    
403            private MBCategory _mbCategory;
404    }