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