001 /** 002 * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved. 003 * 004 * This library is free software; you can redistribute it and/or modify it under 005 * the terms of the GNU Lesser General Public License as published by the Free 006 * Software Foundation; either version 2.1 of the License, or (at your option) 007 * any later version. 008 * 009 * This library is distributed in the hope that it will be useful, but WITHOUT 010 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 011 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more 012 * details. 013 */ 014 015 package com.liferay.portlet.messageboards.model; 016 017 /** 018 * <p> 019 * This class is a wrapper for {@link MBMailingList}. 020 * </p> 021 * 022 * @author Brian Wing Shun Chan 023 * @see MBMailingList 024 * @generated 025 */ 026 public class MBMailingListWrapper implements MBMailingList { 027 public MBMailingListWrapper(MBMailingList mbMailingList) { 028 _mbMailingList = mbMailingList; 029 } 030 031 public Class<?> getModelClass() { 032 return MBMailingList.class; 033 } 034 035 public String getModelClassName() { 036 return MBMailingList.class.getName(); 037 } 038 039 /** 040 * Returns the primary key of this message boards mailing list. 041 * 042 * @return the primary key of this message boards mailing list 043 */ 044 public long getPrimaryKey() { 045 return _mbMailingList.getPrimaryKey(); 046 } 047 048 /** 049 * Sets the primary key of this message boards mailing list. 050 * 051 * @param primaryKey the primary key of this message boards mailing list 052 */ 053 public void setPrimaryKey(long primaryKey) { 054 _mbMailingList.setPrimaryKey(primaryKey); 055 } 056 057 /** 058 * Returns the uuid of this message boards mailing list. 059 * 060 * @return the uuid of this message boards mailing list 061 */ 062 public java.lang.String getUuid() { 063 return _mbMailingList.getUuid(); 064 } 065 066 /** 067 * Sets the uuid of this message boards mailing list. 068 * 069 * @param uuid the uuid of this message boards mailing list 070 */ 071 public void setUuid(java.lang.String uuid) { 072 _mbMailingList.setUuid(uuid); 073 } 074 075 /** 076 * Returns the mailing list ID of this message boards mailing list. 077 * 078 * @return the mailing list ID of this message boards mailing list 079 */ 080 public long getMailingListId() { 081 return _mbMailingList.getMailingListId(); 082 } 083 084 /** 085 * Sets the mailing list ID of this message boards mailing list. 086 * 087 * @param mailingListId the mailing list ID of this message boards mailing list 088 */ 089 public void setMailingListId(long mailingListId) { 090 _mbMailingList.setMailingListId(mailingListId); 091 } 092 093 /** 094 * Returns the group ID of this message boards mailing list. 095 * 096 * @return the group ID of this message boards mailing list 097 */ 098 public long getGroupId() { 099 return _mbMailingList.getGroupId(); 100 } 101 102 /** 103 * Sets the group ID of this message boards mailing list. 104 * 105 * @param groupId the group ID of this message boards mailing list 106 */ 107 public void setGroupId(long groupId) { 108 _mbMailingList.setGroupId(groupId); 109 } 110 111 /** 112 * Returns the company ID of this message boards mailing list. 113 * 114 * @return the company ID of this message boards mailing list 115 */ 116 public long getCompanyId() { 117 return _mbMailingList.getCompanyId(); 118 } 119 120 /** 121 * Sets the company ID of this message boards mailing list. 122 * 123 * @param companyId the company ID of this message boards mailing list 124 */ 125 public void setCompanyId(long companyId) { 126 _mbMailingList.setCompanyId(companyId); 127 } 128 129 /** 130 * Returns the user ID of this message boards mailing list. 131 * 132 * @return the user ID of this message boards mailing list 133 */ 134 public long getUserId() { 135 return _mbMailingList.getUserId(); 136 } 137 138 /** 139 * Sets the user ID of this message boards mailing list. 140 * 141 * @param userId the user ID of this message boards mailing list 142 */ 143 public void setUserId(long userId) { 144 _mbMailingList.setUserId(userId); 145 } 146 147 /** 148 * Returns the user uuid of this message boards mailing list. 149 * 150 * @return the user uuid of this message boards mailing list 151 * @throws SystemException if a system exception occurred 152 */ 153 public java.lang.String getUserUuid() 154 throws com.liferay.portal.kernel.exception.SystemException { 155 return _mbMailingList.getUserUuid(); 156 } 157 158 /** 159 * Sets the user uuid of this message boards mailing list. 160 * 161 * @param userUuid the user uuid of this message boards mailing list 162 */ 163 public void setUserUuid(java.lang.String userUuid) { 164 _mbMailingList.setUserUuid(userUuid); 165 } 166 167 /** 168 * Returns the user name of this message boards mailing list. 169 * 170 * @return the user name of this message boards mailing list 171 */ 172 public java.lang.String getUserName() { 173 return _mbMailingList.getUserName(); 174 } 175 176 /** 177 * Sets the user name of this message boards mailing list. 178 * 179 * @param userName the user name of this message boards mailing list 180 */ 181 public void setUserName(java.lang.String userName) { 182 _mbMailingList.setUserName(userName); 183 } 184 185 /** 186 * Returns the create date of this message boards mailing list. 187 * 188 * @return the create date of this message boards mailing list 189 */ 190 public java.util.Date getCreateDate() { 191 return _mbMailingList.getCreateDate(); 192 } 193 194 /** 195 * Sets the create date of this message boards mailing list. 196 * 197 * @param createDate the create date of this message boards mailing list 198 */ 199 public void setCreateDate(java.util.Date createDate) { 200 _mbMailingList.setCreateDate(createDate); 201 } 202 203 /** 204 * Returns the modified date of this message boards mailing list. 205 * 206 * @return the modified date of this message boards mailing list 207 */ 208 public java.util.Date getModifiedDate() { 209 return _mbMailingList.getModifiedDate(); 210 } 211 212 /** 213 * Sets the modified date of this message boards mailing list. 214 * 215 * @param modifiedDate the modified date of this message boards mailing list 216 */ 217 public void setModifiedDate(java.util.Date modifiedDate) { 218 _mbMailingList.setModifiedDate(modifiedDate); 219 } 220 221 /** 222 * Returns the category ID of this message boards mailing list. 223 * 224 * @return the category ID of this message boards mailing list 225 */ 226 public long getCategoryId() { 227 return _mbMailingList.getCategoryId(); 228 } 229 230 /** 231 * Sets the category ID of this message boards mailing list. 232 * 233 * @param categoryId the category ID of this message boards mailing list 234 */ 235 public void setCategoryId(long categoryId) { 236 _mbMailingList.setCategoryId(categoryId); 237 } 238 239 /** 240 * Returns the email address of this message boards mailing list. 241 * 242 * @return the email address of this message boards mailing list 243 */ 244 public java.lang.String getEmailAddress() { 245 return _mbMailingList.getEmailAddress(); 246 } 247 248 /** 249 * Sets the email address of this message boards mailing list. 250 * 251 * @param emailAddress the email address of this message boards mailing list 252 */ 253 public void setEmailAddress(java.lang.String emailAddress) { 254 _mbMailingList.setEmailAddress(emailAddress); 255 } 256 257 /** 258 * Returns the in protocol of this message boards mailing list. 259 * 260 * @return the in protocol of this message boards mailing list 261 */ 262 public java.lang.String getInProtocol() { 263 return _mbMailingList.getInProtocol(); 264 } 265 266 /** 267 * Sets the in protocol of this message boards mailing list. 268 * 269 * @param inProtocol the in protocol of this message boards mailing list 270 */ 271 public void setInProtocol(java.lang.String inProtocol) { 272 _mbMailingList.setInProtocol(inProtocol); 273 } 274 275 /** 276 * Returns the in server name of this message boards mailing list. 277 * 278 * @return the in server name of this message boards mailing list 279 */ 280 public java.lang.String getInServerName() { 281 return _mbMailingList.getInServerName(); 282 } 283 284 /** 285 * Sets the in server name of this message boards mailing list. 286 * 287 * @param inServerName the in server name of this message boards mailing list 288 */ 289 public void setInServerName(java.lang.String inServerName) { 290 _mbMailingList.setInServerName(inServerName); 291 } 292 293 /** 294 * Returns the in server port of this message boards mailing list. 295 * 296 * @return the in server port of this message boards mailing list 297 */ 298 public int getInServerPort() { 299 return _mbMailingList.getInServerPort(); 300 } 301 302 /** 303 * Sets the in server port of this message boards mailing list. 304 * 305 * @param inServerPort the in server port of this message boards mailing list 306 */ 307 public void setInServerPort(int inServerPort) { 308 _mbMailingList.setInServerPort(inServerPort); 309 } 310 311 /** 312 * Returns the in use s s l of this message boards mailing list. 313 * 314 * @return the in use s s l of this message boards mailing list 315 */ 316 public boolean getInUseSSL() { 317 return _mbMailingList.getInUseSSL(); 318 } 319 320 /** 321 * Returns <code>true</code> if this message boards mailing list is in use s s l. 322 * 323 * @return <code>true</code> if this message boards mailing list is in use s s l; <code>false</code> otherwise 324 */ 325 public boolean isInUseSSL() { 326 return _mbMailingList.isInUseSSL(); 327 } 328 329 /** 330 * Sets whether this message boards mailing list is in use s s l. 331 * 332 * @param inUseSSL the in use s s l of this message boards mailing list 333 */ 334 public void setInUseSSL(boolean inUseSSL) { 335 _mbMailingList.setInUseSSL(inUseSSL); 336 } 337 338 /** 339 * Returns the in user name of this message boards mailing list. 340 * 341 * @return the in user name of this message boards mailing list 342 */ 343 public java.lang.String getInUserName() { 344 return _mbMailingList.getInUserName(); 345 } 346 347 /** 348 * Sets the in user name of this message boards mailing list. 349 * 350 * @param inUserName the in user name of this message boards mailing list 351 */ 352 public void setInUserName(java.lang.String inUserName) { 353 _mbMailingList.setInUserName(inUserName); 354 } 355 356 /** 357 * Returns the in password of this message boards mailing list. 358 * 359 * @return the in password of this message boards mailing list 360 */ 361 public java.lang.String getInPassword() { 362 return _mbMailingList.getInPassword(); 363 } 364 365 /** 366 * Sets the in password of this message boards mailing list. 367 * 368 * @param inPassword the in password of this message boards mailing list 369 */ 370 public void setInPassword(java.lang.String inPassword) { 371 _mbMailingList.setInPassword(inPassword); 372 } 373 374 /** 375 * Returns the in read interval of this message boards mailing list. 376 * 377 * @return the in read interval of this message boards mailing list 378 */ 379 public int getInReadInterval() { 380 return _mbMailingList.getInReadInterval(); 381 } 382 383 /** 384 * Sets the in read interval of this message boards mailing list. 385 * 386 * @param inReadInterval the in read interval of this message boards mailing list 387 */ 388 public void setInReadInterval(int inReadInterval) { 389 _mbMailingList.setInReadInterval(inReadInterval); 390 } 391 392 /** 393 * Returns the out email address of this message boards mailing list. 394 * 395 * @return the out email address of this message boards mailing list 396 */ 397 public java.lang.String getOutEmailAddress() { 398 return _mbMailingList.getOutEmailAddress(); 399 } 400 401 /** 402 * Sets the out email address of this message boards mailing list. 403 * 404 * @param outEmailAddress the out email address of this message boards mailing list 405 */ 406 public void setOutEmailAddress(java.lang.String outEmailAddress) { 407 _mbMailingList.setOutEmailAddress(outEmailAddress); 408 } 409 410 /** 411 * Returns the out custom of this message boards mailing list. 412 * 413 * @return the out custom of this message boards mailing list 414 */ 415 public boolean getOutCustom() { 416 return _mbMailingList.getOutCustom(); 417 } 418 419 /** 420 * Returns <code>true</code> if this message boards mailing list is out custom. 421 * 422 * @return <code>true</code> if this message boards mailing list is out custom; <code>false</code> otherwise 423 */ 424 public boolean isOutCustom() { 425 return _mbMailingList.isOutCustom(); 426 } 427 428 /** 429 * Sets whether this message boards mailing list is out custom. 430 * 431 * @param outCustom the out custom of this message boards mailing list 432 */ 433 public void setOutCustom(boolean outCustom) { 434 _mbMailingList.setOutCustom(outCustom); 435 } 436 437 /** 438 * Returns the out server name of this message boards mailing list. 439 * 440 * @return the out server name of this message boards mailing list 441 */ 442 public java.lang.String getOutServerName() { 443 return _mbMailingList.getOutServerName(); 444 } 445 446 /** 447 * Sets the out server name of this message boards mailing list. 448 * 449 * @param outServerName the out server name of this message boards mailing list 450 */ 451 public void setOutServerName(java.lang.String outServerName) { 452 _mbMailingList.setOutServerName(outServerName); 453 } 454 455 /** 456 * Returns the out server port of this message boards mailing list. 457 * 458 * @return the out server port of this message boards mailing list 459 */ 460 public int getOutServerPort() { 461 return _mbMailingList.getOutServerPort(); 462 } 463 464 /** 465 * Sets the out server port of this message boards mailing list. 466 * 467 * @param outServerPort the out server port of this message boards mailing list 468 */ 469 public void setOutServerPort(int outServerPort) { 470 _mbMailingList.setOutServerPort(outServerPort); 471 } 472 473 /** 474 * Returns the out use s s l of this message boards mailing list. 475 * 476 * @return the out use s s l of this message boards mailing list 477 */ 478 public boolean getOutUseSSL() { 479 return _mbMailingList.getOutUseSSL(); 480 } 481 482 /** 483 * Returns <code>true</code> if this message boards mailing list is out use s s l. 484 * 485 * @return <code>true</code> if this message boards mailing list is out use s s l; <code>false</code> otherwise 486 */ 487 public boolean isOutUseSSL() { 488 return _mbMailingList.isOutUseSSL(); 489 } 490 491 /** 492 * Sets whether this message boards mailing list is out use s s l. 493 * 494 * @param outUseSSL the out use s s l of this message boards mailing list 495 */ 496 public void setOutUseSSL(boolean outUseSSL) { 497 _mbMailingList.setOutUseSSL(outUseSSL); 498 } 499 500 /** 501 * Returns the out user name of this message boards mailing list. 502 * 503 * @return the out user name of this message boards mailing list 504 */ 505 public java.lang.String getOutUserName() { 506 return _mbMailingList.getOutUserName(); 507 } 508 509 /** 510 * Sets the out user name of this message boards mailing list. 511 * 512 * @param outUserName the out user name of this message boards mailing list 513 */ 514 public void setOutUserName(java.lang.String outUserName) { 515 _mbMailingList.setOutUserName(outUserName); 516 } 517 518 /** 519 * Returns the out password of this message boards mailing list. 520 * 521 * @return the out password of this message boards mailing list 522 */ 523 public java.lang.String getOutPassword() { 524 return _mbMailingList.getOutPassword(); 525 } 526 527 /** 528 * Sets the out password of this message boards mailing list. 529 * 530 * @param outPassword the out password of this message boards mailing list 531 */ 532 public void setOutPassword(java.lang.String outPassword) { 533 _mbMailingList.setOutPassword(outPassword); 534 } 535 536 /** 537 * Returns the allow anonymous of this message boards mailing list. 538 * 539 * @return the allow anonymous of this message boards mailing list 540 */ 541 public boolean getAllowAnonymous() { 542 return _mbMailingList.getAllowAnonymous(); 543 } 544 545 /** 546 * Returns <code>true</code> if this message boards mailing list is allow anonymous. 547 * 548 * @return <code>true</code> if this message boards mailing list is allow anonymous; <code>false</code> otherwise 549 */ 550 public boolean isAllowAnonymous() { 551 return _mbMailingList.isAllowAnonymous(); 552 } 553 554 /** 555 * Sets whether this message boards mailing list is allow anonymous. 556 * 557 * @param allowAnonymous the allow anonymous of this message boards mailing list 558 */ 559 public void setAllowAnonymous(boolean allowAnonymous) { 560 _mbMailingList.setAllowAnonymous(allowAnonymous); 561 } 562 563 /** 564 * Returns the active of this message boards mailing list. 565 * 566 * @return the active of this message boards mailing list 567 */ 568 public boolean getActive() { 569 return _mbMailingList.getActive(); 570 } 571 572 /** 573 * Returns <code>true</code> if this message boards mailing list is active. 574 * 575 * @return <code>true</code> if this message boards mailing list is active; <code>false</code> otherwise 576 */ 577 public boolean isActive() { 578 return _mbMailingList.isActive(); 579 } 580 581 /** 582 * Sets whether this message boards mailing list is active. 583 * 584 * @param active the active of this message boards mailing list 585 */ 586 public void setActive(boolean active) { 587 _mbMailingList.setActive(active); 588 } 589 590 public boolean isNew() { 591 return _mbMailingList.isNew(); 592 } 593 594 public void setNew(boolean n) { 595 _mbMailingList.setNew(n); 596 } 597 598 public boolean isCachedModel() { 599 return _mbMailingList.isCachedModel(); 600 } 601 602 public void setCachedModel(boolean cachedModel) { 603 _mbMailingList.setCachedModel(cachedModel); 604 } 605 606 public boolean isEscapedModel() { 607 return _mbMailingList.isEscapedModel(); 608 } 609 610 public java.io.Serializable getPrimaryKeyObj() { 611 return _mbMailingList.getPrimaryKeyObj(); 612 } 613 614 public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) { 615 _mbMailingList.setPrimaryKeyObj(primaryKeyObj); 616 } 617 618 public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() { 619 return _mbMailingList.getExpandoBridge(); 620 } 621 622 public void setExpandoBridgeAttributes( 623 com.liferay.portal.service.ServiceContext serviceContext) { 624 _mbMailingList.setExpandoBridgeAttributes(serviceContext); 625 } 626 627 @Override 628 public java.lang.Object clone() { 629 return new MBMailingListWrapper((MBMailingList)_mbMailingList.clone()); 630 } 631 632 public int compareTo( 633 com.liferay.portlet.messageboards.model.MBMailingList mbMailingList) { 634 return _mbMailingList.compareTo(mbMailingList); 635 } 636 637 @Override 638 public int hashCode() { 639 return _mbMailingList.hashCode(); 640 } 641 642 public com.liferay.portal.model.CacheModel<com.liferay.portlet.messageboards.model.MBMailingList> toCacheModel() { 643 return _mbMailingList.toCacheModel(); 644 } 645 646 public com.liferay.portlet.messageboards.model.MBMailingList toEscapedModel() { 647 return new MBMailingListWrapper(_mbMailingList.toEscapedModel()); 648 } 649 650 @Override 651 public java.lang.String toString() { 652 return _mbMailingList.toString(); 653 } 654 655 public java.lang.String toXmlString() { 656 return _mbMailingList.toXmlString(); 657 } 658 659 public void persist() 660 throws com.liferay.portal.kernel.exception.SystemException { 661 _mbMailingList.persist(); 662 } 663 664 public MBMailingList getWrappedMBMailingList() { 665 return _mbMailingList; 666 } 667 668 public void resetOriginalValues() { 669 _mbMailingList.resetOriginalValues(); 670 } 671 672 private MBMailingList _mbMailingList; 673 }