001
014
015 package com.liferay.portlet.messageboards.model;
016
017
026 public class MBThreadWrapper implements MBThread {
027 public MBThreadWrapper(MBThread mbThread) {
028 _mbThread = mbThread;
029 }
030
031 public Class<?> getModelClass() {
032 return MBThread.class;
033 }
034
035 public String getModelClassName() {
036 return MBThread.class.getName();
037 }
038
039
044 public long getPrimaryKey() {
045 return _mbThread.getPrimaryKey();
046 }
047
048
053 public void setPrimaryKey(long primaryKey) {
054 _mbThread.setPrimaryKey(primaryKey);
055 }
056
057
062 public long getThreadId() {
063 return _mbThread.getThreadId();
064 }
065
066
071 public void setThreadId(long threadId) {
072 _mbThread.setThreadId(threadId);
073 }
074
075
080 public long getGroupId() {
081 return _mbThread.getGroupId();
082 }
083
084
089 public void setGroupId(long groupId) {
090 _mbThread.setGroupId(groupId);
091 }
092
093
098 public long getCompanyId() {
099 return _mbThread.getCompanyId();
100 }
101
102
107 public void setCompanyId(long companyId) {
108 _mbThread.setCompanyId(companyId);
109 }
110
111
116 public long getCategoryId() {
117 return _mbThread.getCategoryId();
118 }
119
120
125 public void setCategoryId(long categoryId) {
126 _mbThread.setCategoryId(categoryId);
127 }
128
129
134 public long getRootMessageId() {
135 return _mbThread.getRootMessageId();
136 }
137
138
143 public void setRootMessageId(long rootMessageId) {
144 _mbThread.setRootMessageId(rootMessageId);
145 }
146
147
152 public long getRootMessageUserId() {
153 return _mbThread.getRootMessageUserId();
154 }
155
156
161 public void setRootMessageUserId(long rootMessageUserId) {
162 _mbThread.setRootMessageUserId(rootMessageUserId);
163 }
164
165
171 public java.lang.String getRootMessageUserUuid()
172 throws com.liferay.portal.kernel.exception.SystemException {
173 return _mbThread.getRootMessageUserUuid();
174 }
175
176
181 public void setRootMessageUserUuid(java.lang.String rootMessageUserUuid) {
182 _mbThread.setRootMessageUserUuid(rootMessageUserUuid);
183 }
184
185
190 public int getMessageCount() {
191 return _mbThread.getMessageCount();
192 }
193
194
199 public void setMessageCount(int messageCount) {
200 _mbThread.setMessageCount(messageCount);
201 }
202
203
208 public int getViewCount() {
209 return _mbThread.getViewCount();
210 }
211
212
217 public void setViewCount(int viewCount) {
218 _mbThread.setViewCount(viewCount);
219 }
220
221
226 public long getLastPostByUserId() {
227 return _mbThread.getLastPostByUserId();
228 }
229
230
235 public void setLastPostByUserId(long lastPostByUserId) {
236 _mbThread.setLastPostByUserId(lastPostByUserId);
237 }
238
239
245 public java.lang.String getLastPostByUserUuid()
246 throws com.liferay.portal.kernel.exception.SystemException {
247 return _mbThread.getLastPostByUserUuid();
248 }
249
250
255 public void setLastPostByUserUuid(java.lang.String lastPostByUserUuid) {
256 _mbThread.setLastPostByUserUuid(lastPostByUserUuid);
257 }
258
259
264 public java.util.Date getLastPostDate() {
265 return _mbThread.getLastPostDate();
266 }
267
268
273 public void setLastPostDate(java.util.Date lastPostDate) {
274 _mbThread.setLastPostDate(lastPostDate);
275 }
276
277
282 public double getPriority() {
283 return _mbThread.getPriority();
284 }
285
286
291 public void setPriority(double priority) {
292 _mbThread.setPriority(priority);
293 }
294
295
300 public int getStatus() {
301 return _mbThread.getStatus();
302 }
303
304
309 public void setStatus(int status) {
310 _mbThread.setStatus(status);
311 }
312
313
318 public long getStatusByUserId() {
319 return _mbThread.getStatusByUserId();
320 }
321
322
327 public void setStatusByUserId(long statusByUserId) {
328 _mbThread.setStatusByUserId(statusByUserId);
329 }
330
331
337 public java.lang.String getStatusByUserUuid()
338 throws com.liferay.portal.kernel.exception.SystemException {
339 return _mbThread.getStatusByUserUuid();
340 }
341
342
347 public void setStatusByUserUuid(java.lang.String statusByUserUuid) {
348 _mbThread.setStatusByUserUuid(statusByUserUuid);
349 }
350
351
356 public java.lang.String getStatusByUserName() {
357 return _mbThread.getStatusByUserName();
358 }
359
360
365 public void setStatusByUserName(java.lang.String statusByUserName) {
366 _mbThread.setStatusByUserName(statusByUserName);
367 }
368
369
374 public java.util.Date getStatusDate() {
375 return _mbThread.getStatusDate();
376 }
377
378
383 public void setStatusDate(java.util.Date statusDate) {
384 _mbThread.setStatusDate(statusDate);
385 }
386
387
390 public boolean getApproved() {
391 return _mbThread.getApproved();
392 }
393
394
399 public boolean isApproved() {
400 return _mbThread.isApproved();
401 }
402
403
408 public boolean isDraft() {
409 return _mbThread.isDraft();
410 }
411
412
417 public boolean isExpired() {
418 return _mbThread.isExpired();
419 }
420
421
426 public boolean isPending() {
427 return _mbThread.isPending();
428 }
429
430 public boolean isNew() {
431 return _mbThread.isNew();
432 }
433
434 public void setNew(boolean n) {
435 _mbThread.setNew(n);
436 }
437
438 public boolean isCachedModel() {
439 return _mbThread.isCachedModel();
440 }
441
442 public void setCachedModel(boolean cachedModel) {
443 _mbThread.setCachedModel(cachedModel);
444 }
445
446 public boolean isEscapedModel() {
447 return _mbThread.isEscapedModel();
448 }
449
450 public void setEscapedModel(boolean escapedModel) {
451 _mbThread.setEscapedModel(escapedModel);
452 }
453
454 public java.io.Serializable getPrimaryKeyObj() {
455 return _mbThread.getPrimaryKeyObj();
456 }
457
458 public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
459 _mbThread.setPrimaryKeyObj(primaryKeyObj);
460 }
461
462 public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
463 return _mbThread.getExpandoBridge();
464 }
465
466 public void setExpandoBridgeAttributes(
467 com.liferay.portal.service.ServiceContext serviceContext) {
468 _mbThread.setExpandoBridgeAttributes(serviceContext);
469 }
470
471 @Override
472 public java.lang.Object clone() {
473 return new MBThreadWrapper((MBThread)_mbThread.clone());
474 }
475
476 public int compareTo(
477 com.liferay.portlet.messageboards.model.MBThread mbThread) {
478 return _mbThread.compareTo(mbThread);
479 }
480
481 @Override
482 public int hashCode() {
483 return _mbThread.hashCode();
484 }
485
486 public com.liferay.portal.model.CacheModel<com.liferay.portlet.messageboards.model.MBThread> toCacheModel() {
487 return _mbThread.toCacheModel();
488 }
489
490 public com.liferay.portlet.messageboards.model.MBThread toEscapedModel() {
491 return new MBThreadWrapper(_mbThread.toEscapedModel());
492 }
493
494 @Override
495 public java.lang.String toString() {
496 return _mbThread.toString();
497 }
498
499 public java.lang.String toXmlString() {
500 return _mbThread.toXmlString();
501 }
502
503 public void persist()
504 throws com.liferay.portal.kernel.exception.SystemException {
505 _mbThread.persist();
506 }
507
508 public java.lang.String getAttachmentsDir() {
509 return _mbThread.getAttachmentsDir();
510 }
511
512 public com.liferay.portal.model.Lock getLock() {
513 return _mbThread.getLock();
514 }
515
516 public boolean hasLock(long userId) {
517 return _mbThread.hasLock(userId);
518 }
519
520 public boolean isLocked() {
521 return _mbThread.isLocked();
522 }
523
524 public MBThread getWrappedMBThread() {
525 return _mbThread;
526 }
527
528 public void resetOriginalValues() {
529 _mbThread.resetOriginalValues();
530 }
531
532 private MBThread _mbThread;
533 }