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.portal.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.SystemException; 022 import com.liferay.portal.service.ServiceContext; 023 024 import com.liferay.portlet.expando.model.ExpandoBridge; 025 026 import java.io.Serializable; 027 028 import java.util.Date; 029 import java.util.Locale; 030 import java.util.Map; 031 032 /** 033 * The base model interface for the LayoutRevision service. Represents a row in the "LayoutRevision" database table, with each column mapped to a property of this class. 034 * 035 * <p> 036 * This interface and its corresponding implementation {@link com.liferay.portal.model.impl.LayoutRevisionModelImpl} 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.portal.model.impl.LayoutRevisionImpl}. 037 * </p> 038 * 039 * @author Brian Wing Shun Chan 040 * @see LayoutRevision 041 * @see com.liferay.portal.model.impl.LayoutRevisionImpl 042 * @see com.liferay.portal.model.impl.LayoutRevisionModelImpl 043 * @generated 044 */ 045 @ProviderType 046 public interface LayoutRevisionModel extends BaseModel<LayoutRevision>, 047 GroupedModel, WorkflowedModel { 048 /* 049 * NOTE FOR DEVELOPERS: 050 * 051 * Never modify or reference this interface directly. All methods that expect a layout revision model instance should use the {@link LayoutRevision} interface instead. 052 */ 053 054 /** 055 * Returns the primary key of this layout revision. 056 * 057 * @return the primary key of this layout revision 058 */ 059 public long getPrimaryKey(); 060 061 /** 062 * Sets the primary key of this layout revision. 063 * 064 * @param primaryKey the primary key of this layout revision 065 */ 066 public void setPrimaryKey(long primaryKey); 067 068 /** 069 * Returns the layout revision ID of this layout revision. 070 * 071 * @return the layout revision ID of this layout revision 072 */ 073 public long getLayoutRevisionId(); 074 075 /** 076 * Sets the layout revision ID of this layout revision. 077 * 078 * @param layoutRevisionId the layout revision ID of this layout revision 079 */ 080 public void setLayoutRevisionId(long layoutRevisionId); 081 082 /** 083 * Returns the group ID of this layout revision. 084 * 085 * @return the group ID of this layout revision 086 */ 087 @Override 088 public long getGroupId(); 089 090 /** 091 * Sets the group ID of this layout revision. 092 * 093 * @param groupId the group ID of this layout revision 094 */ 095 @Override 096 public void setGroupId(long groupId); 097 098 /** 099 * Returns the company ID of this layout revision. 100 * 101 * @return the company ID of this layout revision 102 */ 103 @Override 104 public long getCompanyId(); 105 106 /** 107 * Sets the company ID of this layout revision. 108 * 109 * @param companyId the company ID of this layout revision 110 */ 111 @Override 112 public void setCompanyId(long companyId); 113 114 /** 115 * Returns the user ID of this layout revision. 116 * 117 * @return the user ID of this layout revision 118 */ 119 @Override 120 public long getUserId(); 121 122 /** 123 * Sets the user ID of this layout revision. 124 * 125 * @param userId the user ID of this layout revision 126 */ 127 @Override 128 public void setUserId(long userId); 129 130 /** 131 * Returns the user uuid of this layout revision. 132 * 133 * @return the user uuid of this layout revision 134 * @throws SystemException if a system exception occurred 135 */ 136 @Override 137 public String getUserUuid() throws SystemException; 138 139 /** 140 * Sets the user uuid of this layout revision. 141 * 142 * @param userUuid the user uuid of this layout revision 143 */ 144 @Override 145 public void setUserUuid(String userUuid); 146 147 /** 148 * Returns the user name of this layout revision. 149 * 150 * @return the user name of this layout revision 151 */ 152 @AutoEscape 153 @Override 154 public String getUserName(); 155 156 /** 157 * Sets the user name of this layout revision. 158 * 159 * @param userName the user name of this layout revision 160 */ 161 @Override 162 public void setUserName(String userName); 163 164 /** 165 * Returns the create date of this layout revision. 166 * 167 * @return the create date of this layout revision 168 */ 169 @Override 170 public Date getCreateDate(); 171 172 /** 173 * Sets the create date of this layout revision. 174 * 175 * @param createDate the create date of this layout revision 176 */ 177 @Override 178 public void setCreateDate(Date createDate); 179 180 /** 181 * Returns the modified date of this layout revision. 182 * 183 * @return the modified date of this layout revision 184 */ 185 @Override 186 public Date getModifiedDate(); 187 188 /** 189 * Sets the modified date of this layout revision. 190 * 191 * @param modifiedDate the modified date of this layout revision 192 */ 193 @Override 194 public void setModifiedDate(Date modifiedDate); 195 196 /** 197 * Returns the layout set branch ID of this layout revision. 198 * 199 * @return the layout set branch ID of this layout revision 200 */ 201 public long getLayoutSetBranchId(); 202 203 /** 204 * Sets the layout set branch ID of this layout revision. 205 * 206 * @param layoutSetBranchId the layout set branch ID of this layout revision 207 */ 208 public void setLayoutSetBranchId(long layoutSetBranchId); 209 210 /** 211 * Returns the layout branch ID of this layout revision. 212 * 213 * @return the layout branch ID of this layout revision 214 */ 215 public long getLayoutBranchId(); 216 217 /** 218 * Sets the layout branch ID of this layout revision. 219 * 220 * @param layoutBranchId the layout branch ID of this layout revision 221 */ 222 public void setLayoutBranchId(long layoutBranchId); 223 224 /** 225 * Returns the parent layout revision ID of this layout revision. 226 * 227 * @return the parent layout revision ID of this layout revision 228 */ 229 public long getParentLayoutRevisionId(); 230 231 /** 232 * Sets the parent layout revision ID of this layout revision. 233 * 234 * @param parentLayoutRevisionId the parent layout revision ID of this layout revision 235 */ 236 public void setParentLayoutRevisionId(long parentLayoutRevisionId); 237 238 /** 239 * Returns the head of this layout revision. 240 * 241 * @return the head of this layout revision 242 */ 243 public boolean getHead(); 244 245 /** 246 * Returns <code>true</code> if this layout revision is head. 247 * 248 * @return <code>true</code> if this layout revision is head; <code>false</code> otherwise 249 */ 250 public boolean isHead(); 251 252 /** 253 * Sets whether this layout revision is head. 254 * 255 * @param head the head of this layout revision 256 */ 257 public void setHead(boolean head); 258 259 /** 260 * Returns the major of this layout revision. 261 * 262 * @return the major of this layout revision 263 */ 264 public boolean getMajor(); 265 266 /** 267 * Returns <code>true</code> if this layout revision is major. 268 * 269 * @return <code>true</code> if this layout revision is major; <code>false</code> otherwise 270 */ 271 public boolean isMajor(); 272 273 /** 274 * Sets whether this layout revision is major. 275 * 276 * @param major the major of this layout revision 277 */ 278 public void setMajor(boolean major); 279 280 /** 281 * Returns the plid of this layout revision. 282 * 283 * @return the plid of this layout revision 284 */ 285 public long getPlid(); 286 287 /** 288 * Sets the plid of this layout revision. 289 * 290 * @param plid the plid of this layout revision 291 */ 292 public void setPlid(long plid); 293 294 /** 295 * Returns the private layout of this layout revision. 296 * 297 * @return the private layout of this layout revision 298 */ 299 public boolean getPrivateLayout(); 300 301 /** 302 * Returns <code>true</code> if this layout revision is private layout. 303 * 304 * @return <code>true</code> if this layout revision is private layout; <code>false</code> otherwise 305 */ 306 public boolean isPrivateLayout(); 307 308 /** 309 * Sets whether this layout revision is private layout. 310 * 311 * @param privateLayout the private layout of this layout revision 312 */ 313 public void setPrivateLayout(boolean privateLayout); 314 315 /** 316 * Returns the name of this layout revision. 317 * 318 * @return the name of this layout revision 319 */ 320 public String getName(); 321 322 /** 323 * Returns the localized name of this layout revision in the language. Uses the default language if no localization exists for the requested language. 324 * 325 * @param locale the locale of the language 326 * @return the localized name of this layout revision 327 */ 328 @AutoEscape 329 public String getName(Locale locale); 330 331 /** 332 * Returns the localized name of this layout revision in the language, optionally using the default language if no localization exists for the requested language. 333 * 334 * @param locale the local of the language 335 * @param useDefault whether to use the default language if no localization exists for the requested language 336 * @return the localized name of this layout revision. If <code>useDefault</code> is <code>false</code> and no localization exists for the requested language, an empty string will be returned. 337 */ 338 @AutoEscape 339 public String getName(Locale locale, boolean useDefault); 340 341 /** 342 * Returns the localized name of this layout revision in the language. Uses the default language if no localization exists for the requested language. 343 * 344 * @param languageId the ID of the language 345 * @return the localized name of this layout revision 346 */ 347 @AutoEscape 348 public String getName(String languageId); 349 350 /** 351 * Returns the localized name of this layout revision in the language, optionally using the default language if no localization exists for the requested language. 352 * 353 * @param languageId the ID of the language 354 * @param useDefault whether to use the default language if no localization exists for the requested language 355 * @return the localized name of this layout revision 356 */ 357 @AutoEscape 358 public String getName(String languageId, boolean useDefault); 359 360 @AutoEscape 361 public String getNameCurrentLanguageId(); 362 363 @AutoEscape 364 public String getNameCurrentValue(); 365 366 /** 367 * Returns a map of the locales and localized names of this layout revision. 368 * 369 * @return the locales and localized names of this layout revision 370 */ 371 public Map<Locale, String> getNameMap(); 372 373 /** 374 * Sets the name of this layout revision. 375 * 376 * @param name the name of this layout revision 377 */ 378 public void setName(String name); 379 380 /** 381 * Sets the localized name of this layout revision in the language. 382 * 383 * @param name the localized name of this layout revision 384 * @param locale the locale of the language 385 */ 386 public void setName(String name, Locale locale); 387 388 /** 389 * Sets the localized name of this layout revision in the language, and sets the default locale. 390 * 391 * @param name the localized name of this layout revision 392 * @param locale the locale of the language 393 * @param defaultLocale the default locale 394 */ 395 public void setName(String name, Locale locale, Locale defaultLocale); 396 397 public void setNameCurrentLanguageId(String languageId); 398 399 /** 400 * Sets the localized names of this layout revision from the map of locales and localized names. 401 * 402 * @param nameMap the locales and localized names of this layout revision 403 */ 404 public void setNameMap(Map<Locale, String> nameMap); 405 406 /** 407 * Sets the localized names of this layout revision from the map of locales and localized names, and sets the default locale. 408 * 409 * @param nameMap the locales and localized names of this layout revision 410 * @param defaultLocale the default locale 411 */ 412 public void setNameMap(Map<Locale, String> nameMap, Locale defaultLocale); 413 414 /** 415 * Returns the title of this layout revision. 416 * 417 * @return the title of this layout revision 418 */ 419 public String getTitle(); 420 421 /** 422 * Returns the localized title of this layout revision in the language. Uses the default language if no localization exists for the requested language. 423 * 424 * @param locale the locale of the language 425 * @return the localized title of this layout revision 426 */ 427 @AutoEscape 428 public String getTitle(Locale locale); 429 430 /** 431 * Returns the localized title of this layout revision in the language, optionally using the default language if no localization exists for the requested language. 432 * 433 * @param locale the local of the language 434 * @param useDefault whether to use the default language if no localization exists for the requested language 435 * @return the localized title of this layout revision. If <code>useDefault</code> is <code>false</code> and no localization exists for the requested language, an empty string will be returned. 436 */ 437 @AutoEscape 438 public String getTitle(Locale locale, boolean useDefault); 439 440 /** 441 * Returns the localized title of this layout revision in the language. Uses the default language if no localization exists for the requested language. 442 * 443 * @param languageId the ID of the language 444 * @return the localized title of this layout revision 445 */ 446 @AutoEscape 447 public String getTitle(String languageId); 448 449 /** 450 * Returns the localized title of this layout revision in the language, optionally using the default language if no localization exists for the requested language. 451 * 452 * @param languageId the ID of the language 453 * @param useDefault whether to use the default language if no localization exists for the requested language 454 * @return the localized title of this layout revision 455 */ 456 @AutoEscape 457 public String getTitle(String languageId, boolean useDefault); 458 459 @AutoEscape 460 public String getTitleCurrentLanguageId(); 461 462 @AutoEscape 463 public String getTitleCurrentValue(); 464 465 /** 466 * Returns a map of the locales and localized titles of this layout revision. 467 * 468 * @return the locales and localized titles of this layout revision 469 */ 470 public Map<Locale, String> getTitleMap(); 471 472 /** 473 * Sets the title of this layout revision. 474 * 475 * @param title the title of this layout revision 476 */ 477 public void setTitle(String title); 478 479 /** 480 * Sets the localized title of this layout revision in the language. 481 * 482 * @param title the localized title of this layout revision 483 * @param locale the locale of the language 484 */ 485 public void setTitle(String title, Locale locale); 486 487 /** 488 * Sets the localized title of this layout revision in the language, and sets the default locale. 489 * 490 * @param title the localized title of this layout revision 491 * @param locale the locale of the language 492 * @param defaultLocale the default locale 493 */ 494 public void setTitle(String title, Locale locale, Locale defaultLocale); 495 496 public void setTitleCurrentLanguageId(String languageId); 497 498 /** 499 * Sets the localized titles of this layout revision from the map of locales and localized titles. 500 * 501 * @param titleMap the locales and localized titles of this layout revision 502 */ 503 public void setTitleMap(Map<Locale, String> titleMap); 504 505 /** 506 * Sets the localized titles of this layout revision from the map of locales and localized titles, and sets the default locale. 507 * 508 * @param titleMap the locales and localized titles of this layout revision 509 * @param defaultLocale the default locale 510 */ 511 public void setTitleMap(Map<Locale, String> titleMap, Locale defaultLocale); 512 513 /** 514 * Returns the description of this layout revision. 515 * 516 * @return the description of this layout revision 517 */ 518 public String getDescription(); 519 520 /** 521 * Returns the localized description of this layout revision in the language. Uses the default language if no localization exists for the requested language. 522 * 523 * @param locale the locale of the language 524 * @return the localized description of this layout revision 525 */ 526 @AutoEscape 527 public String getDescription(Locale locale); 528 529 /** 530 * Returns the localized description of this layout revision in the language, optionally using the default language if no localization exists for the requested language. 531 * 532 * @param locale the local of the language 533 * @param useDefault whether to use the default language if no localization exists for the requested language 534 * @return the localized description of this layout revision. If <code>useDefault</code> is <code>false</code> and no localization exists for the requested language, an empty string will be returned. 535 */ 536 @AutoEscape 537 public String getDescription(Locale locale, boolean useDefault); 538 539 /** 540 * Returns the localized description of this layout revision in the language. Uses the default language if no localization exists for the requested language. 541 * 542 * @param languageId the ID of the language 543 * @return the localized description of this layout revision 544 */ 545 @AutoEscape 546 public String getDescription(String languageId); 547 548 /** 549 * Returns the localized description of this layout revision in the language, optionally using the default language if no localization exists for the requested language. 550 * 551 * @param languageId the ID of the language 552 * @param useDefault whether to use the default language if no localization exists for the requested language 553 * @return the localized description of this layout revision 554 */ 555 @AutoEscape 556 public String getDescription(String languageId, boolean useDefault); 557 558 @AutoEscape 559 public String getDescriptionCurrentLanguageId(); 560 561 @AutoEscape 562 public String getDescriptionCurrentValue(); 563 564 /** 565 * Returns a map of the locales and localized descriptions of this layout revision. 566 * 567 * @return the locales and localized descriptions of this layout revision 568 */ 569 public Map<Locale, String> getDescriptionMap(); 570 571 /** 572 * Sets the description of this layout revision. 573 * 574 * @param description the description of this layout revision 575 */ 576 public void setDescription(String description); 577 578 /** 579 * Sets the localized description of this layout revision in the language. 580 * 581 * @param description the localized description of this layout revision 582 * @param locale the locale of the language 583 */ 584 public void setDescription(String description, Locale locale); 585 586 /** 587 * Sets the localized description of this layout revision in the language, and sets the default locale. 588 * 589 * @param description the localized description of this layout revision 590 * @param locale the locale of the language 591 * @param defaultLocale the default locale 592 */ 593 public void setDescription(String description, Locale locale, 594 Locale defaultLocale); 595 596 public void setDescriptionCurrentLanguageId(String languageId); 597 598 /** 599 * Sets the localized descriptions of this layout revision from the map of locales and localized descriptions. 600 * 601 * @param descriptionMap the locales and localized descriptions of this layout revision 602 */ 603 public void setDescriptionMap(Map<Locale, String> descriptionMap); 604 605 /** 606 * Sets the localized descriptions of this layout revision from the map of locales and localized descriptions, and sets the default locale. 607 * 608 * @param descriptionMap the locales and localized descriptions of this layout revision 609 * @param defaultLocale the default locale 610 */ 611 public void setDescriptionMap(Map<Locale, String> descriptionMap, 612 Locale defaultLocale); 613 614 /** 615 * Returns the keywords of this layout revision. 616 * 617 * @return the keywords of this layout revision 618 */ 619 public String getKeywords(); 620 621 /** 622 * Returns the localized keywords of this layout revision in the language. Uses the default language if no localization exists for the requested language. 623 * 624 * @param locale the locale of the language 625 * @return the localized keywords of this layout revision 626 */ 627 @AutoEscape 628 public String getKeywords(Locale locale); 629 630 /** 631 * Returns the localized keywords of this layout revision in the language, optionally using the default language if no localization exists for the requested language. 632 * 633 * @param locale the local of the language 634 * @param useDefault whether to use the default language if no localization exists for the requested language 635 * @return the localized keywords of this layout revision. If <code>useDefault</code> is <code>false</code> and no localization exists for the requested language, an empty string will be returned. 636 */ 637 @AutoEscape 638 public String getKeywords(Locale locale, boolean useDefault); 639 640 /** 641 * Returns the localized keywords of this layout revision in the language. Uses the default language if no localization exists for the requested language. 642 * 643 * @param languageId the ID of the language 644 * @return the localized keywords of this layout revision 645 */ 646 @AutoEscape 647 public String getKeywords(String languageId); 648 649 /** 650 * Returns the localized keywords of this layout revision in the language, optionally using the default language if no localization exists for the requested language. 651 * 652 * @param languageId the ID of the language 653 * @param useDefault whether to use the default language if no localization exists for the requested language 654 * @return the localized keywords of this layout revision 655 */ 656 @AutoEscape 657 public String getKeywords(String languageId, boolean useDefault); 658 659 @AutoEscape 660 public String getKeywordsCurrentLanguageId(); 661 662 @AutoEscape 663 public String getKeywordsCurrentValue(); 664 665 /** 666 * Returns a map of the locales and localized keywordses of this layout revision. 667 * 668 * @return the locales and localized keywordses of this layout revision 669 */ 670 public Map<Locale, String> getKeywordsMap(); 671 672 /** 673 * Sets the keywords of this layout revision. 674 * 675 * @param keywords the keywords of this layout revision 676 */ 677 public void setKeywords(String keywords); 678 679 /** 680 * Sets the localized keywords of this layout revision in the language. 681 * 682 * @param keywords the localized keywords of this layout revision 683 * @param locale the locale of the language 684 */ 685 public void setKeywords(String keywords, Locale locale); 686 687 /** 688 * Sets the localized keywords of this layout revision in the language, and sets the default locale. 689 * 690 * @param keywords the localized keywords of this layout revision 691 * @param locale the locale of the language 692 * @param defaultLocale the default locale 693 */ 694 public void setKeywords(String keywords, Locale locale, Locale defaultLocale); 695 696 public void setKeywordsCurrentLanguageId(String languageId); 697 698 /** 699 * Sets the localized keywordses of this layout revision from the map of locales and localized keywordses. 700 * 701 * @param keywordsMap the locales and localized keywordses of this layout revision 702 */ 703 public void setKeywordsMap(Map<Locale, String> keywordsMap); 704 705 /** 706 * Sets the localized keywordses of this layout revision from the map of locales and localized keywordses, and sets the default locale. 707 * 708 * @param keywordsMap the locales and localized keywordses of this layout revision 709 * @param defaultLocale the default locale 710 */ 711 public void setKeywordsMap(Map<Locale, String> keywordsMap, 712 Locale defaultLocale); 713 714 /** 715 * Returns the robots of this layout revision. 716 * 717 * @return the robots of this layout revision 718 */ 719 public String getRobots(); 720 721 /** 722 * Returns the localized robots of this layout revision in the language. Uses the default language if no localization exists for the requested language. 723 * 724 * @param locale the locale of the language 725 * @return the localized robots of this layout revision 726 */ 727 @AutoEscape 728 public String getRobots(Locale locale); 729 730 /** 731 * Returns the localized robots of this layout revision in the language, optionally using the default language if no localization exists for the requested language. 732 * 733 * @param locale the local of the language 734 * @param useDefault whether to use the default language if no localization exists for the requested language 735 * @return the localized robots of this layout revision. If <code>useDefault</code> is <code>false</code> and no localization exists for the requested language, an empty string will be returned. 736 */ 737 @AutoEscape 738 public String getRobots(Locale locale, boolean useDefault); 739 740 /** 741 * Returns the localized robots of this layout revision in the language. Uses the default language if no localization exists for the requested language. 742 * 743 * @param languageId the ID of the language 744 * @return the localized robots of this layout revision 745 */ 746 @AutoEscape 747 public String getRobots(String languageId); 748 749 /** 750 * Returns the localized robots of this layout revision in the language, optionally using the default language if no localization exists for the requested language. 751 * 752 * @param languageId the ID of the language 753 * @param useDefault whether to use the default language if no localization exists for the requested language 754 * @return the localized robots of this layout revision 755 */ 756 @AutoEscape 757 public String getRobots(String languageId, boolean useDefault); 758 759 @AutoEscape 760 public String getRobotsCurrentLanguageId(); 761 762 @AutoEscape 763 public String getRobotsCurrentValue(); 764 765 /** 766 * Returns a map of the locales and localized robotses of this layout revision. 767 * 768 * @return the locales and localized robotses of this layout revision 769 */ 770 public Map<Locale, String> getRobotsMap(); 771 772 /** 773 * Sets the robots of this layout revision. 774 * 775 * @param robots the robots of this layout revision 776 */ 777 public void setRobots(String robots); 778 779 /** 780 * Sets the localized robots of this layout revision in the language. 781 * 782 * @param robots the localized robots of this layout revision 783 * @param locale the locale of the language 784 */ 785 public void setRobots(String robots, Locale locale); 786 787 /** 788 * Sets the localized robots of this layout revision in the language, and sets the default locale. 789 * 790 * @param robots the localized robots of this layout revision 791 * @param locale the locale of the language 792 * @param defaultLocale the default locale 793 */ 794 public void setRobots(String robots, Locale locale, Locale defaultLocale); 795 796 public void setRobotsCurrentLanguageId(String languageId); 797 798 /** 799 * Sets the localized robotses of this layout revision from the map of locales and localized robotses. 800 * 801 * @param robotsMap the locales and localized robotses of this layout revision 802 */ 803 public void setRobotsMap(Map<Locale, String> robotsMap); 804 805 /** 806 * Sets the localized robotses of this layout revision from the map of locales and localized robotses, and sets the default locale. 807 * 808 * @param robotsMap the locales and localized robotses of this layout revision 809 * @param defaultLocale the default locale 810 */ 811 public void setRobotsMap(Map<Locale, String> robotsMap, Locale defaultLocale); 812 813 /** 814 * Returns the type settings of this layout revision. 815 * 816 * @return the type settings of this layout revision 817 */ 818 @AutoEscape 819 public String getTypeSettings(); 820 821 /** 822 * Sets the type settings of this layout revision. 823 * 824 * @param typeSettings the type settings of this layout revision 825 */ 826 public void setTypeSettings(String typeSettings); 827 828 /** 829 * Returns the icon image of this layout revision. 830 * 831 * @return the icon image of this layout revision 832 */ 833 public boolean getIconImage(); 834 835 /** 836 * Returns <code>true</code> if this layout revision is icon image. 837 * 838 * @return <code>true</code> if this layout revision is icon image; <code>false</code> otherwise 839 */ 840 public boolean isIconImage(); 841 842 /** 843 * Sets whether this layout revision is icon image. 844 * 845 * @param iconImage the icon image of this layout revision 846 */ 847 public void setIconImage(boolean iconImage); 848 849 /** 850 * Returns the icon image ID of this layout revision. 851 * 852 * @return the icon image ID of this layout revision 853 */ 854 public long getIconImageId(); 855 856 /** 857 * Sets the icon image ID of this layout revision. 858 * 859 * @param iconImageId the icon image ID of this layout revision 860 */ 861 public void setIconImageId(long iconImageId); 862 863 /** 864 * Returns the theme ID of this layout revision. 865 * 866 * @return the theme ID of this layout revision 867 */ 868 @AutoEscape 869 public String getThemeId(); 870 871 /** 872 * Sets the theme ID of this layout revision. 873 * 874 * @param themeId the theme ID of this layout revision 875 */ 876 public void setThemeId(String themeId); 877 878 /** 879 * Returns the color scheme ID of this layout revision. 880 * 881 * @return the color scheme ID of this layout revision 882 */ 883 @AutoEscape 884 public String getColorSchemeId(); 885 886 /** 887 * Sets the color scheme ID of this layout revision. 888 * 889 * @param colorSchemeId the color scheme ID of this layout revision 890 */ 891 public void setColorSchemeId(String colorSchemeId); 892 893 /** 894 * Returns the wap theme ID of this layout revision. 895 * 896 * @return the wap theme ID of this layout revision 897 */ 898 @AutoEscape 899 public String getWapThemeId(); 900 901 /** 902 * Sets the wap theme ID of this layout revision. 903 * 904 * @param wapThemeId the wap theme ID of this layout revision 905 */ 906 public void setWapThemeId(String wapThemeId); 907 908 /** 909 * Returns the wap color scheme ID of this layout revision. 910 * 911 * @return the wap color scheme ID of this layout revision 912 */ 913 @AutoEscape 914 public String getWapColorSchemeId(); 915 916 /** 917 * Sets the wap color scheme ID of this layout revision. 918 * 919 * @param wapColorSchemeId the wap color scheme ID of this layout revision 920 */ 921 public void setWapColorSchemeId(String wapColorSchemeId); 922 923 /** 924 * Returns the css of this layout revision. 925 * 926 * @return the css of this layout revision 927 */ 928 @AutoEscape 929 public String getCss(); 930 931 /** 932 * Sets the css of this layout revision. 933 * 934 * @param css the css of this layout revision 935 */ 936 public void setCss(String css); 937 938 /** 939 * Returns the status of this layout revision. 940 * 941 * @return the status of this layout revision 942 */ 943 @Override 944 public int getStatus(); 945 946 /** 947 * Sets the status of this layout revision. 948 * 949 * @param status the status of this layout revision 950 */ 951 @Override 952 public void setStatus(int status); 953 954 /** 955 * Returns the status by user ID of this layout revision. 956 * 957 * @return the status by user ID of this layout revision 958 */ 959 @Override 960 public long getStatusByUserId(); 961 962 /** 963 * Sets the status by user ID of this layout revision. 964 * 965 * @param statusByUserId the status by user ID of this layout revision 966 */ 967 @Override 968 public void setStatusByUserId(long statusByUserId); 969 970 /** 971 * Returns the status by user uuid of this layout revision. 972 * 973 * @return the status by user uuid of this layout revision 974 * @throws SystemException if a system exception occurred 975 */ 976 @Override 977 public String getStatusByUserUuid() throws SystemException; 978 979 /** 980 * Sets the status by user uuid of this layout revision. 981 * 982 * @param statusByUserUuid the status by user uuid of this layout revision 983 */ 984 @Override 985 public void setStatusByUserUuid(String statusByUserUuid); 986 987 /** 988 * Returns the status by user name of this layout revision. 989 * 990 * @return the status by user name of this layout revision 991 */ 992 @AutoEscape 993 @Override 994 public String getStatusByUserName(); 995 996 /** 997 * Sets the status by user name of this layout revision. 998 * 999 * @param statusByUserName the status by user name of this layout revision 1000 */ 1001 @Override 1002 public void setStatusByUserName(String statusByUserName); 1003 1004 /** 1005 * Returns the status date of this layout revision. 1006 * 1007 * @return the status date of this layout revision 1008 */ 1009 @Override 1010 public Date getStatusDate(); 1011 1012 /** 1013 * Sets the status date of this layout revision. 1014 * 1015 * @param statusDate the status date of this layout revision 1016 */ 1017 @Override 1018 public void setStatusDate(Date statusDate); 1019 1020 /** 1021 * @deprecated As of 6.1.0, replaced by {@link #isApproved()} 1022 */ 1023 @Override 1024 public boolean getApproved(); 1025 1026 /** 1027 * Returns <code>true</code> if this layout revision is approved. 1028 * 1029 * @return <code>true</code> if this layout revision is approved; <code>false</code> otherwise 1030 */ 1031 @Override 1032 public boolean isApproved(); 1033 1034 /** 1035 * Returns <code>true</code> if this layout revision is denied. 1036 * 1037 * @return <code>true</code> if this layout revision is denied; <code>false</code> otherwise 1038 */ 1039 @Override 1040 public boolean isDenied(); 1041 1042 /** 1043 * Returns <code>true</code> if this layout revision is a draft. 1044 * 1045 * @return <code>true</code> if this layout revision is a draft; <code>false</code> otherwise 1046 */ 1047 @Override 1048 public boolean isDraft(); 1049 1050 /** 1051 * Returns <code>true</code> if this layout revision is expired. 1052 * 1053 * @return <code>true</code> if this layout revision is expired; <code>false</code> otherwise 1054 */ 1055 @Override 1056 public boolean isExpired(); 1057 1058 /** 1059 * Returns <code>true</code> if this layout revision is inactive. 1060 * 1061 * @return <code>true</code> if this layout revision is inactive; <code>false</code> otherwise 1062 */ 1063 @Override 1064 public boolean isInactive(); 1065 1066 /** 1067 * Returns <code>true</code> if this layout revision is incomplete. 1068 * 1069 * @return <code>true</code> if this layout revision is incomplete; <code>false</code> otherwise 1070 */ 1071 @Override 1072 public boolean isIncomplete(); 1073 1074 /** 1075 * Returns <code>true</code> if this layout revision is pending. 1076 * 1077 * @return <code>true</code> if this layout revision is pending; <code>false</code> otherwise 1078 */ 1079 @Override 1080 public boolean isPending(); 1081 1082 /** 1083 * Returns <code>true</code> if this layout revision is scheduled. 1084 * 1085 * @return <code>true</code> if this layout revision is scheduled; <code>false</code> otherwise 1086 */ 1087 @Override 1088 public boolean isScheduled(); 1089 1090 @Override 1091 public boolean isNew(); 1092 1093 @Override 1094 public void setNew(boolean n); 1095 1096 @Override 1097 public boolean isCachedModel(); 1098 1099 @Override 1100 public void setCachedModel(boolean cachedModel); 1101 1102 @Override 1103 public boolean isEscapedModel(); 1104 1105 @Override 1106 public Serializable getPrimaryKeyObj(); 1107 1108 @Override 1109 public void setPrimaryKeyObj(Serializable primaryKeyObj); 1110 1111 @Override 1112 public ExpandoBridge getExpandoBridge(); 1113 1114 @Override 1115 public void setExpandoBridgeAttributes(BaseModel<?> baseModel); 1116 1117 @Override 1118 public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); 1119 1120 @Override 1121 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 1122 1123 public String[] getAvailableLanguageIds(); 1124 1125 public String getDefaultLanguageId(); 1126 1127 public void prepareLocalizedFieldsForImport() throws LocaleException; 1128 1129 public void prepareLocalizedFieldsForImport(Locale defaultImportLocale) 1130 throws LocaleException; 1131 1132 @Override 1133 public Object clone(); 1134 1135 @Override 1136 public int compareTo(LayoutRevision layoutRevision); 1137 1138 @Override 1139 public int hashCode(); 1140 1141 @Override 1142 public CacheModel<LayoutRevision> toCacheModel(); 1143 1144 @Override 1145 public LayoutRevision toEscapedModel(); 1146 1147 @Override 1148 public LayoutRevision toUnescapedModel(); 1149 1150 @Override 1151 public String toString(); 1152 1153 @Override 1154 public String toXmlString(); 1155 }