1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.portlet.messageboards.model;
16  
17  
18  /**
19   * <a href="MBThreadSoap.java.html"><b><i>View Source</i></b></a>
20   *
21   * <p>
22   * ServiceBuilder generated this class. Modifications in this class will be
23   * overwritten the next time is generated.
24   * </p>
25   *
26   * <p>
27   * This class is a wrapper for {@link MBThread}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       MBThread
32   * @generated
33   */
34  public class MBThreadWrapper implements MBThread {
35      public MBThreadWrapper(MBThread mbThread) {
36          _mbThread = mbThread;
37      }
38  
39      public long getPrimaryKey() {
40          return _mbThread.getPrimaryKey();
41      }
42  
43      public void setPrimaryKey(long pk) {
44          _mbThread.setPrimaryKey(pk);
45      }
46  
47      public long getThreadId() {
48          return _mbThread.getThreadId();
49      }
50  
51      public void setThreadId(long threadId) {
52          _mbThread.setThreadId(threadId);
53      }
54  
55      public long getGroupId() {
56          return _mbThread.getGroupId();
57      }
58  
59      public void setGroupId(long groupId) {
60          _mbThread.setGroupId(groupId);
61      }
62  
63      public long getCategoryId() {
64          return _mbThread.getCategoryId();
65      }
66  
67      public void setCategoryId(long categoryId) {
68          _mbThread.setCategoryId(categoryId);
69      }
70  
71      public long getRootMessageId() {
72          return _mbThread.getRootMessageId();
73      }
74  
75      public void setRootMessageId(long rootMessageId) {
76          _mbThread.setRootMessageId(rootMessageId);
77      }
78  
79      public int getMessageCount() {
80          return _mbThread.getMessageCount();
81      }
82  
83      public void setMessageCount(int messageCount) {
84          _mbThread.setMessageCount(messageCount);
85      }
86  
87      public int getViewCount() {
88          return _mbThread.getViewCount();
89      }
90  
91      public void setViewCount(int viewCount) {
92          _mbThread.setViewCount(viewCount);
93      }
94  
95      public long getLastPostByUserId() {
96          return _mbThread.getLastPostByUserId();
97      }
98  
99      public void setLastPostByUserId(long lastPostByUserId) {
100         _mbThread.setLastPostByUserId(lastPostByUserId);
101     }
102 
103     public java.lang.String getLastPostByUserUuid()
104         throws com.liferay.portal.kernel.exception.SystemException {
105         return _mbThread.getLastPostByUserUuid();
106     }
107 
108     public void setLastPostByUserUuid(java.lang.String lastPostByUserUuid) {
109         _mbThread.setLastPostByUserUuid(lastPostByUserUuid);
110     }
111 
112     public java.util.Date getLastPostDate() {
113         return _mbThread.getLastPostDate();
114     }
115 
116     public void setLastPostDate(java.util.Date lastPostDate) {
117         _mbThread.setLastPostDate(lastPostDate);
118     }
119 
120     public double getPriority() {
121         return _mbThread.getPriority();
122     }
123 
124     public void setPriority(double priority) {
125         _mbThread.setPriority(priority);
126     }
127 
128     public int getStatus() {
129         return _mbThread.getStatus();
130     }
131 
132     public void setStatus(int status) {
133         _mbThread.setStatus(status);
134     }
135 
136     public long getStatusByUserId() {
137         return _mbThread.getStatusByUserId();
138     }
139 
140     public void setStatusByUserId(long statusByUserId) {
141         _mbThread.setStatusByUserId(statusByUserId);
142     }
143 
144     public java.lang.String getStatusByUserUuid()
145         throws com.liferay.portal.kernel.exception.SystemException {
146         return _mbThread.getStatusByUserUuid();
147     }
148 
149     public void setStatusByUserUuid(java.lang.String statusByUserUuid) {
150         _mbThread.setStatusByUserUuid(statusByUserUuid);
151     }
152 
153     public java.lang.String getStatusByUserName() {
154         return _mbThread.getStatusByUserName();
155     }
156 
157     public void setStatusByUserName(java.lang.String statusByUserName) {
158         _mbThread.setStatusByUserName(statusByUserName);
159     }
160 
161     public java.util.Date getStatusDate() {
162         return _mbThread.getStatusDate();
163     }
164 
165     public void setStatusDate(java.util.Date statusDate) {
166         _mbThread.setStatusDate(statusDate);
167     }
168 
169     public com.liferay.portlet.messageboards.model.MBThread toEscapedModel() {
170         return _mbThread.toEscapedModel();
171     }
172 
173     public boolean isNew() {
174         return _mbThread.isNew();
175     }
176 
177     public boolean setNew(boolean n) {
178         return _mbThread.setNew(n);
179     }
180 
181     public boolean isCachedModel() {
182         return _mbThread.isCachedModel();
183     }
184 
185     public void setCachedModel(boolean cachedModel) {
186         _mbThread.setCachedModel(cachedModel);
187     }
188 
189     public boolean isEscapedModel() {
190         return _mbThread.isEscapedModel();
191     }
192 
193     public void setEscapedModel(boolean escapedModel) {
194         _mbThread.setEscapedModel(escapedModel);
195     }
196 
197     public java.io.Serializable getPrimaryKeyObj() {
198         return _mbThread.getPrimaryKeyObj();
199     }
200 
201     public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
202         return _mbThread.getExpandoBridge();
203     }
204 
205     public void setExpandoBridgeAttributes(
206         com.liferay.portal.service.ServiceContext serviceContext) {
207         _mbThread.setExpandoBridgeAttributes(serviceContext);
208     }
209 
210     public java.lang.Object clone() {
211         return _mbThread.clone();
212     }
213 
214     public int compareTo(
215         com.liferay.portlet.messageboards.model.MBThread mbThread) {
216         return _mbThread.compareTo(mbThread);
217     }
218 
219     public int hashCode() {
220         return _mbThread.hashCode();
221     }
222 
223     public java.lang.String toString() {
224         return _mbThread.toString();
225     }
226 
227     public java.lang.String toXmlString() {
228         return _mbThread.toXmlString();
229     }
230 
231     public java.lang.String getAttachmentsDir() {
232         return _mbThread.getAttachmentsDir();
233     }
234 
235     public com.liferay.portal.model.Lock getLock() {
236         return _mbThread.getLock();
237     }
238 
239     public boolean hasLock(long userId) {
240         return _mbThread.hasLock(userId);
241     }
242 
243     public boolean isLocked() {
244         return _mbThread.isLocked();
245     }
246 
247     public MBThread getWrappedMBThread() {
248         return _mbThread;
249     }
250 
251     private MBThread _mbThread;
252 }