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.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 com.liferay.portlet.messageboards.model.MBMessage toEscapedModel() {
213         return _mbMessage.toEscapedModel();
214     }
215 
216     public boolean isNew() {
217         return _mbMessage.isNew();
218     }
219 
220     public boolean setNew(boolean n) {
221         return _mbMessage.setNew(n);
222     }
223 
224     public boolean isCachedModel() {
225         return _mbMessage.isCachedModel();
226     }
227 
228     public void setCachedModel(boolean cachedModel) {
229         _mbMessage.setCachedModel(cachedModel);
230     }
231 
232     public boolean isEscapedModel() {
233         return _mbMessage.isEscapedModel();
234     }
235 
236     public void setEscapedModel(boolean escapedModel) {
237         _mbMessage.setEscapedModel(escapedModel);
238     }
239 
240     public java.io.Serializable getPrimaryKeyObj() {
241         return _mbMessage.getPrimaryKeyObj();
242     }
243 
244     public java.lang.Object clone() {
245         return _mbMessage.clone();
246     }
247 
248     public int compareTo(
249         com.liferay.portlet.messageboards.model.MBMessage mbMessage) {
250         return _mbMessage.compareTo(mbMessage);
251     }
252 
253     public int hashCode() {
254         return _mbMessage.hashCode();
255     }
256 
257     public java.lang.String toString() {
258         return _mbMessage.toString();
259     }
260 
261     public java.lang.String toXmlString() {
262         return _mbMessage.toXmlString();
263     }
264 
265     public java.lang.String getAttachmentsDir() {
266         return _mbMessage.getAttachmentsDir();
267     }
268 
269     public java.lang.String[] getAttachmentsFiles()
270         throws com.liferay.portal.PortalException,
271             com.liferay.portal.SystemException {
272         return _mbMessage.getAttachmentsFiles();
273     }
274 
275     public java.lang.String getBody(boolean translate) {
276         return _mbMessage.getBody(translate);
277     }
278 
279     public com.liferay.portlet.messageboards.model.MBCategory getCategory() {
280         return _mbMessage.getCategory();
281     }
282 
283     public java.lang.String[] getTagsEntries()
284         throws com.liferay.portal.SystemException {
285         return _mbMessage.getTagsEntries();
286     }
287 
288     public com.liferay.portlet.messageboards.model.MBThread getThread()
289         throws com.liferay.portal.PortalException,
290             com.liferay.portal.SystemException {
291         return _mbMessage.getThread();
292     }
293 
294     public java.lang.String getThreadAttachmentsDir() {
295         return _mbMessage.getThreadAttachmentsDir();
296     }
297 
298     public boolean isDiscussion() {
299         return _mbMessage.isDiscussion();
300     }
301 
302     public boolean isReply() {
303         return _mbMessage.isReply();
304     }
305 
306     public boolean isRoot() {
307         return _mbMessage.isRoot();
308     }
309 
310     public void setAttachmentsDir(java.lang.String attachmentsDir) {
311         _mbMessage.setAttachmentsDir(attachmentsDir);
312     }
313 
314     public MBMessage getWrappedMBMessage() {
315         return _mbMessage;
316     }
317 
318     private MBMessage _mbMessage;
319 }