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