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    /**
019     * <p>
020     * This class is a wrapper for {@link MBCategory}.
021     * </p>
022     *
023     * @author    Brian Wing Shun Chan
024     * @see       MBCategory
025     * @generated
026     */
027    public class MBCategoryWrapper implements MBCategory {
028            public MBCategoryWrapper(MBCategory mbCategory) {
029                    _mbCategory = mbCategory;
030            }
031    
032            public long getPrimaryKey() {
033                    return _mbCategory.getPrimaryKey();
034            }
035    
036            public void setPrimaryKey(long pk) {
037                    _mbCategory.setPrimaryKey(pk);
038            }
039    
040            public java.lang.String getUuid() {
041                    return _mbCategory.getUuid();
042            }
043    
044            public void setUuid(java.lang.String uuid) {
045                    _mbCategory.setUuid(uuid);
046            }
047    
048            public long getCategoryId() {
049                    return _mbCategory.getCategoryId();
050            }
051    
052            public void setCategoryId(long categoryId) {
053                    _mbCategory.setCategoryId(categoryId);
054            }
055    
056            public long getGroupId() {
057                    return _mbCategory.getGroupId();
058            }
059    
060            public void setGroupId(long groupId) {
061                    _mbCategory.setGroupId(groupId);
062            }
063    
064            public long getCompanyId() {
065                    return _mbCategory.getCompanyId();
066            }
067    
068            public void setCompanyId(long companyId) {
069                    _mbCategory.setCompanyId(companyId);
070            }
071    
072            public long getUserId() {
073                    return _mbCategory.getUserId();
074            }
075    
076            public void setUserId(long userId) {
077                    _mbCategory.setUserId(userId);
078            }
079    
080            public java.lang.String getUserUuid()
081                    throws com.liferay.portal.kernel.exception.SystemException {
082                    return _mbCategory.getUserUuid();
083            }
084    
085            public void setUserUuid(java.lang.String userUuid) {
086                    _mbCategory.setUserUuid(userUuid);
087            }
088    
089            public java.lang.String getUserName() {
090                    return _mbCategory.getUserName();
091            }
092    
093            public void setUserName(java.lang.String userName) {
094                    _mbCategory.setUserName(userName);
095            }
096    
097            public java.util.Date getCreateDate() {
098                    return _mbCategory.getCreateDate();
099            }
100    
101            public void setCreateDate(java.util.Date createDate) {
102                    _mbCategory.setCreateDate(createDate);
103            }
104    
105            public java.util.Date getModifiedDate() {
106                    return _mbCategory.getModifiedDate();
107            }
108    
109            public void setModifiedDate(java.util.Date modifiedDate) {
110                    _mbCategory.setModifiedDate(modifiedDate);
111            }
112    
113            public long getParentCategoryId() {
114                    return _mbCategory.getParentCategoryId();
115            }
116    
117            public void setParentCategoryId(long parentCategoryId) {
118                    _mbCategory.setParentCategoryId(parentCategoryId);
119            }
120    
121            public java.lang.String getName() {
122                    return _mbCategory.getName();
123            }
124    
125            public void setName(java.lang.String name) {
126                    _mbCategory.setName(name);
127            }
128    
129            public java.lang.String getDescription() {
130                    return _mbCategory.getDescription();
131            }
132    
133            public void setDescription(java.lang.String description) {
134                    _mbCategory.setDescription(description);
135            }
136    
137            public int getThreadCount() {
138                    return _mbCategory.getThreadCount();
139            }
140    
141            public void setThreadCount(int threadCount) {
142                    _mbCategory.setThreadCount(threadCount);
143            }
144    
145            public int getMessageCount() {
146                    return _mbCategory.getMessageCount();
147            }
148    
149            public void setMessageCount(int messageCount) {
150                    _mbCategory.setMessageCount(messageCount);
151            }
152    
153            public java.util.Date getLastPostDate() {
154                    return _mbCategory.getLastPostDate();
155            }
156    
157            public void setLastPostDate(java.util.Date lastPostDate) {
158                    _mbCategory.setLastPostDate(lastPostDate);
159            }
160    
161            public com.liferay.portlet.messageboards.model.MBCategory toEscapedModel() {
162                    return _mbCategory.toEscapedModel();
163            }
164    
165            public boolean isNew() {
166                    return _mbCategory.isNew();
167            }
168    
169            public void setNew(boolean n) {
170                    _mbCategory.setNew(n);
171            }
172    
173            public boolean isCachedModel() {
174                    return _mbCategory.isCachedModel();
175            }
176    
177            public void setCachedModel(boolean cachedModel) {
178                    _mbCategory.setCachedModel(cachedModel);
179            }
180    
181            public boolean isEscapedModel() {
182                    return _mbCategory.isEscapedModel();
183            }
184    
185            public void setEscapedModel(boolean escapedModel) {
186                    _mbCategory.setEscapedModel(escapedModel);
187            }
188    
189            public java.io.Serializable getPrimaryKeyObj() {
190                    return _mbCategory.getPrimaryKeyObj();
191            }
192    
193            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
194                    return _mbCategory.getExpandoBridge();
195            }
196    
197            public void setExpandoBridgeAttributes(
198                    com.liferay.portal.service.ServiceContext serviceContext) {
199                    _mbCategory.setExpandoBridgeAttributes(serviceContext);
200            }
201    
202            public java.lang.Object clone() {
203                    return _mbCategory.clone();
204            }
205    
206            public int compareTo(
207                    com.liferay.portlet.messageboards.model.MBCategory mbCategory) {
208                    return _mbCategory.compareTo(mbCategory);
209            }
210    
211            public int hashCode() {
212                    return _mbCategory.hashCode();
213            }
214    
215            public java.lang.String toString() {
216                    return _mbCategory.toString();
217            }
218    
219            public java.lang.String toXmlString() {
220                    return _mbCategory.toXmlString();
221            }
222    
223            public java.util.List<java.lang.Long> getAncestorCategoryIds()
224                    throws com.liferay.portal.kernel.exception.PortalException,
225                            com.liferay.portal.kernel.exception.SystemException {
226                    return _mbCategory.getAncestorCategoryIds();
227            }
228    
229            public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getAncestors()
230                    throws com.liferay.portal.kernel.exception.PortalException,
231                            com.liferay.portal.kernel.exception.SystemException {
232                    return _mbCategory.getAncestors();
233            }
234    
235            public boolean isRoot() {
236                    return _mbCategory.isRoot();
237            }
238    
239            public MBCategory getWrappedMBCategory() {
240                    return _mbCategory;
241            }
242    
243            private MBCategory _mbCategory;
244    }