001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
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            public long getPrimaryKey() {
032                    return _mbCategory.getPrimaryKey();
033            }
034    
035            public void setPrimaryKey(long pk) {
036                    _mbCategory.setPrimaryKey(pk);
037            }
038    
039            public java.lang.String getUuid() {
040                    return _mbCategory.getUuid();
041            }
042    
043            public void setUuid(java.lang.String uuid) {
044                    _mbCategory.setUuid(uuid);
045            }
046    
047            public long getCategoryId() {
048                    return _mbCategory.getCategoryId();
049            }
050    
051            public void setCategoryId(long categoryId) {
052                    _mbCategory.setCategoryId(categoryId);
053            }
054    
055            public long getGroupId() {
056                    return _mbCategory.getGroupId();
057            }
058    
059            public void setGroupId(long groupId) {
060                    _mbCategory.setGroupId(groupId);
061            }
062    
063            public long getCompanyId() {
064                    return _mbCategory.getCompanyId();
065            }
066    
067            public void setCompanyId(long companyId) {
068                    _mbCategory.setCompanyId(companyId);
069            }
070    
071            public long getUserId() {
072                    return _mbCategory.getUserId();
073            }
074    
075            public void setUserId(long userId) {
076                    _mbCategory.setUserId(userId);
077            }
078    
079            public java.lang.String getUserUuid()
080                    throws com.liferay.portal.kernel.exception.SystemException {
081                    return _mbCategory.getUserUuid();
082            }
083    
084            public void setUserUuid(java.lang.String userUuid) {
085                    _mbCategory.setUserUuid(userUuid);
086            }
087    
088            public java.lang.String getUserName() {
089                    return _mbCategory.getUserName();
090            }
091    
092            public void setUserName(java.lang.String userName) {
093                    _mbCategory.setUserName(userName);
094            }
095    
096            public java.util.Date getCreateDate() {
097                    return _mbCategory.getCreateDate();
098            }
099    
100            public void setCreateDate(java.util.Date createDate) {
101                    _mbCategory.setCreateDate(createDate);
102            }
103    
104            public java.util.Date getModifiedDate() {
105                    return _mbCategory.getModifiedDate();
106            }
107    
108            public void setModifiedDate(java.util.Date modifiedDate) {
109                    _mbCategory.setModifiedDate(modifiedDate);
110            }
111    
112            public long getParentCategoryId() {
113                    return _mbCategory.getParentCategoryId();
114            }
115    
116            public void setParentCategoryId(long parentCategoryId) {
117                    _mbCategory.setParentCategoryId(parentCategoryId);
118            }
119    
120            public java.lang.String getName() {
121                    return _mbCategory.getName();
122            }
123    
124            public void setName(java.lang.String name) {
125                    _mbCategory.setName(name);
126            }
127    
128            public java.lang.String getDescription() {
129                    return _mbCategory.getDescription();
130            }
131    
132            public void setDescription(java.lang.String description) {
133                    _mbCategory.setDescription(description);
134            }
135    
136            public int getThreadCount() {
137                    return _mbCategory.getThreadCount();
138            }
139    
140            public void setThreadCount(int threadCount) {
141                    _mbCategory.setThreadCount(threadCount);
142            }
143    
144            public int getMessageCount() {
145                    return _mbCategory.getMessageCount();
146            }
147    
148            public void setMessageCount(int messageCount) {
149                    _mbCategory.setMessageCount(messageCount);
150            }
151    
152            public java.util.Date getLastPostDate() {
153                    return _mbCategory.getLastPostDate();
154            }
155    
156            public void setLastPostDate(java.util.Date lastPostDate) {
157                    _mbCategory.setLastPostDate(lastPostDate);
158            }
159    
160            public com.liferay.portlet.messageboards.model.MBCategory toEscapedModel() {
161                    return _mbCategory.toEscapedModel();
162            }
163    
164            public boolean isNew() {
165                    return _mbCategory.isNew();
166            }
167    
168            public void setNew(boolean n) {
169                    _mbCategory.setNew(n);
170            }
171    
172            public boolean isCachedModel() {
173                    return _mbCategory.isCachedModel();
174            }
175    
176            public void setCachedModel(boolean cachedModel) {
177                    _mbCategory.setCachedModel(cachedModel);
178            }
179    
180            public boolean isEscapedModel() {
181                    return _mbCategory.isEscapedModel();
182            }
183    
184            public void setEscapedModel(boolean escapedModel) {
185                    _mbCategory.setEscapedModel(escapedModel);
186            }
187    
188            public java.io.Serializable getPrimaryKeyObj() {
189                    return _mbCategory.getPrimaryKeyObj();
190            }
191    
192            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
193                    return _mbCategory.getExpandoBridge();
194            }
195    
196            public void setExpandoBridgeAttributes(
197                    com.liferay.portal.service.ServiceContext serviceContext) {
198                    _mbCategory.setExpandoBridgeAttributes(serviceContext);
199            }
200    
201            public java.lang.Object clone() {
202                    return _mbCategory.clone();
203            }
204    
205            public int compareTo(
206                    com.liferay.portlet.messageboards.model.MBCategory mbCategory) {
207                    return _mbCategory.compareTo(mbCategory);
208            }
209    
210            public int hashCode() {
211                    return _mbCategory.hashCode();
212            }
213    
214            public java.lang.String toString() {
215                    return _mbCategory.toString();
216            }
217    
218            public java.lang.String toXmlString() {
219                    return _mbCategory.toXmlString();
220            }
221    
222            public java.util.List<java.lang.Long> getAncestorCategoryIds()
223                    throws com.liferay.portal.kernel.exception.PortalException,
224                            com.liferay.portal.kernel.exception.SystemException {
225                    return _mbCategory.getAncestorCategoryIds();
226            }
227    
228            public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getAncestors()
229                    throws com.liferay.portal.kernel.exception.PortalException,
230                            com.liferay.portal.kernel.exception.SystemException {
231                    return _mbCategory.getAncestors();
232            }
233    
234            public boolean isRoot() {
235                    return _mbCategory.isRoot();
236            }
237    
238            public MBCategory getWrappedMBCategory() {
239                    return _mbCategory;
240            }
241    
242            private MBCategory _mbCategory;
243    }