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