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