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