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.journal.model; 016 017 /** 018 * <p> 019 * This class is a wrapper for {@link JournalArticle}. 020 * </p> 021 * 022 * @author Brian Wing Shun Chan 023 * @see JournalArticle 024 * @generated 025 */ 026 public class JournalArticleWrapper implements JournalArticle { 027 public JournalArticleWrapper(JournalArticle journalArticle) { 028 _journalArticle = journalArticle; 029 } 030 031 public Class<?> getModelClass() { 032 return JournalArticle.class; 033 } 034 035 public String getModelClassName() { 036 return JournalArticle.class.getName(); 037 } 038 039 /** 040 * Returns the primary key of this journal article. 041 * 042 * @return the primary key of this journal article 043 */ 044 public long getPrimaryKey() { 045 return _journalArticle.getPrimaryKey(); 046 } 047 048 /** 049 * Sets the primary key of this journal article. 050 * 051 * @param primaryKey the primary key of this journal article 052 */ 053 public void setPrimaryKey(long primaryKey) { 054 _journalArticle.setPrimaryKey(primaryKey); 055 } 056 057 /** 058 * Returns the uuid of this journal article. 059 * 060 * @return the uuid of this journal article 061 */ 062 public java.lang.String getUuid() { 063 return _journalArticle.getUuid(); 064 } 065 066 /** 067 * Sets the uuid of this journal article. 068 * 069 * @param uuid the uuid of this journal article 070 */ 071 public void setUuid(java.lang.String uuid) { 072 _journalArticle.setUuid(uuid); 073 } 074 075 /** 076 * Returns the ID of this journal article. 077 * 078 * @return the ID of this journal article 079 */ 080 public long getId() { 081 return _journalArticle.getId(); 082 } 083 084 /** 085 * Sets the ID of this journal article. 086 * 087 * @param id the ID of this journal article 088 */ 089 public void setId(long id) { 090 _journalArticle.setId(id); 091 } 092 093 /** 094 * Returns the resource prim key of this journal article. 095 * 096 * @return the resource prim key of this journal article 097 */ 098 public long getResourcePrimKey() { 099 return _journalArticle.getResourcePrimKey(); 100 } 101 102 /** 103 * Sets the resource prim key of this journal article. 104 * 105 * @param resourcePrimKey the resource prim key of this journal article 106 */ 107 public void setResourcePrimKey(long resourcePrimKey) { 108 _journalArticle.setResourcePrimKey(resourcePrimKey); 109 } 110 111 public boolean isResourceMain() { 112 return _journalArticle.isResourceMain(); 113 } 114 115 /** 116 * Returns the group ID of this journal article. 117 * 118 * @return the group ID of this journal article 119 */ 120 public long getGroupId() { 121 return _journalArticle.getGroupId(); 122 } 123 124 /** 125 * Sets the group ID of this journal article. 126 * 127 * @param groupId the group ID of this journal article 128 */ 129 public void setGroupId(long groupId) { 130 _journalArticle.setGroupId(groupId); 131 } 132 133 /** 134 * Returns the company ID of this journal article. 135 * 136 * @return the company ID of this journal article 137 */ 138 public long getCompanyId() { 139 return _journalArticle.getCompanyId(); 140 } 141 142 /** 143 * Sets the company ID of this journal article. 144 * 145 * @param companyId the company ID of this journal article 146 */ 147 public void setCompanyId(long companyId) { 148 _journalArticle.setCompanyId(companyId); 149 } 150 151 /** 152 * Returns the user ID of this journal article. 153 * 154 * @return the user ID of this journal article 155 */ 156 public long getUserId() { 157 return _journalArticle.getUserId(); 158 } 159 160 /** 161 * Sets the user ID of this journal article. 162 * 163 * @param userId the user ID of this journal article 164 */ 165 public void setUserId(long userId) { 166 _journalArticle.setUserId(userId); 167 } 168 169 /** 170 * Returns the user uuid of this journal article. 171 * 172 * @return the user uuid of this journal article 173 * @throws SystemException if a system exception occurred 174 */ 175 public java.lang.String getUserUuid() 176 throws com.liferay.portal.kernel.exception.SystemException { 177 return _journalArticle.getUserUuid(); 178 } 179 180 /** 181 * Sets the user uuid of this journal article. 182 * 183 * @param userUuid the user uuid of this journal article 184 */ 185 public void setUserUuid(java.lang.String userUuid) { 186 _journalArticle.setUserUuid(userUuid); 187 } 188 189 /** 190 * Returns the user name of this journal article. 191 * 192 * @return the user name of this journal article 193 */ 194 public java.lang.String getUserName() { 195 return _journalArticle.getUserName(); 196 } 197 198 /** 199 * Sets the user name of this journal article. 200 * 201 * @param userName the user name of this journal article 202 */ 203 public void setUserName(java.lang.String userName) { 204 _journalArticle.setUserName(userName); 205 } 206 207 /** 208 * Returns the create date of this journal article. 209 * 210 * @return the create date of this journal article 211 */ 212 public java.util.Date getCreateDate() { 213 return _journalArticle.getCreateDate(); 214 } 215 216 /** 217 * Sets the create date of this journal article. 218 * 219 * @param createDate the create date of this journal article 220 */ 221 public void setCreateDate(java.util.Date createDate) { 222 _journalArticle.setCreateDate(createDate); 223 } 224 225 /** 226 * Returns the modified date of this journal article. 227 * 228 * @return the modified date of this journal article 229 */ 230 public java.util.Date getModifiedDate() { 231 return _journalArticle.getModifiedDate(); 232 } 233 234 /** 235 * Sets the modified date of this journal article. 236 * 237 * @param modifiedDate the modified date of this journal article 238 */ 239 public void setModifiedDate(java.util.Date modifiedDate) { 240 _journalArticle.setModifiedDate(modifiedDate); 241 } 242 243 /** 244 * Returns the fully qualified class name of this journal article. 245 * 246 * @return the fully qualified class name of this journal article 247 */ 248 public java.lang.String getClassName() { 249 return _journalArticle.getClassName(); 250 } 251 252 /** 253 * Returns the class name ID of this journal article. 254 * 255 * @return the class name ID of this journal article 256 */ 257 public long getClassNameId() { 258 return _journalArticle.getClassNameId(); 259 } 260 261 /** 262 * Sets the class name ID of this journal article. 263 * 264 * @param classNameId the class name ID of this journal article 265 */ 266 public void setClassNameId(long classNameId) { 267 _journalArticle.setClassNameId(classNameId); 268 } 269 270 /** 271 * Returns the class p k of this journal article. 272 * 273 * @return the class p k of this journal article 274 */ 275 public long getClassPK() { 276 return _journalArticle.getClassPK(); 277 } 278 279 /** 280 * Sets the class p k of this journal article. 281 * 282 * @param classPK the class p k of this journal article 283 */ 284 public void setClassPK(long classPK) { 285 _journalArticle.setClassPK(classPK); 286 } 287 288 /** 289 * Returns the article ID of this journal article. 290 * 291 * @return the article ID of this journal article 292 */ 293 public java.lang.String getArticleId() { 294 return _journalArticle.getArticleId(); 295 } 296 297 /** 298 * Sets the article ID of this journal article. 299 * 300 * @param articleId the article ID of this journal article 301 */ 302 public void setArticleId(java.lang.String articleId) { 303 _journalArticle.setArticleId(articleId); 304 } 305 306 /** 307 * Returns the version of this journal article. 308 * 309 * @return the version of this journal article 310 */ 311 public double getVersion() { 312 return _journalArticle.getVersion(); 313 } 314 315 /** 316 * Sets the version of this journal article. 317 * 318 * @param version the version of this journal article 319 */ 320 public void setVersion(double version) { 321 _journalArticle.setVersion(version); 322 } 323 324 /** 325 * Returns the title of this journal article. 326 * 327 * @return the title of this journal article 328 */ 329 public java.lang.String getTitle() { 330 return _journalArticle.getTitle(); 331 } 332 333 /** 334 * Returns the localized title of this journal article in the language. Uses the default language if no localization exists for the requested language. 335 * 336 * @param locale the locale of the language 337 * @return the localized title of this journal article 338 */ 339 public java.lang.String getTitle(java.util.Locale locale) { 340 return _journalArticle.getTitle(locale); 341 } 342 343 /** 344 * Returns the localized title of this journal article in the language, optionally using the default language if no localization exists for the requested language. 345 * 346 * @param locale the local of the language 347 * @param useDefault whether to use the default language if no localization exists for the requested language 348 * @return the localized title of this journal article. If <code>useDefault</code> is <code>false</code> and no localization exists for the requested language, an empty string will be returned. 349 */ 350 public java.lang.String getTitle(java.util.Locale locale, boolean useDefault) { 351 return _journalArticle.getTitle(locale, useDefault); 352 } 353 354 /** 355 * Returns the localized title of this journal article in the language. Uses the default language if no localization exists for the requested language. 356 * 357 * @param languageId the ID of the language 358 * @return the localized title of this journal article 359 */ 360 public java.lang.String getTitle(java.lang.String languageId) { 361 return _journalArticle.getTitle(languageId); 362 } 363 364 /** 365 * Returns the localized title of this journal article in the language, optionally using the default language if no localization exists for the requested language. 366 * 367 * @param languageId the ID of the language 368 * @param useDefault whether to use the default language if no localization exists for the requested language 369 * @return the localized title of this journal article 370 */ 371 public java.lang.String getTitle(java.lang.String languageId, 372 boolean useDefault) { 373 return _journalArticle.getTitle(languageId, useDefault); 374 } 375 376 public java.lang.String getTitleCurrentLanguageId() { 377 return _journalArticle.getTitleCurrentLanguageId(); 378 } 379 380 public java.lang.String getTitleCurrentValue() { 381 return _journalArticle.getTitleCurrentValue(); 382 } 383 384 /** 385 * Returns a map of the locales and localized titles of this journal article. 386 * 387 * @return the locales and localized titles of this journal article 388 */ 389 public java.util.Map<java.util.Locale, java.lang.String> getTitleMap() { 390 return _journalArticle.getTitleMap(); 391 } 392 393 /** 394 * Sets the title of this journal article. 395 * 396 * @param title the title of this journal article 397 */ 398 public void setTitle(java.lang.String title) { 399 _journalArticle.setTitle(title); 400 } 401 402 /** 403 * Sets the localized title of this journal article in the language. 404 * 405 * @param title the localized title of this journal article 406 * @param locale the locale of the language 407 */ 408 public void setTitle(java.lang.String title, java.util.Locale locale) { 409 _journalArticle.setTitle(title, locale); 410 } 411 412 /** 413 * Sets the localized title of this journal article in the language, and sets the default locale. 414 * 415 * @param title the localized title of this journal article 416 * @param locale the locale of the language 417 * @param defaultLocale the default locale 418 */ 419 public void setTitle(java.lang.String title, java.util.Locale locale, 420 java.util.Locale defaultLocale) { 421 _journalArticle.setTitle(title, locale, defaultLocale); 422 } 423 424 public void setTitleCurrentLanguageId(java.lang.String languageId) { 425 _journalArticle.setTitleCurrentLanguageId(languageId); 426 } 427 428 /** 429 * Sets the localized titles of this journal article from the map of locales and localized titles. 430 * 431 * @param titleMap the locales and localized titles of this journal article 432 */ 433 public void setTitleMap( 434 java.util.Map<java.util.Locale, java.lang.String> titleMap) { 435 _journalArticle.setTitleMap(titleMap); 436 } 437 438 /** 439 * Sets the localized titles of this journal article from the map of locales and localized titles, and sets the default locale. 440 * 441 * @param titleMap the locales and localized titles of this journal article 442 * @param defaultLocale the default locale 443 */ 444 public void setTitleMap( 445 java.util.Map<java.util.Locale, java.lang.String> titleMap, 446 java.util.Locale defaultLocale) { 447 _journalArticle.setTitleMap(titleMap, defaultLocale); 448 } 449 450 /** 451 * Returns the url title of this journal article. 452 * 453 * @return the url title of this journal article 454 */ 455 public java.lang.String getUrlTitle() { 456 return _journalArticle.getUrlTitle(); 457 } 458 459 /** 460 * Sets the url title of this journal article. 461 * 462 * @param urlTitle the url title of this journal article 463 */ 464 public void setUrlTitle(java.lang.String urlTitle) { 465 _journalArticle.setUrlTitle(urlTitle); 466 } 467 468 /** 469 * Returns the description of this journal article. 470 * 471 * @return the description of this journal article 472 */ 473 public java.lang.String getDescription() { 474 return _journalArticle.getDescription(); 475 } 476 477 /** 478 * Returns the localized description of this journal article in the language. Uses the default language if no localization exists for the requested language. 479 * 480 * @param locale the locale of the language 481 * @return the localized description of this journal article 482 */ 483 public java.lang.String getDescription(java.util.Locale locale) { 484 return _journalArticle.getDescription(locale); 485 } 486 487 /** 488 * Returns the localized description of this journal article in the language, optionally using the default language if no localization exists for the requested language. 489 * 490 * @param locale the local of the language 491 * @param useDefault whether to use the default language if no localization exists for the requested language 492 * @return the localized description of this journal article. If <code>useDefault</code> is <code>false</code> and no localization exists for the requested language, an empty string will be returned. 493 */ 494 public java.lang.String getDescription(java.util.Locale locale, 495 boolean useDefault) { 496 return _journalArticle.getDescription(locale, useDefault); 497 } 498 499 /** 500 * Returns the localized description of this journal article in the language. Uses the default language if no localization exists for the requested language. 501 * 502 * @param languageId the ID of the language 503 * @return the localized description of this journal article 504 */ 505 public java.lang.String getDescription(java.lang.String languageId) { 506 return _journalArticle.getDescription(languageId); 507 } 508 509 /** 510 * Returns the localized description of this journal article in the language, optionally using the default language if no localization exists for the requested language. 511 * 512 * @param languageId the ID of the language 513 * @param useDefault whether to use the default language if no localization exists for the requested language 514 * @return the localized description of this journal article 515 */ 516 public java.lang.String getDescription(java.lang.String languageId, 517 boolean useDefault) { 518 return _journalArticle.getDescription(languageId, useDefault); 519 } 520 521 public java.lang.String getDescriptionCurrentLanguageId() { 522 return _journalArticle.getDescriptionCurrentLanguageId(); 523 } 524 525 public java.lang.String getDescriptionCurrentValue() { 526 return _journalArticle.getDescriptionCurrentValue(); 527 } 528 529 /** 530 * Returns a map of the locales and localized descriptions of this journal article. 531 * 532 * @return the locales and localized descriptions of this journal article 533 */ 534 public java.util.Map<java.util.Locale, java.lang.String> getDescriptionMap() { 535 return _journalArticle.getDescriptionMap(); 536 } 537 538 /** 539 * Sets the description of this journal article. 540 * 541 * @param description the description of this journal article 542 */ 543 public void setDescription(java.lang.String description) { 544 _journalArticle.setDescription(description); 545 } 546 547 /** 548 * Sets the localized description of this journal article in the language. 549 * 550 * @param description the localized description of this journal article 551 * @param locale the locale of the language 552 */ 553 public void setDescription(java.lang.String description, 554 java.util.Locale locale) { 555 _journalArticle.setDescription(description, locale); 556 } 557 558 /** 559 * Sets the localized description of this journal article in the language, and sets the default locale. 560 * 561 * @param description the localized description of this journal article 562 * @param locale the locale of the language 563 * @param defaultLocale the default locale 564 */ 565 public void setDescription(java.lang.String description, 566 java.util.Locale locale, java.util.Locale defaultLocale) { 567 _journalArticle.setDescription(description, locale, defaultLocale); 568 } 569 570 public void setDescriptionCurrentLanguageId(java.lang.String languageId) { 571 _journalArticle.setDescriptionCurrentLanguageId(languageId); 572 } 573 574 /** 575 * Sets the localized descriptions of this journal article from the map of locales and localized descriptions. 576 * 577 * @param descriptionMap the locales and localized descriptions of this journal article 578 */ 579 public void setDescriptionMap( 580 java.util.Map<java.util.Locale, java.lang.String> descriptionMap) { 581 _journalArticle.setDescriptionMap(descriptionMap); 582 } 583 584 /** 585 * Sets the localized descriptions of this journal article from the map of locales and localized descriptions, and sets the default locale. 586 * 587 * @param descriptionMap the locales and localized descriptions of this journal article 588 * @param defaultLocale the default locale 589 */ 590 public void setDescriptionMap( 591 java.util.Map<java.util.Locale, java.lang.String> descriptionMap, 592 java.util.Locale defaultLocale) { 593 _journalArticle.setDescriptionMap(descriptionMap, defaultLocale); 594 } 595 596 /** 597 * Returns the content of this journal article. 598 * 599 * @return the content of this journal article 600 */ 601 public java.lang.String getContent() { 602 return _journalArticle.getContent(); 603 } 604 605 /** 606 * Sets the content of this journal article. 607 * 608 * @param content the content of this journal article 609 */ 610 public void setContent(java.lang.String content) { 611 _journalArticle.setContent(content); 612 } 613 614 /** 615 * Returns the type of this journal article. 616 * 617 * @return the type of this journal article 618 */ 619 public java.lang.String getType() { 620 return _journalArticle.getType(); 621 } 622 623 /** 624 * Sets the type of this journal article. 625 * 626 * @param type the type of this journal article 627 */ 628 public void setType(java.lang.String type) { 629 _journalArticle.setType(type); 630 } 631 632 /** 633 * Returns the structure ID of this journal article. 634 * 635 * @return the structure ID of this journal article 636 */ 637 public java.lang.String getStructureId() { 638 return _journalArticle.getStructureId(); 639 } 640 641 /** 642 * Sets the structure ID of this journal article. 643 * 644 * @param structureId the structure ID of this journal article 645 */ 646 public void setStructureId(java.lang.String structureId) { 647 _journalArticle.setStructureId(structureId); 648 } 649 650 /** 651 * Returns the template ID of this journal article. 652 * 653 * @return the template ID of this journal article 654 */ 655 public java.lang.String getTemplateId() { 656 return _journalArticle.getTemplateId(); 657 } 658 659 /** 660 * Sets the template ID of this journal article. 661 * 662 * @param templateId the template ID of this journal article 663 */ 664 public void setTemplateId(java.lang.String templateId) { 665 _journalArticle.setTemplateId(templateId); 666 } 667 668 /** 669 * Returns the layout uuid of this journal article. 670 * 671 * @return the layout uuid of this journal article 672 */ 673 public java.lang.String getLayoutUuid() { 674 return _journalArticle.getLayoutUuid(); 675 } 676 677 /** 678 * Sets the layout uuid of this journal article. 679 * 680 * @param layoutUuid the layout uuid of this journal article 681 */ 682 public void setLayoutUuid(java.lang.String layoutUuid) { 683 _journalArticle.setLayoutUuid(layoutUuid); 684 } 685 686 /** 687 * Returns the display date of this journal article. 688 * 689 * @return the display date of this journal article 690 */ 691 public java.util.Date getDisplayDate() { 692 return _journalArticle.getDisplayDate(); 693 } 694 695 /** 696 * Sets the display date of this journal article. 697 * 698 * @param displayDate the display date of this journal article 699 */ 700 public void setDisplayDate(java.util.Date displayDate) { 701 _journalArticle.setDisplayDate(displayDate); 702 } 703 704 /** 705 * Returns the expiration date of this journal article. 706 * 707 * @return the expiration date of this journal article 708 */ 709 public java.util.Date getExpirationDate() { 710 return _journalArticle.getExpirationDate(); 711 } 712 713 /** 714 * Sets the expiration date of this journal article. 715 * 716 * @param expirationDate the expiration date of this journal article 717 */ 718 public void setExpirationDate(java.util.Date expirationDate) { 719 _journalArticle.setExpirationDate(expirationDate); 720 } 721 722 /** 723 * Returns the review date of this journal article. 724 * 725 * @return the review date of this journal article 726 */ 727 public java.util.Date getReviewDate() { 728 return _journalArticle.getReviewDate(); 729 } 730 731 /** 732 * Sets the review date of this journal article. 733 * 734 * @param reviewDate the review date of this journal article 735 */ 736 public void setReviewDate(java.util.Date reviewDate) { 737 _journalArticle.setReviewDate(reviewDate); 738 } 739 740 /** 741 * Returns the indexable of this journal article. 742 * 743 * @return the indexable of this journal article 744 */ 745 public boolean getIndexable() { 746 return _journalArticle.getIndexable(); 747 } 748 749 /** 750 * Returns <code>true</code> if this journal article is indexable. 751 * 752 * @return <code>true</code> if this journal article is indexable; <code>false</code> otherwise 753 */ 754 public boolean isIndexable() { 755 return _journalArticle.isIndexable(); 756 } 757 758 /** 759 * Sets whether this journal article is indexable. 760 * 761 * @param indexable the indexable of this journal article 762 */ 763 public void setIndexable(boolean indexable) { 764 _journalArticle.setIndexable(indexable); 765 } 766 767 /** 768 * Returns the small image of this journal article. 769 * 770 * @return the small image of this journal article 771 */ 772 public boolean getSmallImage() { 773 return _journalArticle.getSmallImage(); 774 } 775 776 /** 777 * Returns <code>true</code> if this journal article is small image. 778 * 779 * @return <code>true</code> if this journal article is small image; <code>false</code> otherwise 780 */ 781 public boolean isSmallImage() { 782 return _journalArticle.isSmallImage(); 783 } 784 785 /** 786 * Sets whether this journal article is small image. 787 * 788 * @param smallImage the small image of this journal article 789 */ 790 public void setSmallImage(boolean smallImage) { 791 _journalArticle.setSmallImage(smallImage); 792 } 793 794 /** 795 * Returns the small image ID of this journal article. 796 * 797 * @return the small image ID of this journal article 798 */ 799 public long getSmallImageId() { 800 return _journalArticle.getSmallImageId(); 801 } 802 803 /** 804 * Sets the small image ID of this journal article. 805 * 806 * @param smallImageId the small image ID of this journal article 807 */ 808 public void setSmallImageId(long smallImageId) { 809 _journalArticle.setSmallImageId(smallImageId); 810 } 811 812 /** 813 * Returns the small image u r l of this journal article. 814 * 815 * @return the small image u r l of this journal article 816 */ 817 public java.lang.String getSmallImageURL() { 818 return _journalArticle.getSmallImageURL(); 819 } 820 821 /** 822 * Sets the small image u r l of this journal article. 823 * 824 * @param smallImageURL the small image u r l of this journal article 825 */ 826 public void setSmallImageURL(java.lang.String smallImageURL) { 827 _journalArticle.setSmallImageURL(smallImageURL); 828 } 829 830 /** 831 * Returns the status of this journal article. 832 * 833 * @return the status of this journal article 834 */ 835 public int getStatus() { 836 return _journalArticle.getStatus(); 837 } 838 839 /** 840 * Sets the status of this journal article. 841 * 842 * @param status the status of this journal article 843 */ 844 public void setStatus(int status) { 845 _journalArticle.setStatus(status); 846 } 847 848 /** 849 * Returns the status by user ID of this journal article. 850 * 851 * @return the status by user ID of this journal article 852 */ 853 public long getStatusByUserId() { 854 return _journalArticle.getStatusByUserId(); 855 } 856 857 /** 858 * Sets the status by user ID of this journal article. 859 * 860 * @param statusByUserId the status by user ID of this journal article 861 */ 862 public void setStatusByUserId(long statusByUserId) { 863 _journalArticle.setStatusByUserId(statusByUserId); 864 } 865 866 /** 867 * Returns the status by user uuid of this journal article. 868 * 869 * @return the status by user uuid of this journal article 870 * @throws SystemException if a system exception occurred 871 */ 872 public java.lang.String getStatusByUserUuid() 873 throws com.liferay.portal.kernel.exception.SystemException { 874 return _journalArticle.getStatusByUserUuid(); 875 } 876 877 /** 878 * Sets the status by user uuid of this journal article. 879 * 880 * @param statusByUserUuid the status by user uuid of this journal article 881 */ 882 public void setStatusByUserUuid(java.lang.String statusByUserUuid) { 883 _journalArticle.setStatusByUserUuid(statusByUserUuid); 884 } 885 886 /** 887 * Returns the status by user name of this journal article. 888 * 889 * @return the status by user name of this journal article 890 */ 891 public java.lang.String getStatusByUserName() { 892 return _journalArticle.getStatusByUserName(); 893 } 894 895 /** 896 * Sets the status by user name of this journal article. 897 * 898 * @param statusByUserName the status by user name of this journal article 899 */ 900 public void setStatusByUserName(java.lang.String statusByUserName) { 901 _journalArticle.setStatusByUserName(statusByUserName); 902 } 903 904 /** 905 * Returns the status date of this journal article. 906 * 907 * @return the status date of this journal article 908 */ 909 public java.util.Date getStatusDate() { 910 return _journalArticle.getStatusDate(); 911 } 912 913 /** 914 * Sets the status date of this journal article. 915 * 916 * @param statusDate the status date of this journal article 917 */ 918 public void setStatusDate(java.util.Date statusDate) { 919 _journalArticle.setStatusDate(statusDate); 920 } 921 922 /** 923 * @deprecated Renamed to {@link #isApproved()} 924 */ 925 public boolean getApproved() { 926 return _journalArticle.getApproved(); 927 } 928 929 /** 930 * Returns <code>true</code> if this journal article is approved. 931 * 932 * @return <code>true</code> if this journal article is approved; <code>false</code> otherwise 933 */ 934 public boolean isApproved() { 935 return _journalArticle.isApproved(); 936 } 937 938 /** 939 * Returns <code>true</code> if this journal article is a draft. 940 * 941 * @return <code>true</code> if this journal article is a draft; <code>false</code> otherwise 942 */ 943 public boolean isDraft() { 944 return _journalArticle.isDraft(); 945 } 946 947 /** 948 * Returns <code>true</code> if this journal article is expired. 949 * 950 * @return <code>true</code> if this journal article is expired; <code>false</code> otherwise 951 */ 952 public boolean isExpired() { 953 return _journalArticle.isExpired(); 954 } 955 956 /** 957 * Returns <code>true</code> if this journal article is pending. 958 * 959 * @return <code>true</code> if this journal article is pending; <code>false</code> otherwise 960 */ 961 public boolean isPending() { 962 return _journalArticle.isPending(); 963 } 964 965 public boolean isNew() { 966 return _journalArticle.isNew(); 967 } 968 969 public void setNew(boolean n) { 970 _journalArticle.setNew(n); 971 } 972 973 public boolean isCachedModel() { 974 return _journalArticle.isCachedModel(); 975 } 976 977 public void setCachedModel(boolean cachedModel) { 978 _journalArticle.setCachedModel(cachedModel); 979 } 980 981 public boolean isEscapedModel() { 982 return _journalArticle.isEscapedModel(); 983 } 984 985 public java.io.Serializable getPrimaryKeyObj() { 986 return _journalArticle.getPrimaryKeyObj(); 987 } 988 989 public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) { 990 _journalArticle.setPrimaryKeyObj(primaryKeyObj); 991 } 992 993 public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() { 994 return _journalArticle.getExpandoBridge(); 995 } 996 997 public void setExpandoBridgeAttributes( 998 com.liferay.portal.service.ServiceContext serviceContext) { 999 _journalArticle.setExpandoBridgeAttributes(serviceContext); 1000 } 1001 1002 @Override 1003 public java.lang.Object clone() { 1004 return new JournalArticleWrapper((JournalArticle)_journalArticle.clone()); 1005 } 1006 1007 public int compareTo( 1008 com.liferay.portlet.journal.model.JournalArticle journalArticle) { 1009 return _journalArticle.compareTo(journalArticle); 1010 } 1011 1012 @Override 1013 public int hashCode() { 1014 return _journalArticle.hashCode(); 1015 } 1016 1017 public com.liferay.portal.model.CacheModel<com.liferay.portlet.journal.model.JournalArticle> toCacheModel() { 1018 return _journalArticle.toCacheModel(); 1019 } 1020 1021 public com.liferay.portlet.journal.model.JournalArticle toEscapedModel() { 1022 return new JournalArticleWrapper(_journalArticle.toEscapedModel()); 1023 } 1024 1025 @Override 1026 public java.lang.String toString() { 1027 return _journalArticle.toString(); 1028 } 1029 1030 public java.lang.String toXmlString() { 1031 return _journalArticle.toXmlString(); 1032 } 1033 1034 public void persist() 1035 throws com.liferay.portal.kernel.exception.SystemException { 1036 _journalArticle.persist(); 1037 } 1038 1039 public com.liferay.portlet.journal.model.JournalArticleResource getArticleResource() 1040 throws com.liferay.portal.kernel.exception.PortalException, 1041 com.liferay.portal.kernel.exception.SystemException { 1042 return _journalArticle.getArticleResource(); 1043 } 1044 1045 public java.lang.String getArticleResourceUuid() 1046 throws com.liferay.portal.kernel.exception.PortalException, 1047 com.liferay.portal.kernel.exception.SystemException { 1048 return _journalArticle.getArticleResourceUuid(); 1049 } 1050 1051 public java.lang.String[] getAvailableLocales() { 1052 return _journalArticle.getAvailableLocales(); 1053 } 1054 1055 public java.lang.String getContentByLocale(java.lang.String languageId) { 1056 return _journalArticle.getContentByLocale(languageId); 1057 } 1058 1059 public java.lang.String getDefaultLocale() { 1060 return _journalArticle.getDefaultLocale(); 1061 } 1062 1063 public java.lang.String getSmallImageType() 1064 throws com.liferay.portal.kernel.exception.PortalException, 1065 com.liferay.portal.kernel.exception.SystemException { 1066 return _journalArticle.getSmallImageType(); 1067 } 1068 1069 public boolean isTemplateDriven() { 1070 return _journalArticle.isTemplateDriven(); 1071 } 1072 1073 public void setSmallImageType(java.lang.String smallImageType) { 1074 _journalArticle.setSmallImageType(smallImageType); 1075 } 1076 1077 public JournalArticle getWrappedJournalArticle() { 1078 return _journalArticle; 1079 } 1080 1081 public void resetOriginalValues() { 1082 _journalArticle.resetOriginalValues(); 1083 } 1084 1085 private JournalArticle _journalArticle; 1086 }