001 /** 002 * Copyright (c) 2000-2013 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.exception.SystemException; 023 import com.liferay.portal.kernel.trash.TrashHandler; 024 import com.liferay.portal.model.AttachedModel; 025 import com.liferay.portal.model.BaseModel; 026 import com.liferay.portal.model.CacheModel; 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>, ResourcedModel, StagedGroupedModel, TrashedModel, 058 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 * @throws SystemException if a system exception occurred 182 */ 183 @Override 184 public String getUserUuid() throws SystemException; 185 186 /** 187 * Sets the user uuid of this journal article. 188 * 189 * @param userUuid the user uuid of this journal article 190 */ 191 @Override 192 public void setUserUuid(String userUuid); 193 194 /** 195 * Returns the user name of this journal article. 196 * 197 * @return the user name of this journal article 198 */ 199 @AutoEscape 200 @Override 201 public String getUserName(); 202 203 /** 204 * Sets the user name of this journal article. 205 * 206 * @param userName the user name of this journal article 207 */ 208 @Override 209 public void setUserName(String userName); 210 211 /** 212 * Returns the create date of this journal article. 213 * 214 * @return the create date of this journal article 215 */ 216 @Override 217 public Date getCreateDate(); 218 219 /** 220 * Sets the create date of this journal article. 221 * 222 * @param createDate the create date of this journal article 223 */ 224 @Override 225 public void setCreateDate(Date createDate); 226 227 /** 228 * Returns the modified date of this journal article. 229 * 230 * @return the modified date of this journal article 231 */ 232 @Override 233 public Date getModifiedDate(); 234 235 /** 236 * Sets the modified date of this journal article. 237 * 238 * @param modifiedDate the modified date of this journal article 239 */ 240 @Override 241 public void setModifiedDate(Date modifiedDate); 242 243 /** 244 * Returns the folder ID of this journal article. 245 * 246 * @return the folder ID of this journal article 247 */ 248 public long getFolderId(); 249 250 /** 251 * Sets the folder ID of this journal article. 252 * 253 * @param folderId the folder ID of this journal article 254 */ 255 public void setFolderId(long folderId); 256 257 /** 258 * Returns the fully qualified class name of this journal article. 259 * 260 * @return the fully qualified class name of this journal article 261 */ 262 @Override 263 public String getClassName(); 264 265 public void setClassName(String className); 266 267 /** 268 * Returns the class name ID of this journal article. 269 * 270 * @return the class name ID of this journal article 271 */ 272 @Override 273 public long getClassNameId(); 274 275 /** 276 * Sets the class name ID of this journal article. 277 * 278 * @param classNameId the class name ID of this journal article 279 */ 280 @Override 281 public void setClassNameId(long classNameId); 282 283 /** 284 * Returns the class p k of this journal article. 285 * 286 * @return the class p k of this journal article 287 */ 288 @Override 289 public long getClassPK(); 290 291 /** 292 * Sets the class p k of this journal article. 293 * 294 * @param classPK the class p k of this journal article 295 */ 296 @Override 297 public void setClassPK(long classPK); 298 299 /** 300 * Returns the tree path of this journal article. 301 * 302 * @return the tree path of this journal article 303 */ 304 @AutoEscape 305 public String getTreePath(); 306 307 /** 308 * Sets the tree path of this journal article. 309 * 310 * @param treePath the tree path of this journal article 311 */ 312 public void setTreePath(String treePath); 313 314 /** 315 * Returns the article ID of this journal article. 316 * 317 * @return the article ID of this journal article 318 */ 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 * @throws SystemException if a system exception occurred 780 */ 781 @Override 782 public String getStatusByUserUuid() throws SystemException; 783 784 /** 785 * Sets the status by user uuid of this journal article. 786 * 787 * @param statusByUserUuid the status by user uuid of this journal article 788 */ 789 @Override 790 public void setStatusByUserUuid(String statusByUserUuid); 791 792 /** 793 * Returns the status by user name of this journal article. 794 * 795 * @return the status by user name of this journal article 796 */ 797 @AutoEscape 798 @Override 799 public String getStatusByUserName(); 800 801 /** 802 * Sets the status by user name of this journal article. 803 * 804 * @param statusByUserName the status by user name of this journal article 805 */ 806 @Override 807 public void setStatusByUserName(String statusByUserName); 808 809 /** 810 * Returns the status date of this journal article. 811 * 812 * @return the status date of this journal article 813 */ 814 @Override 815 public Date getStatusDate(); 816 817 /** 818 * Sets the status date of this journal article. 819 * 820 * @param statusDate the status date of this journal article 821 */ 822 @Override 823 public void setStatusDate(Date statusDate); 824 825 /** 826 * 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. 827 * 828 * @return the trash entry created when this journal article was moved to the Recycle Bin 829 * @throws SystemException if a system exception occurred 830 */ 831 @Override 832 public TrashEntry getTrashEntry() throws PortalException, SystemException; 833 834 /** 835 * Returns the class primary key of the trash entry for this journal article. 836 * 837 * @return the class primary key of the trash entry for this journal article 838 */ 839 @Override 840 public long getTrashEntryClassPK(); 841 842 /** 843 * Returns the trash handler for this journal article. 844 * 845 * @return the trash handler for this journal article 846 */ 847 @Override 848 public TrashHandler getTrashHandler(); 849 850 /** 851 * Returns <code>true</code> if this journal article is in the Recycle Bin. 852 * 853 * @return <code>true</code> if this journal article is in the Recycle Bin; <code>false</code> otherwise 854 */ 855 @Override 856 public boolean isInTrash(); 857 858 /** 859 * Returns <code>true</code> if the parent of this journal article is in the Recycle Bin. 860 * 861 * @return <code>true</code> if the parent of this journal article is in the Recycle Bin; <code>false</code> otherwise 862 * @throws SystemException if a system exception occurred 863 */ 864 @Override 865 public boolean isInTrashContainer(); 866 867 /** 868 * @deprecated As of 6.1.0, replaced by {@link #isApproved()} 869 */ 870 @Override 871 public boolean getApproved(); 872 873 /** 874 * Returns <code>true</code> if this journal article is approved. 875 * 876 * @return <code>true</code> if this journal article is approved; <code>false</code> otherwise 877 */ 878 @Override 879 public boolean isApproved(); 880 881 /** 882 * Returns <code>true</code> if this journal article is denied. 883 * 884 * @return <code>true</code> if this journal article is denied; <code>false</code> otherwise 885 */ 886 @Override 887 public boolean isDenied(); 888 889 /** 890 * Returns <code>true</code> if this journal article is a draft. 891 * 892 * @return <code>true</code> if this journal article is a draft; <code>false</code> otherwise 893 */ 894 @Override 895 public boolean isDraft(); 896 897 /** 898 * Returns <code>true</code> if this journal article is expired. 899 * 900 * @return <code>true</code> if this journal article is expired; <code>false</code> otherwise 901 */ 902 @Override 903 public boolean isExpired(); 904 905 /** 906 * Returns <code>true</code> if this journal article is inactive. 907 * 908 * @return <code>true</code> if this journal article is inactive; <code>false</code> otherwise 909 */ 910 @Override 911 public boolean isInactive(); 912 913 /** 914 * Returns <code>true</code> if this journal article is incomplete. 915 * 916 * @return <code>true</code> if this journal article is incomplete; <code>false</code> otherwise 917 */ 918 @Override 919 public boolean isIncomplete(); 920 921 /** 922 * Returns <code>true</code> if this journal article is pending. 923 * 924 * @return <code>true</code> if this journal article is pending; <code>false</code> otherwise 925 */ 926 @Override 927 public boolean isPending(); 928 929 /** 930 * Returns <code>true</code> if this journal article is scheduled. 931 * 932 * @return <code>true</code> if this journal article is scheduled; <code>false</code> otherwise 933 */ 934 @Override 935 public boolean isScheduled(); 936 937 @Override 938 public boolean isNew(); 939 940 @Override 941 public void setNew(boolean n); 942 943 @Override 944 public boolean isCachedModel(); 945 946 @Override 947 public void setCachedModel(boolean cachedModel); 948 949 @Override 950 public boolean isEscapedModel(); 951 952 @Override 953 public Serializable getPrimaryKeyObj(); 954 955 @Override 956 public void setPrimaryKeyObj(Serializable primaryKeyObj); 957 958 @Override 959 public ExpandoBridge getExpandoBridge(); 960 961 @Override 962 public void setExpandoBridgeAttributes(BaseModel<?> baseModel); 963 964 @Override 965 public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); 966 967 @Override 968 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 969 970 public String[] getAvailableLanguageIds(); 971 972 public String getDefaultLanguageId(); 973 974 public void prepareLocalizedFieldsForImport() throws LocaleException; 975 976 public void prepareLocalizedFieldsForImport(Locale defaultImportLocale) 977 throws LocaleException; 978 979 @Override 980 public Object clone(); 981 982 @Override 983 public int compareTo(JournalArticle journalArticle); 984 985 @Override 986 public int hashCode(); 987 988 @Override 989 public CacheModel<JournalArticle> toCacheModel(); 990 991 @Override 992 public JournalArticle toEscapedModel(); 993 994 @Override 995 public JournalArticle toUnescapedModel(); 996 997 @Override 998 public String toString(); 999 1000 @Override 1001 public String toXmlString(); 1002 }