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