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 boolean isApproved() {
266         return _mbMessage.isApproved();
267     }
268 
269     public boolean isDraft() {
270         return _mbMessage.isDraft();
271     }
272 
273     public boolean isExpired() {
274         return _mbMessage.isExpired();
275     }
276 
277     public boolean isPending() {
278         return _mbMessage.isPending();
279     }
280 
281     public com.liferay.portlet.messageboards.model.MBMessage toEscapedModel() {
282         return _mbMessage.toEscapedModel();
283     }
284 
285     public boolean isNew() {
286         return _mbMessage.isNew();
287     }
288 
289     public boolean setNew(boolean n) {
290         return _mbMessage.setNew(n);
291     }
292 
293     public boolean isCachedModel() {
294         return _mbMessage.isCachedModel();
295     }
296 
297     public void setCachedModel(boolean cachedModel) {
298         _mbMessage.setCachedModel(cachedModel);
299     }
300 
301     public boolean isEscapedModel() {
302         return _mbMessage.isEscapedModel();
303     }
304 
305     public void setEscapedModel(boolean escapedModel) {
306         _mbMessage.setEscapedModel(escapedModel);
307     }
308 
309     public java.io.Serializable getPrimaryKeyObj() {
310         return _mbMessage.getPrimaryKeyObj();
311     }
312 
313     public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
314         return _mbMessage.getExpandoBridge();
315     }
316 
317     public void setExpandoBridgeAttributes(
318         com.liferay.portal.service.ServiceContext serviceContext) {
319         _mbMessage.setExpandoBridgeAttributes(serviceContext);
320     }
321 
322     public java.lang.Object clone() {
323         return _mbMessage.clone();
324     }
325 
326     public int compareTo(
327         com.liferay.portlet.messageboards.model.MBMessage mbMessage) {
328         return _mbMessage.compareTo(mbMessage);
329     }
330 
331     public int hashCode() {
332         return _mbMessage.hashCode();
333     }
334 
335     public java.lang.String toString() {
336         return _mbMessage.toString();
337     }
338 
339     public java.lang.String toXmlString() {
340         return _mbMessage.toXmlString();
341     }
342 
343     public java.lang.String[] getAssetTagNames()
344         throws com.liferay.portal.kernel.exception.SystemException {
345         return _mbMessage.getAssetTagNames();
346     }
347 
348     public java.lang.String getAttachmentsDir() {
349         return _mbMessage.getAttachmentsDir();
350     }
351 
352     public java.lang.String[] getAttachmentsFiles()
353         throws com.liferay.portal.kernel.exception.PortalException,
354             com.liferay.portal.kernel.exception.SystemException {
355         return _mbMessage.getAttachmentsFiles();
356     }
357 
358     public java.lang.String getBody(boolean translate) {
359         return _mbMessage.getBody(translate);
360     }
361 
362     public com.liferay.portlet.messageboards.model.MBCategory getCategory() {
363         return _mbMessage.getCategory();
364     }
365 
366     public com.liferay.portlet.messageboards.model.MBThread getThread()
367         throws com.liferay.portal.kernel.exception.PortalException,
368             com.liferay.portal.kernel.exception.SystemException {
369         return _mbMessage.getThread();
370     }
371 
372     public java.lang.String getThreadAttachmentsDir() {
373         return _mbMessage.getThreadAttachmentsDir();
374     }
375 
376     public boolean isDiscussion() {
377         return _mbMessage.isDiscussion();
378     }
379 
380     public boolean isReply() {
381         return _mbMessage.isReply();
382     }
383 
384     public boolean isRoot() {
385         return _mbMessage.isRoot();
386     }
387 
388     public void setAttachmentsDir(java.lang.String attachmentsDir) {
389         _mbMessage.setAttachmentsDir(attachmentsDir);
390     }
391 
392     public MBMessage getWrappedMBMessage() {
393         return _mbMessage;
394     }
395 
396     private MBMessage _mbMessage;
397 }