1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * The contents of this file are subject to the terms of the Liferay Enterprise
5    * Subscription License ("License"). You may not use this file except in
6    * compliance with the License. You can obtain a copy of the License by
7    * contacting Liferay, Inc. See the License for the specific language governing
8    * permissions and limitations under the License, including but not limited to
9    * distribution rights of the Software.
10   *
11   *
12   *
13   */
14  
15  package com.liferay.portlet.messageboards.model;
16  
17  /**
18   * <a href="MBMessageSoap.java.html"><b><i>View Source</i></b></a>
19   *
20   * <p>
21   * ServiceBuilder generated this class. Modifications in this class will be
22   * overwritten the next time is generated.
23   * </p>
24   *
25   * <p>
26   * This class is a wrapper for {@link MBMessage}.
27   * </p>
28   *
29   * @author    Brian Wing Shun Chan
30   * @see       MBMessage
31   * @generated
32   */
33  public class MBMessageWrapper implements MBMessage {
34      public MBMessageWrapper(MBMessage mbMessage) {
35          _mbMessage = mbMessage;
36      }
37  
38      public long getPrimaryKey() {
39          return _mbMessage.getPrimaryKey();
40      }
41  
42      public void setPrimaryKey(long pk) {
43          _mbMessage.setPrimaryKey(pk);
44      }
45  
46      public java.lang.String getUuid() {
47          return _mbMessage.getUuid();
48      }
49  
50      public void setUuid(java.lang.String uuid) {
51          _mbMessage.setUuid(uuid);
52      }
53  
54      public long getMessageId() {
55          return _mbMessage.getMessageId();
56      }
57  
58      public void setMessageId(long messageId) {
59          _mbMessage.setMessageId(messageId);
60      }
61  
62      public long getGroupId() {
63          return _mbMessage.getGroupId();
64      }
65  
66      public void setGroupId(long groupId) {
67          _mbMessage.setGroupId(groupId);
68      }
69  
70      public long getCompanyId() {
71          return _mbMessage.getCompanyId();
72      }
73  
74      public void setCompanyId(long companyId) {
75          _mbMessage.setCompanyId(companyId);
76      }
77  
78      public long getUserId() {
79          return _mbMessage.getUserId();
80      }
81  
82      public void setUserId(long userId) {
83          _mbMessage.setUserId(userId);
84      }
85  
86      public java.lang.String getUserUuid()
87          throws com.liferay.portal.SystemException {
88          return _mbMessage.getUserUuid();
89      }
90  
91      public void setUserUuid(java.lang.String userUuid) {
92          _mbMessage.setUserUuid(userUuid);
93      }
94  
95      public java.lang.String getUserName() {
96          return _mbMessage.getUserName();
97      }
98  
99      public void setUserName(java.lang.String userName) {
100         _mbMessage.setUserName(userName);
101     }
102 
103     public java.util.Date getCreateDate() {
104         return _mbMessage.getCreateDate();
105     }
106 
107     public void setCreateDate(java.util.Date createDate) {
108         _mbMessage.setCreateDate(createDate);
109     }
110 
111     public java.util.Date getModifiedDate() {
112         return _mbMessage.getModifiedDate();
113     }
114 
115     public void setModifiedDate(java.util.Date modifiedDate) {
116         _mbMessage.setModifiedDate(modifiedDate);
117     }
118 
119     public java.lang.String getClassName() {
120         return _mbMessage.getClassName();
121     }
122 
123     public long getClassNameId() {
124         return _mbMessage.getClassNameId();
125     }
126 
127     public void setClassNameId(long classNameId) {
128         _mbMessage.setClassNameId(classNameId);
129     }
130 
131     public long getClassPK() {
132         return _mbMessage.getClassPK();
133     }
134 
135     public void setClassPK(long classPK) {
136         _mbMessage.setClassPK(classPK);
137     }
138 
139     public long getCategoryId() {
140         return _mbMessage.getCategoryId();
141     }
142 
143     public void setCategoryId(long categoryId) {
144         _mbMessage.setCategoryId(categoryId);
145     }
146 
147     public long getThreadId() {
148         return _mbMessage.getThreadId();
149     }
150 
151     public void setThreadId(long threadId) {
152         _mbMessage.setThreadId(threadId);
153     }
154 
155     public long getParentMessageId() {
156         return _mbMessage.getParentMessageId();
157     }
158 
159     public void setParentMessageId(long parentMessageId) {
160         _mbMessage.setParentMessageId(parentMessageId);
161     }
162 
163     public java.lang.String getSubject() {
164         return _mbMessage.getSubject();
165     }
166 
167     public void setSubject(java.lang.String subject) {
168         _mbMessage.setSubject(subject);
169     }
170 
171     public java.lang.String getBody() {
172         return _mbMessage.getBody();
173     }
174 
175     public void setBody(java.lang.String body) {
176         _mbMessage.setBody(body);
177     }
178 
179     public boolean getAttachments() {
180         return _mbMessage.getAttachments();
181     }
182 
183     public boolean isAttachments() {
184         return _mbMessage.isAttachments();
185     }
186 
187     public void setAttachments(boolean attachments) {
188         _mbMessage.setAttachments(attachments);
189     }
190 
191     public boolean getAnonymous() {
192         return _mbMessage.getAnonymous();
193     }
194 
195     public boolean isAnonymous() {
196         return _mbMessage.isAnonymous();
197     }
198 
199     public void setAnonymous(boolean anonymous) {
200         _mbMessage.setAnonymous(anonymous);
201     }
202 
203     public double getPriority() {
204         return _mbMessage.getPriority();
205     }
206 
207     public void setPriority(double priority) {
208         _mbMessage.setPriority(priority);
209     }
210 
211     public boolean isNew() {
212         return _mbMessage.isNew();
213     }
214 
215     public boolean setNew(boolean n) {
216         return _mbMessage.setNew(n);
217     }
218 
219     public boolean isCachedModel() {
220         return _mbMessage.isCachedModel();
221     }
222 
223     public void setCachedModel(boolean cachedModel) {
224         _mbMessage.setCachedModel(cachedModel);
225     }
226 
227     public boolean isEscapedModel() {
228         return _mbMessage.isEscapedModel();
229     }
230 
231     public void setEscapedModel(boolean escapedModel) {
232         _mbMessage.setEscapedModel(escapedModel);
233     }
234 
235     public java.io.Serializable getPrimaryKeyObj() {
236         return _mbMessage.getPrimaryKeyObj();
237     }
238 
239     public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
240         return _mbMessage.getExpandoBridge();
241     }
242 
243     public void setExpandoBridgeAttributes(
244         com.liferay.portal.service.ServiceContext serviceContext) {
245         _mbMessage.setExpandoBridgeAttributes(serviceContext);
246     }
247 
248     public java.lang.Object clone() {
249         return _mbMessage.clone();
250     }
251 
252     public int compareTo(
253         com.liferay.portlet.messageboards.model.MBMessage mbMessage) {
254         return _mbMessage.compareTo(mbMessage);
255     }
256 
257     public int hashCode() {
258         return _mbMessage.hashCode();
259     }
260 
261     public com.liferay.portlet.messageboards.model.MBMessage toEscapedModel() {
262         return _mbMessage.toEscapedModel();
263     }
264 
265     public java.lang.String toString() {
266         return _mbMessage.toString();
267     }
268 
269     public java.lang.String toXmlString() {
270         return _mbMessage.toXmlString();
271     }
272 
273     public java.lang.String getAttachmentsDir() {
274         return _mbMessage.getAttachmentsDir();
275     }
276 
277     public java.lang.String[] getAttachmentsFiles()
278         throws com.liferay.portal.PortalException,
279             com.liferay.portal.SystemException {
280         return _mbMessage.getAttachmentsFiles();
281     }
282 
283     public java.lang.String getBody(boolean translate) {
284         return _mbMessage.getBody(translate);
285     }
286 
287     public com.liferay.portlet.messageboards.model.MBCategory getCategory() {
288         return _mbMessage.getCategory();
289     }
290 
291     public java.lang.String[] getTagsEntries()
292         throws com.liferay.portal.SystemException {
293         return _mbMessage.getTagsEntries();
294     }
295 
296     public com.liferay.portlet.messageboards.model.MBThread getThread()
297         throws com.liferay.portal.PortalException,
298             com.liferay.portal.SystemException {
299         return _mbMessage.getThread();
300     }
301 
302     public java.lang.String getThreadAttachmentsDir() {
303         return _mbMessage.getThreadAttachmentsDir();
304     }
305 
306     public boolean isDiscussion() {
307         return _mbMessage.isDiscussion();
308     }
309 
310     public boolean isReply() {
311         return _mbMessage.isReply();
312     }
313 
314     public boolean isRoot() {
315         return _mbMessage.isRoot();
316     }
317 
318     public void setAttachmentsDir(java.lang.String attachmentsDir) {
319         _mbMessage.setAttachmentsDir(attachmentsDir);
320     }
321 
322     public MBMessage getWrappedMBMessage() {
323         return _mbMessage;
324     }
325 
326     private MBMessage _mbMessage;
327 }