001
014
015 package com.liferay.portlet.messageboards.model;
016
017
026 public class MBMessageWrapper implements MBMessage {
027 public MBMessageWrapper(MBMessage mbMessage) {
028 _mbMessage = mbMessage;
029 }
030
031 public long getPrimaryKey() {
032 return _mbMessage.getPrimaryKey();
033 }
034
035 public void setPrimaryKey(long pk) {
036 _mbMessage.setPrimaryKey(pk);
037 }
038
039 public java.lang.String getUuid() {
040 return _mbMessage.getUuid();
041 }
042
043 public void setUuid(java.lang.String uuid) {
044 _mbMessage.setUuid(uuid);
045 }
046
047 public long getMessageId() {
048 return _mbMessage.getMessageId();
049 }
050
051 public void setMessageId(long messageId) {
052 _mbMessage.setMessageId(messageId);
053 }
054
055 public long getGroupId() {
056 return _mbMessage.getGroupId();
057 }
058
059 public void setGroupId(long groupId) {
060 _mbMessage.setGroupId(groupId);
061 }
062
063 public long getCompanyId() {
064 return _mbMessage.getCompanyId();
065 }
066
067 public void setCompanyId(long companyId) {
068 _mbMessage.setCompanyId(companyId);
069 }
070
071 public long getUserId() {
072 return _mbMessage.getUserId();
073 }
074
075 public void setUserId(long userId) {
076 _mbMessage.setUserId(userId);
077 }
078
079 public java.lang.String getUserUuid()
080 throws com.liferay.portal.kernel.exception.SystemException {
081 return _mbMessage.getUserUuid();
082 }
083
084 public void setUserUuid(java.lang.String userUuid) {
085 _mbMessage.setUserUuid(userUuid);
086 }
087
088 public java.lang.String getUserName() {
089 return _mbMessage.getUserName();
090 }
091
092 public void setUserName(java.lang.String userName) {
093 _mbMessage.setUserName(userName);
094 }
095
096 public java.util.Date getCreateDate() {
097 return _mbMessage.getCreateDate();
098 }
099
100 public void setCreateDate(java.util.Date createDate) {
101 _mbMessage.setCreateDate(createDate);
102 }
103
104 public java.util.Date getModifiedDate() {
105 return _mbMessage.getModifiedDate();
106 }
107
108 public void setModifiedDate(java.util.Date modifiedDate) {
109 _mbMessage.setModifiedDate(modifiedDate);
110 }
111
112 public java.lang.String getClassName() {
113 return _mbMessage.getClassName();
114 }
115
116 public long getClassNameId() {
117 return _mbMessage.getClassNameId();
118 }
119
120 public void setClassNameId(long classNameId) {
121 _mbMessage.setClassNameId(classNameId);
122 }
123
124 public long getClassPK() {
125 return _mbMessage.getClassPK();
126 }
127
128 public void setClassPK(long classPK) {
129 _mbMessage.setClassPK(classPK);
130 }
131
132 public long getCategoryId() {
133 return _mbMessage.getCategoryId();
134 }
135
136 public void setCategoryId(long categoryId) {
137 _mbMessage.setCategoryId(categoryId);
138 }
139
140 public long getThreadId() {
141 return _mbMessage.getThreadId();
142 }
143
144 public void setThreadId(long threadId) {
145 _mbMessage.setThreadId(threadId);
146 }
147
148 public long getRootMessageId() {
149 return _mbMessage.getRootMessageId();
150 }
151
152 public void setRootMessageId(long rootMessageId) {
153 _mbMessage.setRootMessageId(rootMessageId);
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 void setNew(boolean n) {
290 _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 java.lang.String getWorkflowClassName() {
377 return _mbMessage.getWorkflowClassName();
378 }
379
380 public boolean isDiscussion() {
381 return _mbMessage.isDiscussion();
382 }
383
384 public boolean isReply() {
385 return _mbMessage.isReply();
386 }
387
388 public boolean isRoot() {
389 return _mbMessage.isRoot();
390 }
391
392 public void setAttachmentsDir(java.lang.String attachmentsDir) {
393 _mbMessage.setAttachmentsDir(attachmentsDir);
394 }
395
396 public MBMessage getWrappedMBMessage() {
397 return _mbMessage;
398 }
399
400 private MBMessage _mbMessage;
401 }