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 @AutoEscape 320 public String getArticleId(); 321 322 /** 323 * Sets the article ID of this journal article. 324 * 325 * @param articleId the article ID of this journal article 326 */ 327 public void setArticleId(String articleId); 328 329 /** 330 * Returns the version of this journal article. 331 * 332 * @return the version of this journal article 333 */ 334 public double getVersion(); 335 336 /** 337 * Sets the version of this journal article. 338 * 339 * @param version the version of this journal article 340 */ 341 public void setVersion(double version); 342 343 /** 344 * Returns the title of this journal article. 345 * 346 * @return the title of this journal article 347 */ 348 public String getTitle(); 349 350 /** 351 * Returns the localized title of this journal article in the language. Uses the default language if no localization exists for the requested language. 352 * 353 * @param locale the locale of the language 354 * @return the localized title of this journal article 355 */ 356 @AutoEscape 357 public String getTitle(Locale locale); 358 359 /** 360 * Returns the localized title of this journal article in the language, optionally using the default language if no localization exists for the requested language. 361 * 362 * @param locale the local of the language 363 * @param useDefault whether to use the default language if no localization exists for the requested language 364 * @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. 365 */ 366 @AutoEscape 367 public String getTitle(Locale locale, boolean useDefault); 368 369 /** 370 * Returns the localized title of this journal article in the language. Uses the default language if no localization exists for the requested language. 371 * 372 * @param languageId the ID of the language 373 * @return the localized title of this journal article 374 */ 375 @AutoEscape 376 public String getTitle(String languageId); 377 378 /** 379 * Returns the localized title of this journal article in the language, optionally using the default language if no localization exists for the requested language. 380 * 381 * @param languageId the ID of the language 382 * @param useDefault whether to use the default language if no localization exists for the requested language 383 * @return the localized title of this journal article 384 */ 385 @AutoEscape 386 public String getTitle(String languageId, boolean useDefault); 387 388 @AutoEscape 389 public String getTitleCurrentLanguageId(); 390 391 @AutoEscape 392 public String getTitleCurrentValue(); 393 394 /** 395 * Returns a map of the locales and localized titles of this journal article. 396 * 397 * @return the locales and localized titles of this journal article 398 */ 399 public Map<Locale, String> getTitleMap(); 400 401 /** 402 * Sets the title of this journal article. 403 * 404 * @param title the title of this journal article 405 */ 406 public void setTitle(String title); 407 408 /** 409 * Sets the localized title of this journal article in the language. 410 * 411 * @param title the localized title of this journal article 412 * @param locale the locale of the language 413 */ 414 public void setTitle(String title, Locale locale); 415 416 /** 417 * Sets the localized title of this journal article in the language, and sets the default locale. 418 * 419 * @param title the localized title of this journal article 420 * @param locale the locale of the language 421 * @param defaultLocale the default locale 422 */ 423 public void setTitle(String title, Locale locale, Locale defaultLocale); 424 425 public void setTitleCurrentLanguageId(String languageId); 426 427 /** 428 * Sets the localized titles of this journal article from the map of locales and localized titles. 429 * 430 * @param titleMap the locales and localized titles of this journal article 431 */ 432 public void setTitleMap(Map<Locale, String> titleMap); 433 434 /** 435 * Sets the localized titles of this journal article from the map of locales and localized titles, and sets the default locale. 436 * 437 * @param titleMap the locales and localized titles of this journal article 438 * @param defaultLocale the default locale 439 */ 440 public void setTitleMap(Map<Locale, String> titleMap, Locale defaultLocale); 441 442 /** 443 * Returns the url title of this journal article. 444 * 445 * @return the url title of this journal article 446 */ 447 @AutoEscape 448 public String getUrlTitle(); 449 450 /** 451 * Sets the url title of this journal article. 452 * 453 * @param urlTitle the url title of this journal article 454 */ 455 public void setUrlTitle(String urlTitle); 456 457 /** 458 * Returns the description of this journal article. 459 * 460 * @return the description of this journal article 461 */ 462 public String getDescription(); 463 464 /** 465 * Returns the localized description of this journal article in the language. Uses the default language if no localization exists for the requested language. 466 * 467 * @param locale the locale of the language 468 * @return the localized description of this journal article 469 */ 470 @AutoEscape 471 public String getDescription(Locale locale); 472 473 /** 474 * Returns the localized description of this journal article in the language, optionally using the default language if no localization exists for the requested language. 475 * 476 * @param locale the local of the language 477 * @param useDefault whether to use the default language if no localization exists for the requested language 478 * @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. 479 */ 480 @AutoEscape 481 public String getDescription(Locale locale, boolean useDefault); 482 483 /** 484 * Returns the localized description of this journal article in the language. Uses the default language if no localization exists for the requested language. 485 * 486 * @param languageId the ID of the language 487 * @return the localized description of this journal article 488 */ 489 @AutoEscape 490 public String getDescription(String languageId); 491 492 /** 493 * Returns the localized description of this journal article in the language, optionally using the default language if no localization exists for the requested language. 494 * 495 * @param languageId the ID of the language 496 * @param useDefault whether to use the default language if no localization exists for the requested language 497 * @return the localized description of this journal article 498 */ 499 @AutoEscape 500 public String getDescription(String languageId, boolean useDefault); 501 502 @AutoEscape 503 public String getDescriptionCurrentLanguageId(); 504 505 @AutoEscape 506 public String getDescriptionCurrentValue(); 507 508 /** 509 * Returns a map of the locales and localized descriptions of this journal article. 510 * 511 * @return the locales and localized descriptions of this journal article 512 */ 513 public Map<Locale, String> getDescriptionMap(); 514 515 /** 516 * Sets the description of this journal article. 517 * 518 * @param description the description of this journal article 519 */ 520 public void setDescription(String description); 521 522 /** 523 * Sets the localized description of this journal article in the language. 524 * 525 * @param description the localized description of this journal article 526 * @param locale the locale of the language 527 */ 528 public void setDescription(String description, Locale locale); 529 530 /** 531 * Sets the localized description of this journal article in the language, and sets the default locale. 532 * 533 * @param description the localized description of this journal article 534 * @param locale the locale of the language 535 * @param defaultLocale the default locale 536 */ 537 public void setDescription(String description, Locale locale, 538 Locale defaultLocale); 539 540 public void setDescriptionCurrentLanguageId(String languageId); 541 542 /** 543 * Sets the localized descriptions of this journal article from the map of locales and localized descriptions. 544 * 545 * @param descriptionMap the locales and localized descriptions of this journal article 546 */ 547 public void setDescriptionMap(Map<Locale, String> descriptionMap); 548 549 /** 550 * Sets the localized descriptions of this journal article from the map of locales and localized descriptions, and sets the default locale. 551 * 552 * @param descriptionMap the locales and localized descriptions of this journal article 553 * @param defaultLocale the default locale 554 */ 555 public void setDescriptionMap(Map<Locale, String> descriptionMap, 556 Locale defaultLocale); 557 558 /** 559 * Returns the content of this journal article. 560 * 561 * @return the content of this journal article 562 */ 563 @AutoEscape 564 public String getContent(); 565 566 /** 567 * Sets the content of this journal article. 568 * 569 * @param content the content of this journal article 570 */ 571 public void setContent(String content); 572 573 /** 574 * Returns the type of this journal article. 575 * 576 * @return the type of this journal article 577 */ 578 @AutoEscape 579 public String getType(); 580 581 /** 582 * Sets the type of this journal article. 583 * 584 * @param type the type of this journal article 585 */ 586 public void setType(String type); 587 588 /** 589 * Returns the structure ID of this journal article. 590 * 591 * @return the structure ID of this journal article 592 */ 593 public String getStructureId(); 594 595 /** 596 * Sets the structure ID of this journal article. 597 * 598 * @param structureId the structure ID of this journal article 599 */ 600 public void setStructureId(String structureId); 601 602 /** 603 * Returns the template ID of this journal article. 604 * 605 * @return the template ID of this journal article 606 */ 607 public String getTemplateId(); 608 609 /** 610 * Sets the template ID of this journal article. 611 * 612 * @param templateId the template ID of this journal article 613 */ 614 public void setTemplateId(String templateId); 615 616 /** 617 * Returns the layout uuid of this journal article. 618 * 619 * @return the layout uuid of this journal article 620 */ 621 @AutoEscape 622 public String getLayoutUuid(); 623 624 /** 625 * Sets the layout uuid of this journal article. 626 * 627 * @param layoutUuid the layout uuid of this journal article 628 */ 629 public void setLayoutUuid(String layoutUuid); 630 631 /** 632 * Returns the display date of this journal article. 633 * 634 * @return the display date of this journal article 635 */ 636 public Date getDisplayDate(); 637 638 /** 639 * Sets the display date of this journal article. 640 * 641 * @param displayDate the display date of this journal article 642 */ 643 public void setDisplayDate(Date displayDate); 644 645 /** 646 * Returns the expiration date of this journal article. 647 * 648 * @return the expiration date of this journal article 649 */ 650 public Date getExpirationDate(); 651 652 /** 653 * Sets the expiration date of this journal article. 654 * 655 * @param expirationDate the expiration date of this journal article 656 */ 657 public void setExpirationDate(Date expirationDate); 658 659 /** 660 * Returns the review date of this journal article. 661 * 662 * @return the review date of this journal article 663 */ 664 public Date getReviewDate(); 665 666 /** 667 * Sets the review date of this journal article. 668 * 669 * @param reviewDate the review date of this journal article 670 */ 671 public void setReviewDate(Date reviewDate); 672 673 /** 674 * Returns the indexable of this journal article. 675 * 676 * @return the indexable of this journal article 677 */ 678 public boolean getIndexable(); 679 680 /** 681 * Returns <code>true</code> if this journal article is indexable. 682 * 683 * @return <code>true</code> if this journal article is indexable; <code>false</code> otherwise 684 */ 685 public boolean isIndexable(); 686 687 /** 688 * Sets whether this journal article is indexable. 689 * 690 * @param indexable the indexable of this journal article 691 */ 692 public void setIndexable(boolean indexable); 693 694 /** 695 * Returns the small image of this journal article. 696 * 697 * @return the small image of this journal article 698 */ 699 public boolean getSmallImage(); 700 701 /** 702 * Returns <code>true</code> if this journal article is small image. 703 * 704 * @return <code>true</code> if this journal article is small image; <code>false</code> otherwise 705 */ 706 public boolean isSmallImage(); 707 708 /** 709 * Sets whether this journal article is small image. 710 * 711 * @param smallImage the small image of this journal article 712 */ 713 public void setSmallImage(boolean smallImage); 714 715 /** 716 * Returns the small image ID of this journal article. 717 * 718 * @return the small image ID of this journal article 719 */ 720 public long getSmallImageId(); 721 722 /** 723 * Sets the small image ID of this journal article. 724 * 725 * @param smallImageId the small image ID of this journal article 726 */ 727 public void setSmallImageId(long smallImageId); 728 729 /** 730 * Returns the small image u r l of this journal article. 731 * 732 * @return the small image u r l of this journal article 733 */ 734 @AutoEscape 735 public String getSmallImageURL(); 736 737 /** 738 * Sets the small image u r l of this journal article. 739 * 740 * @param smallImageURL the small image u r l of this journal article 741 */ 742 public void setSmallImageURL(String smallImageURL); 743 744 /** 745 * Returns the status of this journal article. 746 * 747 * @return the status of this journal article 748 */ 749 @Override 750 public int getStatus(); 751 752 /** 753 * Sets the status of this journal article. 754 * 755 * @param status the status of this journal article 756 */ 757 @Override 758 public void setStatus(int status); 759 760 /** 761 * Returns the status by user ID of this journal article. 762 * 763 * @return the status by user ID of this journal article 764 */ 765 @Override 766 public long getStatusByUserId(); 767 768 /** 769 * Sets the status by user ID of this journal article. 770 * 771 * @param statusByUserId the status by user ID of this journal article 772 */ 773 @Override 774 public void setStatusByUserId(long statusByUserId); 775 776 /** 777 * Returns the status by user uuid of this journal article. 778 * 779 * @return the status by user uuid of this journal article 780 * @throws SystemException if a system exception occurred 781 */ 782 @Override 783 public String getStatusByUserUuid() throws SystemException; 784 785 /** 786 * Sets the status by user uuid of this journal article. 787 * 788 * @param statusByUserUuid the status by user uuid of this journal article 789 */ 790 @Override 791 public void setStatusByUserUuid(String statusByUserUuid); 792 793 /** 794 * Returns the status by user name of this journal article. 795 * 796 * @return the status by user name of this journal article 797 */ 798 @AutoEscape 799 @Override 800 public String getStatusByUserName(); 801 802 /** 803 * Sets the status by user name of this journal article. 804 * 805 * @param statusByUserName the status by user name of this journal article 806 */ 807 @Override 808 public void setStatusByUserName(String statusByUserName); 809 810 /** 811 * Returns the status date of this journal article. 812 * 813 * @return the status date of this journal article 814 */ 815 @Override 816 public Date getStatusDate(); 817 818 /** 819 * Sets the status date of this journal article. 820 * 821 * @param statusDate the status date of this journal article 822 */ 823 @Override 824 public void setStatusDate(Date statusDate); 825 826 /** 827 * 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. 828 * 829 * @return the trash entry created when this journal article was moved to the Recycle Bin 830 * @throws SystemException if a system exception occurred 831 */ 832 @Override 833 public TrashEntry getTrashEntry() throws PortalException, SystemException; 834 835 /** 836 * Returns the class primary key of the trash entry for this journal article. 837 * 838 * @return the class primary key of the trash entry for this journal article 839 */ 840 @Override 841 public long getTrashEntryClassPK(); 842 843 /** 844 * Returns the trash handler for this journal article. 845 * 846 * @return the trash handler for this journal article 847 */ 848 @Override 849 public TrashHandler getTrashHandler(); 850 851 /** 852 * Returns <code>true</code> if this journal article is in the Recycle Bin. 853 * 854 * @return <code>true</code> if this journal article is in the Recycle Bin; <code>false</code> otherwise 855 */ 856 @Override 857 public boolean isInTrash(); 858 859 /** 860 * Returns <code>true</code> if the parent of this journal article is in the Recycle Bin. 861 * 862 * @return <code>true</code> if the parent of this journal article is in the Recycle Bin; <code>false</code> otherwise 863 * @throws SystemException if a system exception occurred 864 */ 865 @Override 866 public boolean isInTrashContainer(); 867 868 /** 869 * @deprecated As of 6.1.0, replaced by {@link #isApproved()} 870 */ 871 @Override 872 public boolean getApproved(); 873 874 /** 875 * Returns <code>true</code> if this journal article is approved. 876 * 877 * @return <code>true</code> if this journal article is approved; <code>false</code> otherwise 878 */ 879 @Override 880 public boolean isApproved(); 881 882 /** 883 * Returns <code>true</code> if this journal article is denied. 884 * 885 * @return <code>true</code> if this journal article is denied; <code>false</code> otherwise 886 */ 887 @Override 888 public boolean isDenied(); 889 890 /** 891 * Returns <code>true</code> if this journal article is a draft. 892 * 893 * @return <code>true</code> if this journal article is a draft; <code>false</code> otherwise 894 */ 895 @Override 896 public boolean isDraft(); 897 898 /** 899 * Returns <code>true</code> if this journal article is expired. 900 * 901 * @return <code>true</code> if this journal article is expired; <code>false</code> otherwise 902 */ 903 @Override 904 public boolean isExpired(); 905 906 /** 907 * Returns <code>true</code> if this journal article is inactive. 908 * 909 * @return <code>true</code> if this journal article is inactive; <code>false</code> otherwise 910 */ 911 @Override 912 public boolean isInactive(); 913 914 /** 915 * Returns <code>true</code> if this journal article is incomplete. 916 * 917 * @return <code>true</code> if this journal article is incomplete; <code>false</code> otherwise 918 */ 919 @Override 920 public boolean isIncomplete(); 921 922 /** 923 * Returns <code>true</code> if this journal article is pending. 924 * 925 * @return <code>true</code> if this journal article is pending; <code>false</code> otherwise 926 */ 927 @Override 928 public boolean isPending(); 929 930 /** 931 * Returns <code>true</code> if this journal article is scheduled. 932 * 933 * @return <code>true</code> if this journal article is scheduled; <code>false</code> otherwise 934 */ 935 @Override 936 public boolean isScheduled(); 937 938 @Override 939 public boolean isNew(); 940 941 @Override 942 public void setNew(boolean n); 943 944 @Override 945 public boolean isCachedModel(); 946 947 @Override 948 public void setCachedModel(boolean cachedModel); 949 950 @Override 951 public boolean isEscapedModel(); 952 953 @Override 954 public Serializable getPrimaryKeyObj(); 955 956 @Override 957 public void setPrimaryKeyObj(Serializable primaryKeyObj); 958 959 @Override 960 public ExpandoBridge getExpandoBridge(); 961 962 @Override 963 public void setExpandoBridgeAttributes(BaseModel<?> baseModel); 964 965 @Override 966 public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); 967 968 @Override 969 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 970 971 public String[] getAvailableLanguageIds(); 972 973 public String getDefaultLanguageId(); 974 975 public void prepareLocalizedFieldsForImport() throws LocaleException; 976 977 public void prepareLocalizedFieldsForImport(Locale defaultImportLocale) 978 throws LocaleException; 979 980 @Override 981 public Object clone(); 982 983 @Override 984 public int compareTo(JournalArticle journalArticle); 985 986 @Override 987 public int hashCode(); 988 989 @Override 990 public CacheModel<JournalArticle> toCacheModel(); 991 992 @Override 993 public JournalArticle toEscapedModel(); 994 995 @Override 996 public JournalArticle toUnescapedModel(); 997 998 @Override 999 public String toString(); 1000 1001 @Override 1002 public String toXmlString(); 1003 }