1   /**
2    * Copyright (c) 2000-2009 Liferay, Inc. All rights reserved.
3    *
4    * Permission is hereby granted, free of charge, to any person obtaining a copy
5    * of this software and associated documentation files (the "Software"), to deal
6    * in the Software without restriction, including without limitation the rights
7    * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8    * copies of the Software, and to permit persons to whom the Software is
9    * furnished to do so, subject to the following conditions:
10   *
11   * The above copyright notice and this permission notice shall be included in
12   * all copies or substantial portions of the Software.
13   *
14   * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15   * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16   * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17   * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18   * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19   * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20   * SOFTWARE.
21   */
22  
23  package com.liferay.portlet.messageboards.model;
24  
25  
26  /**
27   * <a href="MBMessageSoap.java.html"><b><i>View Source</i></b></a>
28   *
29   * <p>
30   * ServiceBuilder generated this class. Modifications in this class will be
31   * overwritten the next time is generated.
32   * </p>
33   *
34   * <p>
35   * This class is a wrapper for {@link MBMessage}.
36   * </p>
37   *
38   * @author    Brian Wing Shun Chan
39   * @see       MBMessage
40   * @generated
41   */
42  public class MBMessageWrapper implements MBMessage {
43      public MBMessageWrapper(MBMessage mbMessage) {
44          _mbMessage = mbMessage;
45      }
46  
47      public long getPrimaryKey() {
48          return _mbMessage.getPrimaryKey();
49      }
50  
51      public void setPrimaryKey(long pk) {
52          _mbMessage.setPrimaryKey(pk);
53      }
54  
55      public java.lang.String getUuid() {
56          return _mbMessage.getUuid();
57      }
58  
59      public void setUuid(java.lang.String uuid) {
60          _mbMessage.setUuid(uuid);
61      }
62  
63      public long getMessageId() {
64          return _mbMessage.getMessageId();
65      }
66  
67      public void setMessageId(long messageId) {
68          _mbMessage.setMessageId(messageId);
69      }
70  
71      public long getGroupId() {
72          return _mbMessage.getGroupId();
73      }
74  
75      public void setGroupId(long groupId) {
76          _mbMessage.setGroupId(groupId);
77      }
78  
79      public long getCompanyId() {
80          return _mbMessage.getCompanyId();
81      }
82  
83      public void setCompanyId(long companyId) {
84          _mbMessage.setCompanyId(companyId);
85      }
86  
87      public long getUserId() {
88          return _mbMessage.getUserId();
89      }
90  
91      public void setUserId(long userId) {
92          _mbMessage.setUserId(userId);
93      }
94  
95      public java.lang.String getUserUuid()
96          throws com.liferay.portal.SystemException {
97          return _mbMessage.getUserUuid();
98      }
99  
100     public void setUserUuid(java.lang.String userUuid) {
101         _mbMessage.setUserUuid(userUuid);
102     }
103 
104     public java.lang.String getUserName() {
105         return _mbMessage.getUserName();
106     }
107 
108     public void setUserName(java.lang.String userName) {
109         _mbMessage.setUserName(userName);
110     }
111 
112     public java.util.Date getCreateDate() {
113         return _mbMessage.getCreateDate();
114     }
115 
116     public void setCreateDate(java.util.Date createDate) {
117         _mbMessage.setCreateDate(createDate);
118     }
119 
120     public java.util.Date getModifiedDate() {
121         return _mbMessage.getModifiedDate();
122     }
123 
124     public void setModifiedDate(java.util.Date modifiedDate) {
125         _mbMessage.setModifiedDate(modifiedDate);
126     }
127 
128     public java.lang.String getClassName() {
129         return _mbMessage.getClassName();
130     }
131 
132     public long getClassNameId() {
133         return _mbMessage.getClassNameId();
134     }
135 
136     public void setClassNameId(long classNameId) {
137         _mbMessage.setClassNameId(classNameId);
138     }
139 
140     public long getClassPK() {
141         return _mbMessage.getClassPK();
142     }
143 
144     public void setClassPK(long classPK) {
145         _mbMessage.setClassPK(classPK);
146     }
147 
148     public long getCategoryId() {
149         return _mbMessage.getCategoryId();
150     }
151 
152     public void setCategoryId(long categoryId) {
153         _mbMessage.setCategoryId(categoryId);
154     }
155 
156     public long getThreadId() {
157         return _mbMessage.getThreadId();
158     }
159 
160     public void setThreadId(long threadId) {
161         _mbMessage.setThreadId(threadId);
162     }
163 
164     public long getParentMessageId() {
165         return _mbMessage.getParentMessageId();
166     }
167 
168     public void setParentMessageId(long parentMessageId) {
169         _mbMessage.setParentMessageId(parentMessageId);
170     }
171 
172     public java.lang.String getSubject() {
173         return _mbMessage.getSubject();
174     }
175 
176     public void setSubject(java.lang.String subject) {
177         _mbMessage.setSubject(subject);
178     }
179 
180     public java.lang.String getBody() {
181         return _mbMessage.getBody();
182     }
183 
184     public void setBody(java.lang.String body) {
185         _mbMessage.setBody(body);
186     }
187 
188     public boolean getAttachments() {
189         return _mbMessage.getAttachments();
190     }
191 
192     public boolean isAttachments() {
193         return _mbMessage.isAttachments();
194     }
195 
196     public void setAttachments(boolean attachments) {
197         _mbMessage.setAttachments(attachments);
198     }
199 
200     public boolean getAnonymous() {
201         return _mbMessage.getAnonymous();
202     }
203 
204     public boolean isAnonymous() {
205         return _mbMessage.isAnonymous();
206     }
207 
208     public void setAnonymous(boolean anonymous) {
209         _mbMessage.setAnonymous(anonymous);
210     }
211 
212     public double getPriority() {
213         return _mbMessage.getPriority();
214     }
215 
216     public void setPriority(double priority) {
217         _mbMessage.setPriority(priority);
218     }
219 
220     public com.liferay.portlet.messageboards.model.MBMessage toEscapedModel() {
221         return _mbMessage.toEscapedModel();
222     }
223 
224     public boolean isNew() {
225         return _mbMessage.isNew();
226     }
227 
228     public boolean setNew(boolean n) {
229         return _mbMessage.setNew(n);
230     }
231 
232     public boolean isCachedModel() {
233         return _mbMessage.isCachedModel();
234     }
235 
236     public void setCachedModel(boolean cachedModel) {
237         _mbMessage.setCachedModel(cachedModel);
238     }
239 
240     public boolean isEscapedModel() {
241         return _mbMessage.isEscapedModel();
242     }
243 
244     public void setEscapedModel(boolean escapedModel) {
245         _mbMessage.setEscapedModel(escapedModel);
246     }
247 
248     public java.io.Serializable getPrimaryKeyObj() {
249         return _mbMessage.getPrimaryKeyObj();
250     }
251 
252     public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
253         return _mbMessage.getExpandoBridge();
254     }
255 
256     public void setExpandoBridgeAttributes(
257         com.liferay.portal.service.ServiceContext serviceContext) {
258         _mbMessage.setExpandoBridgeAttributes(serviceContext);
259     }
260 
261     public java.lang.Object clone() {
262         return _mbMessage.clone();
263     }
264 
265     public int compareTo(
266         com.liferay.portlet.messageboards.model.MBMessage mbMessage) {
267         return _mbMessage.compareTo(mbMessage);
268     }
269 
270     public int hashCode() {
271         return _mbMessage.hashCode();
272     }
273 
274     public java.lang.String toString() {
275         return _mbMessage.toString();
276     }
277 
278     public java.lang.String toXmlString() {
279         return _mbMessage.toXmlString();
280     }
281 
282     public java.lang.String getAttachmentsDir() {
283         return _mbMessage.getAttachmentsDir();
284     }
285 
286     public java.lang.String[] getAttachmentsFiles()
287         throws com.liferay.portal.PortalException,
288             com.liferay.portal.SystemException {
289         return _mbMessage.getAttachmentsFiles();
290     }
291 
292     public java.lang.String getBody(boolean translate) {
293         return _mbMessage.getBody(translate);
294     }
295 
296     public com.liferay.portlet.messageboards.model.MBCategory getCategory() {
297         return _mbMessage.getCategory();
298     }
299 
300     public java.lang.String[] getTagsEntries()
301         throws com.liferay.portal.SystemException {
302         return _mbMessage.getTagsEntries();
303     }
304 
305     public com.liferay.portlet.messageboards.model.MBThread getThread()
306         throws com.liferay.portal.PortalException,
307             com.liferay.portal.SystemException {
308         return _mbMessage.getThread();
309     }
310 
311     public java.lang.String getThreadAttachmentsDir() {
312         return _mbMessage.getThreadAttachmentsDir();
313     }
314 
315     public boolean isDiscussion() {
316         return _mbMessage.isDiscussion();
317     }
318 
319     public boolean isReply() {
320         return _mbMessage.isReply();
321     }
322 
323     public boolean isRoot() {
324         return _mbMessage.isRoot();
325     }
326 
327     public void setAttachmentsDir(java.lang.String attachmentsDir) {
328         _mbMessage.setAttachmentsDir(attachmentsDir);
329     }
330 
331     public MBMessage getWrappedMBMessage() {
332         return _mbMessage;
333     }
334 
335     private MBMessage _mbMessage;
336 }