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