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="MBMessageSoap.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 MBMessage}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       MBMessage
32   * @generated
33   */
34  public class MBMessageWrapper implements MBMessage {
35      public MBMessageWrapper(MBMessage mbMessage) {
36          _mbMessage = mbMessage;
37      }
38  
39      public long getPrimaryKey() {
40          return _mbMessage.getPrimaryKey();
41      }
42  
43      public void setPrimaryKey(long pk) {
44          _mbMessage.setPrimaryKey(pk);
45      }
46  
47      public java.lang.String getUuid() {
48          return _mbMessage.getUuid();
49      }
50  
51      public void setUuid(java.lang.String uuid) {
52          _mbMessage.setUuid(uuid);
53      }
54  
55      public long getMessageId() {
56          return _mbMessage.getMessageId();
57      }
58  
59      public void setMessageId(long messageId) {
60          _mbMessage.setMessageId(messageId);
61      }
62  
63      public long getGroupId() {
64          return _mbMessage.getGroupId();
65      }
66  
67      public void setGroupId(long groupId) {
68          _mbMessage.setGroupId(groupId);
69      }
70  
71      public long getCompanyId() {
72          return _mbMessage.getCompanyId();
73      }
74  
75      public void setCompanyId(long companyId) {
76          _mbMessage.setCompanyId(companyId);
77      }
78  
79      public long getUserId() {
80          return _mbMessage.getUserId();
81      }
82  
83      public void setUserId(long userId) {
84          _mbMessage.setUserId(userId);
85      }
86  
87      public java.lang.String getUserUuid()
88          throws com.liferay.portal.kernel.exception.SystemException {
89          return _mbMessage.getUserUuid();
90      }
91  
92      public void setUserUuid(java.lang.String userUuid) {
93          _mbMessage.setUserUuid(userUuid);
94      }
95  
96      public java.lang.String getUserName() {
97          return _mbMessage.getUserName();
98      }
99  
100     public void setUserName(java.lang.String userName) {
101         _mbMessage.setUserName(userName);
102     }
103 
104     public java.util.Date getCreateDate() {
105         return _mbMessage.getCreateDate();
106     }
107 
108     public void setCreateDate(java.util.Date createDate) {
109         _mbMessage.setCreateDate(createDate);
110     }
111 
112     public java.util.Date getModifiedDate() {
113         return _mbMessage.getModifiedDate();
114     }
115 
116     public void setModifiedDate(java.util.Date modifiedDate) {
117         _mbMessage.setModifiedDate(modifiedDate);
118     }
119 
120     public java.lang.String getClassName() {
121         return _mbMessage.getClassName();
122     }
123 
124     public long getClassNameId() {
125         return _mbMessage.getClassNameId();
126     }
127 
128     public void setClassNameId(long classNameId) {
129         _mbMessage.setClassNameId(classNameId);
130     }
131 
132     public long getClassPK() {
133         return _mbMessage.getClassPK();
134     }
135 
136     public void setClassPK(long classPK) {
137         _mbMessage.setClassPK(classPK);
138     }
139 
140     public long getCategoryId() {
141         return _mbMessage.getCategoryId();
142     }
143 
144     public void setCategoryId(long categoryId) {
145         _mbMessage.setCategoryId(categoryId);
146     }
147 
148     public long getThreadId() {
149         return _mbMessage.getThreadId();
150     }
151 
152     public void setThreadId(long threadId) {
153         _mbMessage.setThreadId(threadId);
154     }
155 
156     public long getParentMessageId() {
157         return _mbMessage.getParentMessageId();
158     }
159 
160     public void setParentMessageId(long parentMessageId) {
161         _mbMessage.setParentMessageId(parentMessageId);
162     }
163 
164     public java.lang.String getSubject() {
165         return _mbMessage.getSubject();
166     }
167 
168     public void setSubject(java.lang.String subject) {
169         _mbMessage.setSubject(subject);
170     }
171 
172     public java.lang.String getBody() {
173         return _mbMessage.getBody();
174     }
175 
176     public void setBody(java.lang.String body) {
177         _mbMessage.setBody(body);
178     }
179 
180     public boolean getAttachments() {
181         return _mbMessage.getAttachments();
182     }
183 
184     public boolean isAttachments() {
185         return _mbMessage.isAttachments();
186     }
187 
188     public void setAttachments(boolean attachments) {
189         _mbMessage.setAttachments(attachments);
190     }
191 
192     public boolean getAnonymous() {
193         return _mbMessage.getAnonymous();
194     }
195 
196     public boolean isAnonymous() {
197         return _mbMessage.isAnonymous();
198     }
199 
200     public void setAnonymous(boolean anonymous) {
201         _mbMessage.setAnonymous(anonymous);
202     }
203 
204     public double getPriority() {
205         return _mbMessage.getPriority();
206     }
207 
208     public void setPriority(double priority) {
209         _mbMessage.setPriority(priority);
210     }
211 
212     public boolean getAllowPingbacks() {
213         return _mbMessage.getAllowPingbacks();
214     }
215 
216     public boolean isAllowPingbacks() {
217         return _mbMessage.isAllowPingbacks();
218     }
219 
220     public void setAllowPingbacks(boolean allowPingbacks) {
221         _mbMessage.setAllowPingbacks(allowPingbacks);
222     }
223 
224     public int getStatus() {
225         return _mbMessage.getStatus();
226     }
227 
228     public void setStatus(int status) {
229         _mbMessage.setStatus(status);
230     }
231 
232     public long getStatusByUserId() {
233         return _mbMessage.getStatusByUserId();
234     }
235 
236     public void setStatusByUserId(long statusByUserId) {
237         _mbMessage.setStatusByUserId(statusByUserId);
238     }
239 
240     public java.lang.String getStatusByUserUuid()
241         throws com.liferay.portal.kernel.exception.SystemException {
242         return _mbMessage.getStatusByUserUuid();
243     }
244 
245     public void setStatusByUserUuid(java.lang.String statusByUserUuid) {
246         _mbMessage.setStatusByUserUuid(statusByUserUuid);
247     }
248 
249     public java.lang.String getStatusByUserName() {
250         return _mbMessage.getStatusByUserName();
251     }
252 
253     public void setStatusByUserName(java.lang.String statusByUserName) {
254         _mbMessage.setStatusByUserName(statusByUserName);
255     }
256 
257     public java.util.Date getStatusDate() {
258         return _mbMessage.getStatusDate();
259     }
260 
261     public void setStatusDate(java.util.Date statusDate) {
262         _mbMessage.setStatusDate(statusDate);
263     }
264 
265     public com.liferay.portlet.messageboards.model.MBMessage toEscapedModel() {
266         return _mbMessage.toEscapedModel();
267     }
268 
269     public boolean isNew() {
270         return _mbMessage.isNew();
271     }
272 
273     public boolean setNew(boolean n) {
274         return _mbMessage.setNew(n);
275     }
276 
277     public boolean isCachedModel() {
278         return _mbMessage.isCachedModel();
279     }
280 
281     public void setCachedModel(boolean cachedModel) {
282         _mbMessage.setCachedModel(cachedModel);
283     }
284 
285     public boolean isEscapedModel() {
286         return _mbMessage.isEscapedModel();
287     }
288 
289     public void setEscapedModel(boolean escapedModel) {
290         _mbMessage.setEscapedModel(escapedModel);
291     }
292 
293     public java.io.Serializable getPrimaryKeyObj() {
294         return _mbMessage.getPrimaryKeyObj();
295     }
296 
297     public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
298         return _mbMessage.getExpandoBridge();
299     }
300 
301     public void setExpandoBridgeAttributes(
302         com.liferay.portal.service.ServiceContext serviceContext) {
303         _mbMessage.setExpandoBridgeAttributes(serviceContext);
304     }
305 
306     public java.lang.Object clone() {
307         return _mbMessage.clone();
308     }
309 
310     public int compareTo(
311         com.liferay.portlet.messageboards.model.MBMessage mbMessage) {
312         return _mbMessage.compareTo(mbMessage);
313     }
314 
315     public int hashCode() {
316         return _mbMessage.hashCode();
317     }
318 
319     public java.lang.String toString() {
320         return _mbMessage.toString();
321     }
322 
323     public java.lang.String toXmlString() {
324         return _mbMessage.toXmlString();
325     }
326 
327     public java.lang.String[] getAssetTagNames()
328         throws com.liferay.portal.kernel.exception.SystemException {
329         return _mbMessage.getAssetTagNames();
330     }
331 
332     public java.lang.String getAttachmentsDir() {
333         return _mbMessage.getAttachmentsDir();
334     }
335 
336     public java.lang.String[] getAttachmentsFiles()
337         throws com.liferay.portal.kernel.exception.PortalException,
338             com.liferay.portal.kernel.exception.SystemException {
339         return _mbMessage.getAttachmentsFiles();
340     }
341 
342     public java.lang.String getBody(boolean translate) {
343         return _mbMessage.getBody(translate);
344     }
345 
346     public com.liferay.portlet.messageboards.model.MBCategory getCategory() {
347         return _mbMessage.getCategory();
348     }
349 
350     public com.liferay.portlet.messageboards.model.MBThread getThread()
351         throws com.liferay.portal.kernel.exception.PortalException,
352             com.liferay.portal.kernel.exception.SystemException {
353         return _mbMessage.getThread();
354     }
355 
356     public java.lang.String getThreadAttachmentsDir() {
357         return _mbMessage.getThreadAttachmentsDir();
358     }
359 
360     public boolean isDiscussion() {
361         return _mbMessage.isDiscussion();
362     }
363 
364     public boolean isReply() {
365         return _mbMessage.isReply();
366     }
367 
368     public boolean isRoot() {
369         return _mbMessage.isRoot();
370     }
371 
372     public void setAttachmentsDir(java.lang.String attachmentsDir) {
373         _mbMessage.setAttachmentsDir(attachmentsDir);
374     }
375 
376     public MBMessage getWrappedMBMessage() {
377         return _mbMessage;
378     }
379 
380     private MBMessage _mbMessage;
381 }