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