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 MBThread}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       MBThread
024     * @generated
025     */
026    public class MBThreadWrapper implements MBThread {
027            public MBThreadWrapper(MBThread mbThread) {
028                    _mbThread = mbThread;
029            }
030    
031            public long getPrimaryKey() {
032                    return _mbThread.getPrimaryKey();
033            }
034    
035            public void setPrimaryKey(long pk) {
036                    _mbThread.setPrimaryKey(pk);
037            }
038    
039            public long getThreadId() {
040                    return _mbThread.getThreadId();
041            }
042    
043            public void setThreadId(long threadId) {
044                    _mbThread.setThreadId(threadId);
045            }
046    
047            public long getGroupId() {
048                    return _mbThread.getGroupId();
049            }
050    
051            public void setGroupId(long groupId) {
052                    _mbThread.setGroupId(groupId);
053            }
054    
055            public long getCategoryId() {
056                    return _mbThread.getCategoryId();
057            }
058    
059            public void setCategoryId(long categoryId) {
060                    _mbThread.setCategoryId(categoryId);
061            }
062    
063            public long getRootMessageId() {
064                    return _mbThread.getRootMessageId();
065            }
066    
067            public void setRootMessageId(long rootMessageId) {
068                    _mbThread.setRootMessageId(rootMessageId);
069            }
070    
071            public int getMessageCount() {
072                    return _mbThread.getMessageCount();
073            }
074    
075            public void setMessageCount(int messageCount) {
076                    _mbThread.setMessageCount(messageCount);
077            }
078    
079            public int getViewCount() {
080                    return _mbThread.getViewCount();
081            }
082    
083            public void setViewCount(int viewCount) {
084                    _mbThread.setViewCount(viewCount);
085            }
086    
087            public long getLastPostByUserId() {
088                    return _mbThread.getLastPostByUserId();
089            }
090    
091            public void setLastPostByUserId(long lastPostByUserId) {
092                    _mbThread.setLastPostByUserId(lastPostByUserId);
093            }
094    
095            public java.lang.String getLastPostByUserUuid()
096                    throws com.liferay.portal.kernel.exception.SystemException {
097                    return _mbThread.getLastPostByUserUuid();
098            }
099    
100            public void setLastPostByUserUuid(java.lang.String lastPostByUserUuid) {
101                    _mbThread.setLastPostByUserUuid(lastPostByUserUuid);
102            }
103    
104            public java.util.Date getLastPostDate() {
105                    return _mbThread.getLastPostDate();
106            }
107    
108            public void setLastPostDate(java.util.Date lastPostDate) {
109                    _mbThread.setLastPostDate(lastPostDate);
110            }
111    
112            public double getPriority() {
113                    return _mbThread.getPriority();
114            }
115    
116            public void setPriority(double priority) {
117                    _mbThread.setPriority(priority);
118            }
119    
120            public int getStatus() {
121                    return _mbThread.getStatus();
122            }
123    
124            public void setStatus(int status) {
125                    _mbThread.setStatus(status);
126            }
127    
128            public long getStatusByUserId() {
129                    return _mbThread.getStatusByUserId();
130            }
131    
132            public void setStatusByUserId(long statusByUserId) {
133                    _mbThread.setStatusByUserId(statusByUserId);
134            }
135    
136            public java.lang.String getStatusByUserUuid()
137                    throws com.liferay.portal.kernel.exception.SystemException {
138                    return _mbThread.getStatusByUserUuid();
139            }
140    
141            public void setStatusByUserUuid(java.lang.String statusByUserUuid) {
142                    _mbThread.setStatusByUserUuid(statusByUserUuid);
143            }
144    
145            public java.lang.String getStatusByUserName() {
146                    return _mbThread.getStatusByUserName();
147            }
148    
149            public void setStatusByUserName(java.lang.String statusByUserName) {
150                    _mbThread.setStatusByUserName(statusByUserName);
151            }
152    
153            public java.util.Date getStatusDate() {
154                    return _mbThread.getStatusDate();
155            }
156    
157            public void setStatusDate(java.util.Date statusDate) {
158                    _mbThread.setStatusDate(statusDate);
159            }
160    
161            public boolean isApproved() {
162                    return _mbThread.isApproved();
163            }
164    
165            public boolean isDraft() {
166                    return _mbThread.isDraft();
167            }
168    
169            public boolean isExpired() {
170                    return _mbThread.isExpired();
171            }
172    
173            public boolean isPending() {
174                    return _mbThread.isPending();
175            }
176    
177            public com.liferay.portlet.messageboards.model.MBThread toEscapedModel() {
178                    return _mbThread.toEscapedModel();
179            }
180    
181            public boolean isNew() {
182                    return _mbThread.isNew();
183            }
184    
185            public void setNew(boolean n) {
186                    _mbThread.setNew(n);
187            }
188    
189            public boolean isCachedModel() {
190                    return _mbThread.isCachedModel();
191            }
192    
193            public void setCachedModel(boolean cachedModel) {
194                    _mbThread.setCachedModel(cachedModel);
195            }
196    
197            public boolean isEscapedModel() {
198                    return _mbThread.isEscapedModel();
199            }
200    
201            public void setEscapedModel(boolean escapedModel) {
202                    _mbThread.setEscapedModel(escapedModel);
203            }
204    
205            public java.io.Serializable getPrimaryKeyObj() {
206                    return _mbThread.getPrimaryKeyObj();
207            }
208    
209            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
210                    return _mbThread.getExpandoBridge();
211            }
212    
213            public void setExpandoBridgeAttributes(
214                    com.liferay.portal.service.ServiceContext serviceContext) {
215                    _mbThread.setExpandoBridgeAttributes(serviceContext);
216            }
217    
218            public java.lang.Object clone() {
219                    return _mbThread.clone();
220            }
221    
222            public int compareTo(
223                    com.liferay.portlet.messageboards.model.MBThread mbThread) {
224                    return _mbThread.compareTo(mbThread);
225            }
226    
227            public int hashCode() {
228                    return _mbThread.hashCode();
229            }
230    
231            public java.lang.String toString() {
232                    return _mbThread.toString();
233            }
234    
235            public java.lang.String toXmlString() {
236                    return _mbThread.toXmlString();
237            }
238    
239            public java.lang.String getAttachmentsDir() {
240                    return _mbThread.getAttachmentsDir();
241            }
242    
243            public com.liferay.portal.model.Lock getLock() {
244                    return _mbThread.getLock();
245            }
246    
247            public boolean hasLock(long userId) {
248                    return _mbThread.hasLock(userId);
249            }
250    
251            public boolean isLocked() {
252                    return _mbThread.isLocked();
253            }
254    
255            public MBThread getWrappedMBThread() {
256                    return _mbThread;
257            }
258    
259            private MBThread _mbThread;
260    }