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