001 /** 002 * Copyright (c) 2000-2011 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 /** 018 * <p> 019 * This class is a wrapper for {@link LayoutRevision}. 020 * </p> 021 * 022 * @author Brian Wing Shun Chan 023 * @see LayoutRevision 024 * @generated 025 */ 026 public class LayoutRevisionWrapper implements LayoutRevision { 027 public LayoutRevisionWrapper(LayoutRevision layoutRevision) { 028 _layoutRevision = layoutRevision; 029 } 030 031 public Class<?> getModelClass() { 032 return LayoutRevision.class; 033 } 034 035 public String getModelClassName() { 036 return LayoutRevision.class.getName(); 037 } 038 039 /** 040 * Returns the primary key of this layout revision. 041 * 042 * @return the primary key of this layout revision 043 */ 044 public long getPrimaryKey() { 045 return _layoutRevision.getPrimaryKey(); 046 } 047 048 /** 049 * Sets the primary key of this layout revision. 050 * 051 * @param primaryKey the primary key of this layout revision 052 */ 053 public void setPrimaryKey(long primaryKey) { 054 _layoutRevision.setPrimaryKey(primaryKey); 055 } 056 057 /** 058 * Returns the layout revision ID of this layout revision. 059 * 060 * @return the layout revision ID of this layout revision 061 */ 062 public long getLayoutRevisionId() { 063 return _layoutRevision.getLayoutRevisionId(); 064 } 065 066 /** 067 * Sets the layout revision ID of this layout revision. 068 * 069 * @param layoutRevisionId the layout revision ID of this layout revision 070 */ 071 public void setLayoutRevisionId(long layoutRevisionId) { 072 _layoutRevision.setLayoutRevisionId(layoutRevisionId); 073 } 074 075 /** 076 * Returns the group ID of this layout revision. 077 * 078 * @return the group ID of this layout revision 079 */ 080 public long getGroupId() { 081 return _layoutRevision.getGroupId(); 082 } 083 084 /** 085 * Sets the group ID of this layout revision. 086 * 087 * @param groupId the group ID of this layout revision 088 */ 089 public void setGroupId(long groupId) { 090 _layoutRevision.setGroupId(groupId); 091 } 092 093 /** 094 * Returns the company ID of this layout revision. 095 * 096 * @return the company ID of this layout revision 097 */ 098 public long getCompanyId() { 099 return _layoutRevision.getCompanyId(); 100 } 101 102 /** 103 * Sets the company ID of this layout revision. 104 * 105 * @param companyId the company ID of this layout revision 106 */ 107 public void setCompanyId(long companyId) { 108 _layoutRevision.setCompanyId(companyId); 109 } 110 111 /** 112 * Returns the user ID of this layout revision. 113 * 114 * @return the user ID of this layout revision 115 */ 116 public long getUserId() { 117 return _layoutRevision.getUserId(); 118 } 119 120 /** 121 * Sets the user ID of this layout revision. 122 * 123 * @param userId the user ID of this layout revision 124 */ 125 public void setUserId(long userId) { 126 _layoutRevision.setUserId(userId); 127 } 128 129 /** 130 * Returns the user uuid of this layout revision. 131 * 132 * @return the user uuid of this layout revision 133 * @throws SystemException if a system exception occurred 134 */ 135 public java.lang.String getUserUuid() 136 throws com.liferay.portal.kernel.exception.SystemException { 137 return _layoutRevision.getUserUuid(); 138 } 139 140 /** 141 * Sets the user uuid of this layout revision. 142 * 143 * @param userUuid the user uuid of this layout revision 144 */ 145 public void setUserUuid(java.lang.String userUuid) { 146 _layoutRevision.setUserUuid(userUuid); 147 } 148 149 /** 150 * Returns the user name of this layout revision. 151 * 152 * @return the user name of this layout revision 153 */ 154 public java.lang.String getUserName() { 155 return _layoutRevision.getUserName(); 156 } 157 158 /** 159 * Sets the user name of this layout revision. 160 * 161 * @param userName the user name of this layout revision 162 */ 163 public void setUserName(java.lang.String userName) { 164 _layoutRevision.setUserName(userName); 165 } 166 167 /** 168 * Returns the create date of this layout revision. 169 * 170 * @return the create date of this layout revision 171 */ 172 public java.util.Date getCreateDate() { 173 return _layoutRevision.getCreateDate(); 174 } 175 176 /** 177 * Sets the create date of this layout revision. 178 * 179 * @param createDate the create date of this layout revision 180 */ 181 public void setCreateDate(java.util.Date createDate) { 182 _layoutRevision.setCreateDate(createDate); 183 } 184 185 /** 186 * Returns the modified date of this layout revision. 187 * 188 * @return the modified date of this layout revision 189 */ 190 public java.util.Date getModifiedDate() { 191 return _layoutRevision.getModifiedDate(); 192 } 193 194 /** 195 * Sets the modified date of this layout revision. 196 * 197 * @param modifiedDate the modified date of this layout revision 198 */ 199 public void setModifiedDate(java.util.Date modifiedDate) { 200 _layoutRevision.setModifiedDate(modifiedDate); 201 } 202 203 /** 204 * Returns the layout set branch ID of this layout revision. 205 * 206 * @return the layout set branch ID of this layout revision 207 */ 208 public long getLayoutSetBranchId() { 209 return _layoutRevision.getLayoutSetBranchId(); 210 } 211 212 /** 213 * Sets the layout set branch ID of this layout revision. 214 * 215 * @param layoutSetBranchId the layout set branch ID of this layout revision 216 */ 217 public void setLayoutSetBranchId(long layoutSetBranchId) { 218 _layoutRevision.setLayoutSetBranchId(layoutSetBranchId); 219 } 220 221 /** 222 * Returns the layout branch ID of this layout revision. 223 * 224 * @return the layout branch ID of this layout revision 225 */ 226 public long getLayoutBranchId() { 227 return _layoutRevision.getLayoutBranchId(); 228 } 229 230 /** 231 * Sets the layout branch ID of this layout revision. 232 * 233 * @param layoutBranchId the layout branch ID of this layout revision 234 */ 235 public void setLayoutBranchId(long layoutBranchId) { 236 _layoutRevision.setLayoutBranchId(layoutBranchId); 237 } 238 239 /** 240 * Returns the parent layout revision ID of this layout revision. 241 * 242 * @return the parent layout revision ID of this layout revision 243 */ 244 public long getParentLayoutRevisionId() { 245 return _layoutRevision.getParentLayoutRevisionId(); 246 } 247 248 /** 249 * Sets the parent layout revision ID of this layout revision. 250 * 251 * @param parentLayoutRevisionId the parent layout revision ID of this layout revision 252 */ 253 public void setParentLayoutRevisionId(long parentLayoutRevisionId) { 254 _layoutRevision.setParentLayoutRevisionId(parentLayoutRevisionId); 255 } 256 257 /** 258 * Returns the head of this layout revision. 259 * 260 * @return the head of this layout revision 261 */ 262 public boolean getHead() { 263 return _layoutRevision.getHead(); 264 } 265 266 /** 267 * Returns <code>true</code> if this layout revision is head. 268 * 269 * @return <code>true</code> if this layout revision is head; <code>false</code> otherwise 270 */ 271 public boolean isHead() { 272 return _layoutRevision.isHead(); 273 } 274 275 /** 276 * Sets whether this layout revision is head. 277 * 278 * @param head the head of this layout revision 279 */ 280 public void setHead(boolean head) { 281 _layoutRevision.setHead(head); 282 } 283 284 /** 285 * Returns the major of this layout revision. 286 * 287 * @return the major of this layout revision 288 */ 289 public boolean getMajor() { 290 return _layoutRevision.getMajor(); 291 } 292 293 /** 294 * Returns <code>true</code> if this layout revision is major. 295 * 296 * @return <code>true</code> if this layout revision is major; <code>false</code> otherwise 297 */ 298 public boolean isMajor() { 299 return _layoutRevision.isMajor(); 300 } 301 302 /** 303 * Sets whether this layout revision is major. 304 * 305 * @param major the major of this layout revision 306 */ 307 public void setMajor(boolean major) { 308 _layoutRevision.setMajor(major); 309 } 310 311 /** 312 * Returns the plid of this layout revision. 313 * 314 * @return the plid of this layout revision 315 */ 316 public long getPlid() { 317 return _layoutRevision.getPlid(); 318 } 319 320 /** 321 * Sets the plid of this layout revision. 322 * 323 * @param plid the plid of this layout revision 324 */ 325 public void setPlid(long plid) { 326 _layoutRevision.setPlid(plid); 327 } 328 329 /** 330 * Returns the private layout of this layout revision. 331 * 332 * @return the private layout of this layout revision 333 */ 334 public boolean getPrivateLayout() { 335 return _layoutRevision.getPrivateLayout(); 336 } 337 338 /** 339 * Returns <code>true</code> if this layout revision is private layout. 340 * 341 * @return <code>true</code> if this layout revision is private layout; <code>false</code> otherwise 342 */ 343 public boolean isPrivateLayout() { 344 return _layoutRevision.isPrivateLayout(); 345 } 346 347 /** 348 * Sets whether this layout revision is private layout. 349 * 350 * @param privateLayout the private layout of this layout revision 351 */ 352 public void setPrivateLayout(boolean privateLayout) { 353 _layoutRevision.setPrivateLayout(privateLayout); 354 } 355 356 /** 357 * Returns the name of this layout revision. 358 * 359 * @return the name of this layout revision 360 */ 361 public java.lang.String getName() { 362 return _layoutRevision.getName(); 363 } 364 365 /** 366 * Returns the localized name of this layout revision in the language. Uses the default language if no localization exists for the requested language. 367 * 368 * @param locale the locale of the language 369 * @return the localized name of this layout revision 370 */ 371 public java.lang.String getName(java.util.Locale locale) { 372 return _layoutRevision.getName(locale); 373 } 374 375 /** 376 * Returns the localized name of this layout revision in the language, optionally using the default language if no localization exists for the requested language. 377 * 378 * @param locale the local of the language 379 * @param useDefault whether to use the default language if no localization exists for the requested language 380 * @return the localized name of this layout revision. If <code>useDefault</code> is <code>false</code> and no localization exists for the requested language, an empty string will be returned. 381 */ 382 public java.lang.String getName(java.util.Locale locale, boolean useDefault) { 383 return _layoutRevision.getName(locale, useDefault); 384 } 385 386 /** 387 * Returns the localized name of this layout revision in the language. Uses the default language if no localization exists for the requested language. 388 * 389 * @param languageId the ID of the language 390 * @return the localized name of this layout revision 391 */ 392 public java.lang.String getName(java.lang.String languageId) { 393 return _layoutRevision.getName(languageId); 394 } 395 396 /** 397 * Returns the localized name of this layout revision in the language, optionally using the default language if no localization exists for the requested language. 398 * 399 * @param languageId the ID of the language 400 * @param useDefault whether to use the default language if no localization exists for the requested language 401 * @return the localized name of this layout revision 402 */ 403 public java.lang.String getName(java.lang.String languageId, 404 boolean useDefault) { 405 return _layoutRevision.getName(languageId, useDefault); 406 } 407 408 public java.lang.String getNameCurrentLanguageId() { 409 return _layoutRevision.getNameCurrentLanguageId(); 410 } 411 412 public java.lang.String getNameCurrentValue() { 413 return _layoutRevision.getNameCurrentValue(); 414 } 415 416 /** 417 * Returns a map of the locales and localized names of this layout revision. 418 * 419 * @return the locales and localized names of this layout revision 420 */ 421 public java.util.Map<java.util.Locale, java.lang.String> getNameMap() { 422 return _layoutRevision.getNameMap(); 423 } 424 425 /** 426 * Sets the name of this layout revision. 427 * 428 * @param name the name of this layout revision 429 */ 430 public void setName(java.lang.String name) { 431 _layoutRevision.setName(name); 432 } 433 434 /** 435 * Sets the localized name of this layout revision in the language. 436 * 437 * @param name the localized name of this layout revision 438 * @param locale the locale of the language 439 */ 440 public void setName(java.lang.String name, java.util.Locale locale) { 441 _layoutRevision.setName(name, locale); 442 } 443 444 /** 445 * Sets the localized name of this layout revision in the language, and sets the default locale. 446 * 447 * @param name the localized name of this layout revision 448 * @param locale the locale of the language 449 * @param defaultLocale the default locale 450 */ 451 public void setName(java.lang.String name, java.util.Locale locale, 452 java.util.Locale defaultLocale) { 453 _layoutRevision.setName(name, locale, defaultLocale); 454 } 455 456 public void setNameCurrentLanguageId(java.lang.String languageId) { 457 _layoutRevision.setNameCurrentLanguageId(languageId); 458 } 459 460 /** 461 * Sets the localized names of this layout revision from the map of locales and localized names. 462 * 463 * @param nameMap the locales and localized names of this layout revision 464 */ 465 public void setNameMap( 466 java.util.Map<java.util.Locale, java.lang.String> nameMap) { 467 _layoutRevision.setNameMap(nameMap); 468 } 469 470 /** 471 * Sets the localized names of this layout revision from the map of locales and localized names, and sets the default locale. 472 * 473 * @param nameMap the locales and localized names of this layout revision 474 * @param defaultLocale the default locale 475 */ 476 public void setNameMap( 477 java.util.Map<java.util.Locale, java.lang.String> nameMap, 478 java.util.Locale defaultLocale) { 479 _layoutRevision.setNameMap(nameMap, defaultLocale); 480 } 481 482 /** 483 * Returns the title of this layout revision. 484 * 485 * @return the title of this layout revision 486 */ 487 public java.lang.String getTitle() { 488 return _layoutRevision.getTitle(); 489 } 490 491 /** 492 * Returns the localized title of this layout revision in the language. Uses the default language if no localization exists for the requested language. 493 * 494 * @param locale the locale of the language 495 * @return the localized title of this layout revision 496 */ 497 public java.lang.String getTitle(java.util.Locale locale) { 498 return _layoutRevision.getTitle(locale); 499 } 500 501 /** 502 * Returns the localized title of this layout revision in the language, optionally using the default language if no localization exists for the requested language. 503 * 504 * @param locale the local of the language 505 * @param useDefault whether to use the default language if no localization exists for the requested language 506 * @return the localized title of this layout revision. If <code>useDefault</code> is <code>false</code> and no localization exists for the requested language, an empty string will be returned. 507 */ 508 public java.lang.String getTitle(java.util.Locale locale, boolean useDefault) { 509 return _layoutRevision.getTitle(locale, useDefault); 510 } 511 512 /** 513 * Returns the localized title of this layout revision in the language. Uses the default language if no localization exists for the requested language. 514 * 515 * @param languageId the ID of the language 516 * @return the localized title of this layout revision 517 */ 518 public java.lang.String getTitle(java.lang.String languageId) { 519 return _layoutRevision.getTitle(languageId); 520 } 521 522 /** 523 * Returns the localized title of this layout revision in the language, optionally using the default language if no localization exists for the requested language. 524 * 525 * @param languageId the ID of the language 526 * @param useDefault whether to use the default language if no localization exists for the requested language 527 * @return the localized title of this layout revision 528 */ 529 public java.lang.String getTitle(java.lang.String languageId, 530 boolean useDefault) { 531 return _layoutRevision.getTitle(languageId, useDefault); 532 } 533 534 public java.lang.String getTitleCurrentLanguageId() { 535 return _layoutRevision.getTitleCurrentLanguageId(); 536 } 537 538 public java.lang.String getTitleCurrentValue() { 539 return _layoutRevision.getTitleCurrentValue(); 540 } 541 542 /** 543 * Returns a map of the locales and localized titles of this layout revision. 544 * 545 * @return the locales and localized titles of this layout revision 546 */ 547 public java.util.Map<java.util.Locale, java.lang.String> getTitleMap() { 548 return _layoutRevision.getTitleMap(); 549 } 550 551 /** 552 * Sets the title of this layout revision. 553 * 554 * @param title the title of this layout revision 555 */ 556 public void setTitle(java.lang.String title) { 557 _layoutRevision.setTitle(title); 558 } 559 560 /** 561 * Sets the localized title of this layout revision in the language. 562 * 563 * @param title the localized title of this layout revision 564 * @param locale the locale of the language 565 */ 566 public void setTitle(java.lang.String title, java.util.Locale locale) { 567 _layoutRevision.setTitle(title, locale); 568 } 569 570 /** 571 * Sets the localized title of this layout revision in the language, and sets the default locale. 572 * 573 * @param title the localized title of this layout revision 574 * @param locale the locale of the language 575 * @param defaultLocale the default locale 576 */ 577 public void setTitle(java.lang.String title, java.util.Locale locale, 578 java.util.Locale defaultLocale) { 579 _layoutRevision.setTitle(title, locale, defaultLocale); 580 } 581 582 public void setTitleCurrentLanguageId(java.lang.String languageId) { 583 _layoutRevision.setTitleCurrentLanguageId(languageId); 584 } 585 586 /** 587 * Sets the localized titles of this layout revision from the map of locales and localized titles. 588 * 589 * @param titleMap the locales and localized titles of this layout revision 590 */ 591 public void setTitleMap( 592 java.util.Map<java.util.Locale, java.lang.String> titleMap) { 593 _layoutRevision.setTitleMap(titleMap); 594 } 595 596 /** 597 * Sets the localized titles of this layout revision from the map of locales and localized titles, and sets the default locale. 598 * 599 * @param titleMap the locales and localized titles of this layout revision 600 * @param defaultLocale the default locale 601 */ 602 public void setTitleMap( 603 java.util.Map<java.util.Locale, java.lang.String> titleMap, 604 java.util.Locale defaultLocale) { 605 _layoutRevision.setTitleMap(titleMap, defaultLocale); 606 } 607 608 /** 609 * Returns the description of this layout revision. 610 * 611 * @return the description of this layout revision 612 */ 613 public java.lang.String getDescription() { 614 return _layoutRevision.getDescription(); 615 } 616 617 /** 618 * Returns the localized description of this layout revision in the language. Uses the default language if no localization exists for the requested language. 619 * 620 * @param locale the locale of the language 621 * @return the localized description of this layout revision 622 */ 623 public java.lang.String getDescription(java.util.Locale locale) { 624 return _layoutRevision.getDescription(locale); 625 } 626 627 /** 628 * Returns the localized description of this layout revision in the language, optionally using the default language if no localization exists for the requested language. 629 * 630 * @param locale the local of the language 631 * @param useDefault whether to use the default language if no localization exists for the requested language 632 * @return the localized description of this layout revision. If <code>useDefault</code> is <code>false</code> and no localization exists for the requested language, an empty string will be returned. 633 */ 634 public java.lang.String getDescription(java.util.Locale locale, 635 boolean useDefault) { 636 return _layoutRevision.getDescription(locale, useDefault); 637 } 638 639 /** 640 * Returns the localized description of this layout revision in the language. Uses the default language if no localization exists for the requested language. 641 * 642 * @param languageId the ID of the language 643 * @return the localized description of this layout revision 644 */ 645 public java.lang.String getDescription(java.lang.String languageId) { 646 return _layoutRevision.getDescription(languageId); 647 } 648 649 /** 650 * Returns the localized description of this layout revision in the language, optionally using the default language if no localization exists for the requested language. 651 * 652 * @param languageId the ID of the language 653 * @param useDefault whether to use the default language if no localization exists for the requested language 654 * @return the localized description of this layout revision 655 */ 656 public java.lang.String getDescription(java.lang.String languageId, 657 boolean useDefault) { 658 return _layoutRevision.getDescription(languageId, useDefault); 659 } 660 661 public java.lang.String getDescriptionCurrentLanguageId() { 662 return _layoutRevision.getDescriptionCurrentLanguageId(); 663 } 664 665 public java.lang.String getDescriptionCurrentValue() { 666 return _layoutRevision.getDescriptionCurrentValue(); 667 } 668 669 /** 670 * Returns a map of the locales and localized descriptions of this layout revision. 671 * 672 * @return the locales and localized descriptions of this layout revision 673 */ 674 public java.util.Map<java.util.Locale, java.lang.String> getDescriptionMap() { 675 return _layoutRevision.getDescriptionMap(); 676 } 677 678 /** 679 * Sets the description of this layout revision. 680 * 681 * @param description the description of this layout revision 682 */ 683 public void setDescription(java.lang.String description) { 684 _layoutRevision.setDescription(description); 685 } 686 687 /** 688 * Sets the localized description of this layout revision in the language. 689 * 690 * @param description the localized description of this layout revision 691 * @param locale the locale of the language 692 */ 693 public void setDescription(java.lang.String description, 694 java.util.Locale locale) { 695 _layoutRevision.setDescription(description, locale); 696 } 697 698 /** 699 * Sets the localized description of this layout revision in the language, and sets the default locale. 700 * 701 * @param description the localized description of this layout revision 702 * @param locale the locale of the language 703 * @param defaultLocale the default locale 704 */ 705 public void setDescription(java.lang.String description, 706 java.util.Locale locale, java.util.Locale defaultLocale) { 707 _layoutRevision.setDescription(description, locale, defaultLocale); 708 } 709 710 public void setDescriptionCurrentLanguageId(java.lang.String languageId) { 711 _layoutRevision.setDescriptionCurrentLanguageId(languageId); 712 } 713 714 /** 715 * Sets the localized descriptions of this layout revision from the map of locales and localized descriptions. 716 * 717 * @param descriptionMap the locales and localized descriptions of this layout revision 718 */ 719 public void setDescriptionMap( 720 java.util.Map<java.util.Locale, java.lang.String> descriptionMap) { 721 _layoutRevision.setDescriptionMap(descriptionMap); 722 } 723 724 /** 725 * Sets the localized descriptions of this layout revision from the map of locales and localized descriptions, and sets the default locale. 726 * 727 * @param descriptionMap the locales and localized descriptions of this layout revision 728 * @param defaultLocale the default locale 729 */ 730 public void setDescriptionMap( 731 java.util.Map<java.util.Locale, java.lang.String> descriptionMap, 732 java.util.Locale defaultLocale) { 733 _layoutRevision.setDescriptionMap(descriptionMap, defaultLocale); 734 } 735 736 /** 737 * Returns the keywords of this layout revision. 738 * 739 * @return the keywords of this layout revision 740 */ 741 public java.lang.String getKeywords() { 742 return _layoutRevision.getKeywords(); 743 } 744 745 /** 746 * Returns the localized keywords of this layout revision in the language. Uses the default language if no localization exists for the requested language. 747 * 748 * @param locale the locale of the language 749 * @return the localized keywords of this layout revision 750 */ 751 public java.lang.String getKeywords(java.util.Locale locale) { 752 return _layoutRevision.getKeywords(locale); 753 } 754 755 /** 756 * Returns the localized keywords of this layout revision in the language, optionally using the default language if no localization exists for the requested language. 757 * 758 * @param locale the local of the language 759 * @param useDefault whether to use the default language if no localization exists for the requested language 760 * @return the localized keywords of this layout revision. If <code>useDefault</code> is <code>false</code> and no localization exists for the requested language, an empty string will be returned. 761 */ 762 public java.lang.String getKeywords(java.util.Locale locale, 763 boolean useDefault) { 764 return _layoutRevision.getKeywords(locale, useDefault); 765 } 766 767 /** 768 * Returns the localized keywords of this layout revision in the language. Uses the default language if no localization exists for the requested language. 769 * 770 * @param languageId the ID of the language 771 * @return the localized keywords of this layout revision 772 */ 773 public java.lang.String getKeywords(java.lang.String languageId) { 774 return _layoutRevision.getKeywords(languageId); 775 } 776 777 /** 778 * Returns the localized keywords of this layout revision in the language, optionally using the default language if no localization exists for the requested language. 779 * 780 * @param languageId the ID of the language 781 * @param useDefault whether to use the default language if no localization exists for the requested language 782 * @return the localized keywords of this layout revision 783 */ 784 public java.lang.String getKeywords(java.lang.String languageId, 785 boolean useDefault) { 786 return _layoutRevision.getKeywords(languageId, useDefault); 787 } 788 789 public java.lang.String getKeywordsCurrentLanguageId() { 790 return _layoutRevision.getKeywordsCurrentLanguageId(); 791 } 792 793 public java.lang.String getKeywordsCurrentValue() { 794 return _layoutRevision.getKeywordsCurrentValue(); 795 } 796 797 /** 798 * Returns a map of the locales and localized keywordses of this layout revision. 799 * 800 * @return the locales and localized keywordses of this layout revision 801 */ 802 public java.util.Map<java.util.Locale, java.lang.String> getKeywordsMap() { 803 return _layoutRevision.getKeywordsMap(); 804 } 805 806 /** 807 * Sets the keywords of this layout revision. 808 * 809 * @param keywords the keywords of this layout revision 810 */ 811 public void setKeywords(java.lang.String keywords) { 812 _layoutRevision.setKeywords(keywords); 813 } 814 815 /** 816 * Sets the localized keywords of this layout revision in the language. 817 * 818 * @param keywords the localized keywords of this layout revision 819 * @param locale the locale of the language 820 */ 821 public void setKeywords(java.lang.String keywords, java.util.Locale locale) { 822 _layoutRevision.setKeywords(keywords, locale); 823 } 824 825 /** 826 * Sets the localized keywords of this layout revision in the language, and sets the default locale. 827 * 828 * @param keywords the localized keywords of this layout revision 829 * @param locale the locale of the language 830 * @param defaultLocale the default locale 831 */ 832 public void setKeywords(java.lang.String keywords, java.util.Locale locale, 833 java.util.Locale defaultLocale) { 834 _layoutRevision.setKeywords(keywords, locale, defaultLocale); 835 } 836 837 public void setKeywordsCurrentLanguageId(java.lang.String languageId) { 838 _layoutRevision.setKeywordsCurrentLanguageId(languageId); 839 } 840 841 /** 842 * Sets the localized keywordses of this layout revision from the map of locales and localized keywordses. 843 * 844 * @param keywordsMap the locales and localized keywordses of this layout revision 845 */ 846 public void setKeywordsMap( 847 java.util.Map<java.util.Locale, java.lang.String> keywordsMap) { 848 _layoutRevision.setKeywordsMap(keywordsMap); 849 } 850 851 /** 852 * Sets the localized keywordses of this layout revision from the map of locales and localized keywordses, and sets the default locale. 853 * 854 * @param keywordsMap the locales and localized keywordses of this layout revision 855 * @param defaultLocale the default locale 856 */ 857 public void setKeywordsMap( 858 java.util.Map<java.util.Locale, java.lang.String> keywordsMap, 859 java.util.Locale defaultLocale) { 860 _layoutRevision.setKeywordsMap(keywordsMap, defaultLocale); 861 } 862 863 /** 864 * Returns the robots of this layout revision. 865 * 866 * @return the robots of this layout revision 867 */ 868 public java.lang.String getRobots() { 869 return _layoutRevision.getRobots(); 870 } 871 872 /** 873 * Returns the localized robots of this layout revision in the language. Uses the default language if no localization exists for the requested language. 874 * 875 * @param locale the locale of the language 876 * @return the localized robots of this layout revision 877 */ 878 public java.lang.String getRobots(java.util.Locale locale) { 879 return _layoutRevision.getRobots(locale); 880 } 881 882 /** 883 * Returns the localized robots of this layout revision in the language, optionally using the default language if no localization exists for the requested language. 884 * 885 * @param locale the local of the language 886 * @param useDefault whether to use the default language if no localization exists for the requested language 887 * @return the localized robots of this layout revision. If <code>useDefault</code> is <code>false</code> and no localization exists for the requested language, an empty string will be returned. 888 */ 889 public java.lang.String getRobots(java.util.Locale locale, 890 boolean useDefault) { 891 return _layoutRevision.getRobots(locale, useDefault); 892 } 893 894 /** 895 * Returns the localized robots of this layout revision in the language. Uses the default language if no localization exists for the requested language. 896 * 897 * @param languageId the ID of the language 898 * @return the localized robots of this layout revision 899 */ 900 public java.lang.String getRobots(java.lang.String languageId) { 901 return _layoutRevision.getRobots(languageId); 902 } 903 904 /** 905 * Returns the localized robots of this layout revision in the language, optionally using the default language if no localization exists for the requested language. 906 * 907 * @param languageId the ID of the language 908 * @param useDefault whether to use the default language if no localization exists for the requested language 909 * @return the localized robots of this layout revision 910 */ 911 public java.lang.String getRobots(java.lang.String languageId, 912 boolean useDefault) { 913 return _layoutRevision.getRobots(languageId, useDefault); 914 } 915 916 public java.lang.String getRobotsCurrentLanguageId() { 917 return _layoutRevision.getRobotsCurrentLanguageId(); 918 } 919 920 public java.lang.String getRobotsCurrentValue() { 921 return _layoutRevision.getRobotsCurrentValue(); 922 } 923 924 /** 925 * Returns a map of the locales and localized robotses of this layout revision. 926 * 927 * @return the locales and localized robotses of this layout revision 928 */ 929 public java.util.Map<java.util.Locale, java.lang.String> getRobotsMap() { 930 return _layoutRevision.getRobotsMap(); 931 } 932 933 /** 934 * Sets the robots of this layout revision. 935 * 936 * @param robots the robots of this layout revision 937 */ 938 public void setRobots(java.lang.String robots) { 939 _layoutRevision.setRobots(robots); 940 } 941 942 /** 943 * Sets the localized robots of this layout revision in the language. 944 * 945 * @param robots the localized robots of this layout revision 946 * @param locale the locale of the language 947 */ 948 public void setRobots(java.lang.String robots, java.util.Locale locale) { 949 _layoutRevision.setRobots(robots, locale); 950 } 951 952 /** 953 * Sets the localized robots of this layout revision in the language, and sets the default locale. 954 * 955 * @param robots the localized robots of this layout revision 956 * @param locale the locale of the language 957 * @param defaultLocale the default locale 958 */ 959 public void setRobots(java.lang.String robots, java.util.Locale locale, 960 java.util.Locale defaultLocale) { 961 _layoutRevision.setRobots(robots, locale, defaultLocale); 962 } 963 964 public void setRobotsCurrentLanguageId(java.lang.String languageId) { 965 _layoutRevision.setRobotsCurrentLanguageId(languageId); 966 } 967 968 /** 969 * Sets the localized robotses of this layout revision from the map of locales and localized robotses. 970 * 971 * @param robotsMap the locales and localized robotses of this layout revision 972 */ 973 public void setRobotsMap( 974 java.util.Map<java.util.Locale, java.lang.String> robotsMap) { 975 _layoutRevision.setRobotsMap(robotsMap); 976 } 977 978 /** 979 * Sets the localized robotses of this layout revision from the map of locales and localized robotses, and sets the default locale. 980 * 981 * @param robotsMap the locales and localized robotses of this layout revision 982 * @param defaultLocale the default locale 983 */ 984 public void setRobotsMap( 985 java.util.Map<java.util.Locale, java.lang.String> robotsMap, 986 java.util.Locale defaultLocale) { 987 _layoutRevision.setRobotsMap(robotsMap, defaultLocale); 988 } 989 990 /** 991 * Returns the type settings of this layout revision. 992 * 993 * @return the type settings of this layout revision 994 */ 995 public java.lang.String getTypeSettings() { 996 return _layoutRevision.getTypeSettings(); 997 } 998 999 /** 1000 * Sets the type settings of this layout revision. 1001 * 1002 * @param typeSettings the type settings of this layout revision 1003 */ 1004 public void setTypeSettings(java.lang.String typeSettings) { 1005 _layoutRevision.setTypeSettings(typeSettings); 1006 } 1007 1008 /** 1009 * Returns the icon image of this layout revision. 1010 * 1011 * @return the icon image of this layout revision 1012 */ 1013 public boolean getIconImage() { 1014 return _layoutRevision.getIconImage(); 1015 } 1016 1017 /** 1018 * Returns <code>true</code> if this layout revision is icon image. 1019 * 1020 * @return <code>true</code> if this layout revision is icon image; <code>false</code> otherwise 1021 */ 1022 public boolean isIconImage() { 1023 return _layoutRevision.isIconImage(); 1024 } 1025 1026 /** 1027 * Sets whether this layout revision is icon image. 1028 * 1029 * @param iconImage the icon image of this layout revision 1030 */ 1031 public void setIconImage(boolean iconImage) { 1032 _layoutRevision.setIconImage(iconImage); 1033 } 1034 1035 /** 1036 * Returns the icon image ID of this layout revision. 1037 * 1038 * @return the icon image ID of this layout revision 1039 */ 1040 public long getIconImageId() { 1041 return _layoutRevision.getIconImageId(); 1042 } 1043 1044 /** 1045 * Sets the icon image ID of this layout revision. 1046 * 1047 * @param iconImageId the icon image ID of this layout revision 1048 */ 1049 public void setIconImageId(long iconImageId) { 1050 _layoutRevision.setIconImageId(iconImageId); 1051 } 1052 1053 /** 1054 * Returns the theme ID of this layout revision. 1055 * 1056 * @return the theme ID of this layout revision 1057 */ 1058 public java.lang.String getThemeId() { 1059 return _layoutRevision.getThemeId(); 1060 } 1061 1062 /** 1063 * Sets the theme ID of this layout revision. 1064 * 1065 * @param themeId the theme ID of this layout revision 1066 */ 1067 public void setThemeId(java.lang.String themeId) { 1068 _layoutRevision.setThemeId(themeId); 1069 } 1070 1071 /** 1072 * Returns the color scheme ID of this layout revision. 1073 * 1074 * @return the color scheme ID of this layout revision 1075 */ 1076 public java.lang.String getColorSchemeId() { 1077 return _layoutRevision.getColorSchemeId(); 1078 } 1079 1080 /** 1081 * Sets the color scheme ID of this layout revision. 1082 * 1083 * @param colorSchemeId the color scheme ID of this layout revision 1084 */ 1085 public void setColorSchemeId(java.lang.String colorSchemeId) { 1086 _layoutRevision.setColorSchemeId(colorSchemeId); 1087 } 1088 1089 /** 1090 * Returns the wap theme ID of this layout revision. 1091 * 1092 * @return the wap theme ID of this layout revision 1093 */ 1094 public java.lang.String getWapThemeId() { 1095 return _layoutRevision.getWapThemeId(); 1096 } 1097 1098 /** 1099 * Sets the wap theme ID of this layout revision. 1100 * 1101 * @param wapThemeId the wap theme ID of this layout revision 1102 */ 1103 public void setWapThemeId(java.lang.String wapThemeId) { 1104 _layoutRevision.setWapThemeId(wapThemeId); 1105 } 1106 1107 /** 1108 * Returns the wap color scheme ID of this layout revision. 1109 * 1110 * @return the wap color scheme ID of this layout revision 1111 */ 1112 public java.lang.String getWapColorSchemeId() { 1113 return _layoutRevision.getWapColorSchemeId(); 1114 } 1115 1116 /** 1117 * Sets the wap color scheme ID of this layout revision. 1118 * 1119 * @param wapColorSchemeId the wap color scheme ID of this layout revision 1120 */ 1121 public void setWapColorSchemeId(java.lang.String wapColorSchemeId) { 1122 _layoutRevision.setWapColorSchemeId(wapColorSchemeId); 1123 } 1124 1125 /** 1126 * Returns the css of this layout revision. 1127 * 1128 * @return the css of this layout revision 1129 */ 1130 public java.lang.String getCss() { 1131 return _layoutRevision.getCss(); 1132 } 1133 1134 /** 1135 * Sets the css of this layout revision. 1136 * 1137 * @param css the css of this layout revision 1138 */ 1139 public void setCss(java.lang.String css) { 1140 _layoutRevision.setCss(css); 1141 } 1142 1143 /** 1144 * Returns the status of this layout revision. 1145 * 1146 * @return the status of this layout revision 1147 */ 1148 public int getStatus() { 1149 return _layoutRevision.getStatus(); 1150 } 1151 1152 /** 1153 * Sets the status of this layout revision. 1154 * 1155 * @param status the status of this layout revision 1156 */ 1157 public void setStatus(int status) { 1158 _layoutRevision.setStatus(status); 1159 } 1160 1161 /** 1162 * Returns the status by user ID of this layout revision. 1163 * 1164 * @return the status by user ID of this layout revision 1165 */ 1166 public long getStatusByUserId() { 1167 return _layoutRevision.getStatusByUserId(); 1168 } 1169 1170 /** 1171 * Sets the status by user ID of this layout revision. 1172 * 1173 * @param statusByUserId the status by user ID of this layout revision 1174 */ 1175 public void setStatusByUserId(long statusByUserId) { 1176 _layoutRevision.setStatusByUserId(statusByUserId); 1177 } 1178 1179 /** 1180 * Returns the status by user uuid of this layout revision. 1181 * 1182 * @return the status by user uuid of this layout revision 1183 * @throws SystemException if a system exception occurred 1184 */ 1185 public java.lang.String getStatusByUserUuid() 1186 throws com.liferay.portal.kernel.exception.SystemException { 1187 return _layoutRevision.getStatusByUserUuid(); 1188 } 1189 1190 /** 1191 * Sets the status by user uuid of this layout revision. 1192 * 1193 * @param statusByUserUuid the status by user uuid of this layout revision 1194 */ 1195 public void setStatusByUserUuid(java.lang.String statusByUserUuid) { 1196 _layoutRevision.setStatusByUserUuid(statusByUserUuid); 1197 } 1198 1199 /** 1200 * Returns the status by user name of this layout revision. 1201 * 1202 * @return the status by user name of this layout revision 1203 */ 1204 public java.lang.String getStatusByUserName() { 1205 return _layoutRevision.getStatusByUserName(); 1206 } 1207 1208 /** 1209 * Sets the status by user name of this layout revision. 1210 * 1211 * @param statusByUserName the status by user name of this layout revision 1212 */ 1213 public void setStatusByUserName(java.lang.String statusByUserName) { 1214 _layoutRevision.setStatusByUserName(statusByUserName); 1215 } 1216 1217 /** 1218 * Returns the status date of this layout revision. 1219 * 1220 * @return the status date of this layout revision 1221 */ 1222 public java.util.Date getStatusDate() { 1223 return _layoutRevision.getStatusDate(); 1224 } 1225 1226 /** 1227 * Sets the status date of this layout revision. 1228 * 1229 * @param statusDate the status date of this layout revision 1230 */ 1231 public void setStatusDate(java.util.Date statusDate) { 1232 _layoutRevision.setStatusDate(statusDate); 1233 } 1234 1235 /** 1236 * @deprecated Renamed to {@link #isApproved()} 1237 */ 1238 public boolean getApproved() { 1239 return _layoutRevision.getApproved(); 1240 } 1241 1242 /** 1243 * Returns <code>true</code> if this layout revision is approved. 1244 * 1245 * @return <code>true</code> if this layout revision is approved; <code>false</code> otherwise 1246 */ 1247 public boolean isApproved() { 1248 return _layoutRevision.isApproved(); 1249 } 1250 1251 /** 1252 * Returns <code>true</code> if this layout revision is a draft. 1253 * 1254 * @return <code>true</code> if this layout revision is a draft; <code>false</code> otherwise 1255 */ 1256 public boolean isDraft() { 1257 return _layoutRevision.isDraft(); 1258 } 1259 1260 /** 1261 * Returns <code>true</code> if this layout revision is expired. 1262 * 1263 * @return <code>true</code> if this layout revision is expired; <code>false</code> otherwise 1264 */ 1265 public boolean isExpired() { 1266 return _layoutRevision.isExpired(); 1267 } 1268 1269 /** 1270 * Returns <code>true</code> if this layout revision is pending. 1271 * 1272 * @return <code>true</code> if this layout revision is pending; <code>false</code> otherwise 1273 */ 1274 public boolean isPending() { 1275 return _layoutRevision.isPending(); 1276 } 1277 1278 public boolean isNew() { 1279 return _layoutRevision.isNew(); 1280 } 1281 1282 public void setNew(boolean n) { 1283 _layoutRevision.setNew(n); 1284 } 1285 1286 public boolean isCachedModel() { 1287 return _layoutRevision.isCachedModel(); 1288 } 1289 1290 public void setCachedModel(boolean cachedModel) { 1291 _layoutRevision.setCachedModel(cachedModel); 1292 } 1293 1294 public boolean isEscapedModel() { 1295 return _layoutRevision.isEscapedModel(); 1296 } 1297 1298 public java.io.Serializable getPrimaryKeyObj() { 1299 return _layoutRevision.getPrimaryKeyObj(); 1300 } 1301 1302 public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) { 1303 _layoutRevision.setPrimaryKeyObj(primaryKeyObj); 1304 } 1305 1306 public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() { 1307 return _layoutRevision.getExpandoBridge(); 1308 } 1309 1310 public void setExpandoBridgeAttributes( 1311 com.liferay.portal.service.ServiceContext serviceContext) { 1312 _layoutRevision.setExpandoBridgeAttributes(serviceContext); 1313 } 1314 1315 @Override 1316 public java.lang.Object clone() { 1317 return new LayoutRevisionWrapper((LayoutRevision)_layoutRevision.clone()); 1318 } 1319 1320 public int compareTo(com.liferay.portal.model.LayoutRevision layoutRevision) { 1321 return _layoutRevision.compareTo(layoutRevision); 1322 } 1323 1324 @Override 1325 public int hashCode() { 1326 return _layoutRevision.hashCode(); 1327 } 1328 1329 public com.liferay.portal.model.CacheModel<com.liferay.portal.model.LayoutRevision> toCacheModel() { 1330 return _layoutRevision.toCacheModel(); 1331 } 1332 1333 public com.liferay.portal.model.LayoutRevision toEscapedModel() { 1334 return new LayoutRevisionWrapper(_layoutRevision.toEscapedModel()); 1335 } 1336 1337 @Override 1338 public java.lang.String toString() { 1339 return _layoutRevision.toString(); 1340 } 1341 1342 public java.lang.String toXmlString() { 1343 return _layoutRevision.toXmlString(); 1344 } 1345 1346 public void persist() 1347 throws com.liferay.portal.kernel.exception.SystemException { 1348 _layoutRevision.persist(); 1349 } 1350 1351 public java.util.List<com.liferay.portal.model.LayoutRevision> getChildren() 1352 throws com.liferay.portal.kernel.exception.SystemException { 1353 return _layoutRevision.getChildren(); 1354 } 1355 1356 public com.liferay.portal.model.ColorScheme getColorScheme() 1357 throws com.liferay.portal.kernel.exception.PortalException, 1358 com.liferay.portal.kernel.exception.SystemException { 1359 return _layoutRevision.getColorScheme(); 1360 } 1361 1362 public java.lang.String getCssText() 1363 throws com.liferay.portal.kernel.exception.PortalException, 1364 com.liferay.portal.kernel.exception.SystemException { 1365 return _layoutRevision.getCssText(); 1366 } 1367 1368 public java.lang.String getHTMLTitle(java.util.Locale locale) { 1369 return _layoutRevision.getHTMLTitle(locale); 1370 } 1371 1372 public java.lang.String getHTMLTitle(java.lang.String localeLanguageId) { 1373 return _layoutRevision.getHTMLTitle(localeLanguageId); 1374 } 1375 1376 public com.liferay.portal.model.LayoutBranch getLayoutBranch() 1377 throws com.liferay.portal.kernel.exception.PortalException, 1378 com.liferay.portal.kernel.exception.SystemException { 1379 return _layoutRevision.getLayoutBranch(); 1380 } 1381 1382 public com.liferay.portal.model.LayoutSet getLayoutSet() 1383 throws com.liferay.portal.kernel.exception.PortalException, 1384 com.liferay.portal.kernel.exception.SystemException { 1385 return _layoutRevision.getLayoutSet(); 1386 } 1387 1388 public com.liferay.portal.model.Theme getTheme() 1389 throws com.liferay.portal.kernel.exception.PortalException, 1390 com.liferay.portal.kernel.exception.SystemException { 1391 return _layoutRevision.getTheme(); 1392 } 1393 1394 public com.liferay.portal.kernel.util.UnicodeProperties getTypeSettingsProperties() { 1395 return _layoutRevision.getTypeSettingsProperties(); 1396 } 1397 1398 public com.liferay.portal.model.ColorScheme getWapColorScheme() 1399 throws com.liferay.portal.kernel.exception.PortalException, 1400 com.liferay.portal.kernel.exception.SystemException { 1401 return _layoutRevision.getWapColorScheme(); 1402 } 1403 1404 public com.liferay.portal.model.Theme getWapTheme() 1405 throws com.liferay.portal.kernel.exception.PortalException, 1406 com.liferay.portal.kernel.exception.SystemException { 1407 return _layoutRevision.getWapTheme(); 1408 } 1409 1410 public boolean hasChildren() 1411 throws com.liferay.portal.kernel.exception.SystemException { 1412 return _layoutRevision.hasChildren(); 1413 } 1414 1415 public boolean isInheritLookAndFeel() { 1416 return _layoutRevision.isInheritLookAndFeel(); 1417 } 1418 1419 public boolean isInheritWapLookAndFeel() { 1420 return _layoutRevision.isInheritWapLookAndFeel(); 1421 } 1422 1423 public void setTypeSettingsProperties( 1424 com.liferay.portal.kernel.util.UnicodeProperties typeSettingsProperties) { 1425 _layoutRevision.setTypeSettingsProperties(typeSettingsProperties); 1426 } 1427 1428 public LayoutRevision getWrappedLayoutRevision() { 1429 return _layoutRevision; 1430 } 1431 1432 public void resetOriginalValues() { 1433 _layoutRevision.resetOriginalValues(); 1434 } 1435 1436 private LayoutRevision _layoutRevision; 1437 }