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 type of this journal article. 574 * 575 * @return the type of this journal article 576 */ 577 @AutoEscape 578 public String getType(); 579 580 /** 581 * Sets the type of this journal article. 582 * 583 * @param type the type of this journal article 584 */ 585 public void setType(String type); 586 587 /** 588 * Returns the structure ID of this journal article. 589 * 590 * @return the structure ID of this journal article 591 */ 592 public String getStructureId(); 593 594 /** 595 * Sets the structure ID of this journal article. 596 * 597 * @param structureId the structure ID of this journal article 598 */ 599 public void setStructureId(String structureId); 600 601 /** 602 * Returns the template ID of this journal article. 603 * 604 * @return the template ID of this journal article 605 */ 606 public String getTemplateId(); 607 608 /** 609 * Sets the template ID of this journal article. 610 * 611 * @param templateId the template ID of this journal article 612 */ 613 public void setTemplateId(String templateId); 614 615 /** 616 * Returns the layout uuid of this journal article. 617 * 618 * @return the layout uuid of this journal article 619 */ 620 @AutoEscape 621 public String getLayoutUuid(); 622 623 /** 624 * Sets the layout uuid of this journal article. 625 * 626 * @param layoutUuid the layout uuid of this journal article 627 */ 628 public void setLayoutUuid(String layoutUuid); 629 630 /** 631 * Returns the display date of this journal article. 632 * 633 * @return the display date of this journal article 634 */ 635 public Date getDisplayDate(); 636 637 /** 638 * Sets the display date of this journal article. 639 * 640 * @param displayDate the display date of this journal article 641 */ 642 public void setDisplayDate(Date displayDate); 643 644 /** 645 * Returns the expiration date of this journal article. 646 * 647 * @return the expiration date of this journal article 648 */ 649 public Date getExpirationDate(); 650 651 /** 652 * Sets the expiration date of this journal article. 653 * 654 * @param expirationDate the expiration date of this journal article 655 */ 656 public void setExpirationDate(Date expirationDate); 657 658 /** 659 * Returns the review date of this journal article. 660 * 661 * @return the review date of this journal article 662 */ 663 public Date getReviewDate(); 664 665 /** 666 * Sets the review date of this journal article. 667 * 668 * @param reviewDate the review date of this journal article 669 */ 670 public void setReviewDate(Date reviewDate); 671 672 /** 673 * Returns the indexable of this journal article. 674 * 675 * @return the indexable of this journal article 676 */ 677 public boolean getIndexable(); 678 679 /** 680 * Returns <code>true</code> if this journal article is indexable. 681 * 682 * @return <code>true</code> if this journal article is indexable; <code>false</code> otherwise 683 */ 684 public boolean isIndexable(); 685 686 /** 687 * Sets whether this journal article is indexable. 688 * 689 * @param indexable the indexable of this journal article 690 */ 691 public void setIndexable(boolean indexable); 692 693 /** 694 * Returns the small image of this journal article. 695 * 696 * @return the small image of this journal article 697 */ 698 public boolean getSmallImage(); 699 700 /** 701 * Returns <code>true</code> if this journal article is small image. 702 * 703 * @return <code>true</code> if this journal article is small image; <code>false</code> otherwise 704 */ 705 public boolean isSmallImage(); 706 707 /** 708 * Sets whether this journal article is small image. 709 * 710 * @param smallImage the small image of this journal article 711 */ 712 public void setSmallImage(boolean smallImage); 713 714 /** 715 * Returns the small image ID of this journal article. 716 * 717 * @return the small image ID of this journal article 718 */ 719 public long getSmallImageId(); 720 721 /** 722 * Sets the small image ID of this journal article. 723 * 724 * @param smallImageId the small image ID of this journal article 725 */ 726 public void setSmallImageId(long smallImageId); 727 728 /** 729 * Returns the small image u r l of this journal article. 730 * 731 * @return the small image u r l of this journal article 732 */ 733 @AutoEscape 734 public String getSmallImageURL(); 735 736 /** 737 * Sets the small image u r l of this journal article. 738 * 739 * @param smallImageURL the small image u r l of this journal article 740 */ 741 public void setSmallImageURL(String smallImageURL); 742 743 /** 744 * Returns the status of this journal article. 745 * 746 * @return the status of this journal article 747 */ 748 @Override 749 public int getStatus(); 750 751 /** 752 * Sets the status of this journal article. 753 * 754 * @param status the status of this journal article 755 */ 756 @Override 757 public void setStatus(int status); 758 759 /** 760 * Returns the status by user ID of this journal article. 761 * 762 * @return the status by user ID of this journal article 763 */ 764 @Override 765 public long getStatusByUserId(); 766 767 /** 768 * Sets the status by user ID of this journal article. 769 * 770 * @param statusByUserId the status by user ID of this journal article 771 */ 772 @Override 773 public void setStatusByUserId(long statusByUserId); 774 775 /** 776 * Returns the status by user uuid of this journal article. 777 * 778 * @return the status by user uuid of this journal article 779 */ 780 @Override 781 public String getStatusByUserUuid(); 782 783 /** 784 * Sets the status by user uuid of this journal article. 785 * 786 * @param statusByUserUuid the status by user uuid of this journal article 787 */ 788 @Override 789 public void setStatusByUserUuid(String statusByUserUuid); 790 791 /** 792 * Returns the status by user name of this journal article. 793 * 794 * @return the status by user name of this journal article 795 */ 796 @AutoEscape 797 @Override 798 public String getStatusByUserName(); 799 800 /** 801 * Sets the status by user name of this journal article. 802 * 803 * @param statusByUserName the status by user name of this journal article 804 */ 805 @Override 806 public void setStatusByUserName(String statusByUserName); 807 808 /** 809 * Returns the status date of this journal article. 810 * 811 * @return the status date of this journal article 812 */ 813 @Override 814 public Date getStatusDate(); 815 816 /** 817 * Sets the status date of this journal article. 818 * 819 * @param statusDate the status date of this journal article 820 */ 821 @Override 822 public void setStatusDate(Date statusDate); 823 824 /** 825 * 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. 826 * 827 * @return the trash entry created when this journal article was moved to the Recycle Bin 828 */ 829 @Override 830 public TrashEntry getTrashEntry() throws PortalException; 831 832 /** 833 * Returns the class primary key of the trash entry for this journal article. 834 * 835 * @return the class primary key of the trash entry for this journal article 836 */ 837 @Override 838 public long getTrashEntryClassPK(); 839 840 /** 841 * Returns the trash handler for this journal article. 842 * 843 * @return the trash handler for this journal article 844 */ 845 @Override 846 public TrashHandler getTrashHandler(); 847 848 /** 849 * Returns <code>true</code> if this journal article is in the Recycle Bin. 850 * 851 * @return <code>true</code> if this journal article is in the Recycle Bin; <code>false</code> otherwise 852 */ 853 @Override 854 public boolean isInTrash(); 855 856 /** 857 * Returns <code>true</code> if the parent of this journal article is in the Recycle Bin. 858 * 859 * @return <code>true</code> if the parent of this journal article is in the Recycle Bin; <code>false</code> otherwise 860 */ 861 @Override 862 public boolean isInTrashContainer(); 863 864 @Override 865 public boolean isInTrashExplicitly(); 866 867 @Override 868 public boolean isInTrashImplicitly(); 869 870 /** 871 * @deprecated As of 6.1.0, replaced by {@link #isApproved()} 872 */ 873 @Deprecated 874 @Override 875 public boolean getApproved(); 876 877 /** 878 * Returns <code>true</code> if this journal article is approved. 879 * 880 * @return <code>true</code> if this journal article is approved; <code>false</code> otherwise 881 */ 882 @Override 883 public boolean isApproved(); 884 885 /** 886 * Returns <code>true</code> if this journal article is denied. 887 * 888 * @return <code>true</code> if this journal article is denied; <code>false</code> otherwise 889 */ 890 @Override 891 public boolean isDenied(); 892 893 /** 894 * Returns <code>true</code> if this journal article is a draft. 895 * 896 * @return <code>true</code> if this journal article is a draft; <code>false</code> otherwise 897 */ 898 @Override 899 public boolean isDraft(); 900 901 /** 902 * Returns <code>true</code> if this journal article is expired. 903 * 904 * @return <code>true</code> if this journal article is expired; <code>false</code> otherwise 905 */ 906 @Override 907 public boolean isExpired(); 908 909 /** 910 * Returns <code>true</code> if this journal article is inactive. 911 * 912 * @return <code>true</code> if this journal article is inactive; <code>false</code> otherwise 913 */ 914 @Override 915 public boolean isInactive(); 916 917 /** 918 * Returns <code>true</code> if this journal article is incomplete. 919 * 920 * @return <code>true</code> if this journal article is incomplete; <code>false</code> otherwise 921 */ 922 @Override 923 public boolean isIncomplete(); 924 925 /** 926 * Returns <code>true</code> if this journal article is pending. 927 * 928 * @return <code>true</code> if this journal article is pending; <code>false</code> otherwise 929 */ 930 @Override 931 public boolean isPending(); 932 933 /** 934 * Returns <code>true</code> if this journal article is scheduled. 935 * 936 * @return <code>true</code> if this journal article is scheduled; <code>false</code> otherwise 937 */ 938 @Override 939 public boolean isScheduled(); 940 941 @Override 942 public boolean isNew(); 943 944 @Override 945 public void setNew(boolean n); 946 947 @Override 948 public boolean isCachedModel(); 949 950 @Override 951 public void setCachedModel(boolean cachedModel); 952 953 @Override 954 public boolean isEscapedModel(); 955 956 @Override 957 public Serializable getPrimaryKeyObj(); 958 959 @Override 960 public void setPrimaryKeyObj(Serializable primaryKeyObj); 961 962 @Override 963 public ExpandoBridge getExpandoBridge(); 964 965 @Override 966 public void setExpandoBridgeAttributes(BaseModel<?> baseModel); 967 968 @Override 969 public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); 970 971 @Override 972 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 973 974 @Override 975 public String[] getAvailableLanguageIds(); 976 977 @Override 978 public String getDefaultLanguageId(); 979 980 @Override 981 public void prepareLocalizedFieldsForImport() throws LocaleException; 982 983 @Override 984 public void prepareLocalizedFieldsForImport(Locale defaultImportLocale) 985 throws LocaleException; 986 987 @Override 988 public Object clone(); 989 990 @Override 991 public int compareTo( 992 com.liferay.portlet.journal.model.JournalArticle journalArticle); 993 994 @Override 995 public int hashCode(); 996 997 @Override 998 public CacheModel<com.liferay.portlet.journal.model.JournalArticle> toCacheModel(); 999 1000 @Override 1001 public com.liferay.portlet.journal.model.JournalArticle toEscapedModel(); 1002 1003 @Override 1004 public com.liferay.portlet.journal.model.JournalArticle toUnescapedModel(); 1005 1006 @Override 1007 public String toString(); 1008 1009 @Override 1010 public String toXmlString(); 1011 }