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