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.portlet.asset.model; 016 017 import com.liferay.portal.model.ModelWrapper; 018 019 /** 020 * <p> 021 * This class is a wrapper for {@link AssetEntry}. 022 * </p> 023 * 024 * @author Brian Wing Shun Chan 025 * @see AssetEntry 026 * @generated 027 */ 028 public class AssetEntryWrapper implements AssetEntry, ModelWrapper<AssetEntry> { 029 public AssetEntryWrapper(AssetEntry assetEntry) { 030 _assetEntry = assetEntry; 031 } 032 033 public Class<?> getModelClass() { 034 return AssetEntry.class; 035 } 036 037 public String getModelClassName() { 038 return AssetEntry.class.getName(); 039 } 040 041 /** 042 * Returns the primary key of this asset entry. 043 * 044 * @return the primary key of this asset entry 045 */ 046 public long getPrimaryKey() { 047 return _assetEntry.getPrimaryKey(); 048 } 049 050 /** 051 * Sets the primary key of this asset entry. 052 * 053 * @param primaryKey the primary key of this asset entry 054 */ 055 public void setPrimaryKey(long primaryKey) { 056 _assetEntry.setPrimaryKey(primaryKey); 057 } 058 059 /** 060 * Returns the entry ID of this asset entry. 061 * 062 * @return the entry ID of this asset entry 063 */ 064 public long getEntryId() { 065 return _assetEntry.getEntryId(); 066 } 067 068 /** 069 * Sets the entry ID of this asset entry. 070 * 071 * @param entryId the entry ID of this asset entry 072 */ 073 public void setEntryId(long entryId) { 074 _assetEntry.setEntryId(entryId); 075 } 076 077 /** 078 * Returns the group ID of this asset entry. 079 * 080 * @return the group ID of this asset entry 081 */ 082 public long getGroupId() { 083 return _assetEntry.getGroupId(); 084 } 085 086 /** 087 * Sets the group ID of this asset entry. 088 * 089 * @param groupId the group ID of this asset entry 090 */ 091 public void setGroupId(long groupId) { 092 _assetEntry.setGroupId(groupId); 093 } 094 095 /** 096 * Returns the company ID of this asset entry. 097 * 098 * @return the company ID of this asset entry 099 */ 100 public long getCompanyId() { 101 return _assetEntry.getCompanyId(); 102 } 103 104 /** 105 * Sets the company ID of this asset entry. 106 * 107 * @param companyId the company ID of this asset entry 108 */ 109 public void setCompanyId(long companyId) { 110 _assetEntry.setCompanyId(companyId); 111 } 112 113 /** 114 * Returns the user ID of this asset entry. 115 * 116 * @return the user ID of this asset entry 117 */ 118 public long getUserId() { 119 return _assetEntry.getUserId(); 120 } 121 122 /** 123 * Sets the user ID of this asset entry. 124 * 125 * @param userId the user ID of this asset entry 126 */ 127 public void setUserId(long userId) { 128 _assetEntry.setUserId(userId); 129 } 130 131 /** 132 * Returns the user uuid of this asset entry. 133 * 134 * @return the user uuid of this asset entry 135 * @throws SystemException if a system exception occurred 136 */ 137 public java.lang.String getUserUuid() 138 throws com.liferay.portal.kernel.exception.SystemException { 139 return _assetEntry.getUserUuid(); 140 } 141 142 /** 143 * Sets the user uuid of this asset entry. 144 * 145 * @param userUuid the user uuid of this asset entry 146 */ 147 public void setUserUuid(java.lang.String userUuid) { 148 _assetEntry.setUserUuid(userUuid); 149 } 150 151 /** 152 * Returns the user name of this asset entry. 153 * 154 * @return the user name of this asset entry 155 */ 156 public java.lang.String getUserName() { 157 return _assetEntry.getUserName(); 158 } 159 160 /** 161 * Sets the user name of this asset entry. 162 * 163 * @param userName the user name of this asset entry 164 */ 165 public void setUserName(java.lang.String userName) { 166 _assetEntry.setUserName(userName); 167 } 168 169 /** 170 * Returns the create date of this asset entry. 171 * 172 * @return the create date of this asset entry 173 */ 174 public java.util.Date getCreateDate() { 175 return _assetEntry.getCreateDate(); 176 } 177 178 /** 179 * Sets the create date of this asset entry. 180 * 181 * @param createDate the create date of this asset entry 182 */ 183 public void setCreateDate(java.util.Date createDate) { 184 _assetEntry.setCreateDate(createDate); 185 } 186 187 /** 188 * Returns the modified date of this asset entry. 189 * 190 * @return the modified date of this asset entry 191 */ 192 public java.util.Date getModifiedDate() { 193 return _assetEntry.getModifiedDate(); 194 } 195 196 /** 197 * Sets the modified date of this asset entry. 198 * 199 * @param modifiedDate the modified date of this asset entry 200 */ 201 public void setModifiedDate(java.util.Date modifiedDate) { 202 _assetEntry.setModifiedDate(modifiedDate); 203 } 204 205 /** 206 * Returns the fully qualified class name of this asset entry. 207 * 208 * @return the fully qualified class name of this asset entry 209 */ 210 public java.lang.String getClassName() { 211 return _assetEntry.getClassName(); 212 } 213 214 /** 215 * Returns the class name ID of this asset entry. 216 * 217 * @return the class name ID of this asset entry 218 */ 219 public long getClassNameId() { 220 return _assetEntry.getClassNameId(); 221 } 222 223 /** 224 * Sets the class name ID of this asset entry. 225 * 226 * @param classNameId the class name ID of this asset entry 227 */ 228 public void setClassNameId(long classNameId) { 229 _assetEntry.setClassNameId(classNameId); 230 } 231 232 /** 233 * Returns the class p k of this asset entry. 234 * 235 * @return the class p k of this asset entry 236 */ 237 public long getClassPK() { 238 return _assetEntry.getClassPK(); 239 } 240 241 /** 242 * Sets the class p k of this asset entry. 243 * 244 * @param classPK the class p k of this asset entry 245 */ 246 public void setClassPK(long classPK) { 247 _assetEntry.setClassPK(classPK); 248 } 249 250 /** 251 * Returns the class uuid of this asset entry. 252 * 253 * @return the class uuid of this asset entry 254 */ 255 public java.lang.String getClassUuid() { 256 return _assetEntry.getClassUuid(); 257 } 258 259 /** 260 * Sets the class uuid of this asset entry. 261 * 262 * @param classUuid the class uuid of this asset entry 263 */ 264 public void setClassUuid(java.lang.String classUuid) { 265 _assetEntry.setClassUuid(classUuid); 266 } 267 268 /** 269 * Returns the class type ID of this asset entry. 270 * 271 * @return the class type ID of this asset entry 272 */ 273 public long getClassTypeId() { 274 return _assetEntry.getClassTypeId(); 275 } 276 277 /** 278 * Sets the class type ID of this asset entry. 279 * 280 * @param classTypeId the class type ID of this asset entry 281 */ 282 public void setClassTypeId(long classTypeId) { 283 _assetEntry.setClassTypeId(classTypeId); 284 } 285 286 /** 287 * Returns the visible of this asset entry. 288 * 289 * @return the visible of this asset entry 290 */ 291 public boolean getVisible() { 292 return _assetEntry.getVisible(); 293 } 294 295 /** 296 * Returns <code>true</code> if this asset entry is visible. 297 * 298 * @return <code>true</code> if this asset entry is visible; <code>false</code> otherwise 299 */ 300 public boolean isVisible() { 301 return _assetEntry.isVisible(); 302 } 303 304 /** 305 * Sets whether this asset entry is visible. 306 * 307 * @param visible the visible of this asset entry 308 */ 309 public void setVisible(boolean visible) { 310 _assetEntry.setVisible(visible); 311 } 312 313 /** 314 * Returns the start date of this asset entry. 315 * 316 * @return the start date of this asset entry 317 */ 318 public java.util.Date getStartDate() { 319 return _assetEntry.getStartDate(); 320 } 321 322 /** 323 * Sets the start date of this asset entry. 324 * 325 * @param startDate the start date of this asset entry 326 */ 327 public void setStartDate(java.util.Date startDate) { 328 _assetEntry.setStartDate(startDate); 329 } 330 331 /** 332 * Returns the end date of this asset entry. 333 * 334 * @return the end date of this asset entry 335 */ 336 public java.util.Date getEndDate() { 337 return _assetEntry.getEndDate(); 338 } 339 340 /** 341 * Sets the end date of this asset entry. 342 * 343 * @param endDate the end date of this asset entry 344 */ 345 public void setEndDate(java.util.Date endDate) { 346 _assetEntry.setEndDate(endDate); 347 } 348 349 /** 350 * Returns the publish date of this asset entry. 351 * 352 * @return the publish date of this asset entry 353 */ 354 public java.util.Date getPublishDate() { 355 return _assetEntry.getPublishDate(); 356 } 357 358 /** 359 * Sets the publish date of this asset entry. 360 * 361 * @param publishDate the publish date of this asset entry 362 */ 363 public void setPublishDate(java.util.Date publishDate) { 364 _assetEntry.setPublishDate(publishDate); 365 } 366 367 /** 368 * Returns the expiration date of this asset entry. 369 * 370 * @return the expiration date of this asset entry 371 */ 372 public java.util.Date getExpirationDate() { 373 return _assetEntry.getExpirationDate(); 374 } 375 376 /** 377 * Sets the expiration date of this asset entry. 378 * 379 * @param expirationDate the expiration date of this asset entry 380 */ 381 public void setExpirationDate(java.util.Date expirationDate) { 382 _assetEntry.setExpirationDate(expirationDate); 383 } 384 385 /** 386 * Returns the mime type of this asset entry. 387 * 388 * @return the mime type of this asset entry 389 */ 390 public java.lang.String getMimeType() { 391 return _assetEntry.getMimeType(); 392 } 393 394 /** 395 * Sets the mime type of this asset entry. 396 * 397 * @param mimeType the mime type of this asset entry 398 */ 399 public void setMimeType(java.lang.String mimeType) { 400 _assetEntry.setMimeType(mimeType); 401 } 402 403 /** 404 * Returns the title of this asset entry. 405 * 406 * @return the title of this asset entry 407 */ 408 public java.lang.String getTitle() { 409 return _assetEntry.getTitle(); 410 } 411 412 /** 413 * Returns the localized title of this asset entry in the language. Uses the default language if no localization exists for the requested language. 414 * 415 * @param locale the locale of the language 416 * @return the localized title of this asset entry 417 */ 418 public java.lang.String getTitle(java.util.Locale locale) { 419 return _assetEntry.getTitle(locale); 420 } 421 422 /** 423 * Returns the localized title of this asset entry in the language, optionally using the default language if no localization exists for the requested language. 424 * 425 * @param locale the local of the language 426 * @param useDefault whether to use the default language if no localization exists for the requested language 427 * @return the localized title of this asset entry. If <code>useDefault</code> is <code>false</code> and no localization exists for the requested language, an empty string will be returned. 428 */ 429 public java.lang.String getTitle(java.util.Locale locale, boolean useDefault) { 430 return _assetEntry.getTitle(locale, useDefault); 431 } 432 433 /** 434 * Returns the localized title of this asset entry in the language. Uses the default language if no localization exists for the requested language. 435 * 436 * @param languageId the ID of the language 437 * @return the localized title of this asset entry 438 */ 439 public java.lang.String getTitle(java.lang.String languageId) { 440 return _assetEntry.getTitle(languageId); 441 } 442 443 /** 444 * Returns the localized title of this asset entry in the language, optionally using the default language if no localization exists for the requested language. 445 * 446 * @param languageId the ID of the language 447 * @param useDefault whether to use the default language if no localization exists for the requested language 448 * @return the localized title of this asset entry 449 */ 450 public java.lang.String getTitle(java.lang.String languageId, 451 boolean useDefault) { 452 return _assetEntry.getTitle(languageId, useDefault); 453 } 454 455 public java.lang.String getTitleCurrentLanguageId() { 456 return _assetEntry.getTitleCurrentLanguageId(); 457 } 458 459 public java.lang.String getTitleCurrentValue() { 460 return _assetEntry.getTitleCurrentValue(); 461 } 462 463 /** 464 * Returns a map of the locales and localized titles of this asset entry. 465 * 466 * @return the locales and localized titles of this asset entry 467 */ 468 public java.util.Map<java.util.Locale, java.lang.String> getTitleMap() { 469 return _assetEntry.getTitleMap(); 470 } 471 472 /** 473 * Sets the title of this asset entry. 474 * 475 * @param title the title of this asset entry 476 */ 477 public void setTitle(java.lang.String title) { 478 _assetEntry.setTitle(title); 479 } 480 481 /** 482 * Sets the localized title of this asset entry in the language. 483 * 484 * @param title the localized title of this asset entry 485 * @param locale the locale of the language 486 */ 487 public void setTitle(java.lang.String title, java.util.Locale locale) { 488 _assetEntry.setTitle(title, locale); 489 } 490 491 /** 492 * Sets the localized title of this asset entry in the language, and sets the default locale. 493 * 494 * @param title the localized title of this asset entry 495 * @param locale the locale of the language 496 * @param defaultLocale the default locale 497 */ 498 public void setTitle(java.lang.String title, java.util.Locale locale, 499 java.util.Locale defaultLocale) { 500 _assetEntry.setTitle(title, locale, defaultLocale); 501 } 502 503 public void setTitleCurrentLanguageId(java.lang.String languageId) { 504 _assetEntry.setTitleCurrentLanguageId(languageId); 505 } 506 507 /** 508 * Sets the localized titles of this asset entry from the map of locales and localized titles. 509 * 510 * @param titleMap the locales and localized titles of this asset entry 511 */ 512 public void setTitleMap( 513 java.util.Map<java.util.Locale, java.lang.String> titleMap) { 514 _assetEntry.setTitleMap(titleMap); 515 } 516 517 /** 518 * Sets the localized titles of this asset entry from the map of locales and localized titles, and sets the default locale. 519 * 520 * @param titleMap the locales and localized titles of this asset entry 521 * @param defaultLocale the default locale 522 */ 523 public void setTitleMap( 524 java.util.Map<java.util.Locale, java.lang.String> titleMap, 525 java.util.Locale defaultLocale) { 526 _assetEntry.setTitleMap(titleMap, defaultLocale); 527 } 528 529 /** 530 * Returns the description of this asset entry. 531 * 532 * @return the description of this asset entry 533 */ 534 public java.lang.String getDescription() { 535 return _assetEntry.getDescription(); 536 } 537 538 /** 539 * Returns the localized description of this asset entry in the language. Uses the default language if no localization exists for the requested language. 540 * 541 * @param locale the locale of the language 542 * @return the localized description of this asset entry 543 */ 544 public java.lang.String getDescription(java.util.Locale locale) { 545 return _assetEntry.getDescription(locale); 546 } 547 548 /** 549 * Returns the localized description of this asset entry in the language, optionally using the default language if no localization exists for the requested language. 550 * 551 * @param locale the local of the language 552 * @param useDefault whether to use the default language if no localization exists for the requested language 553 * @return the localized description of this asset entry. If <code>useDefault</code> is <code>false</code> and no localization exists for the requested language, an empty string will be returned. 554 */ 555 public java.lang.String getDescription(java.util.Locale locale, 556 boolean useDefault) { 557 return _assetEntry.getDescription(locale, useDefault); 558 } 559 560 /** 561 * Returns the localized description of this asset entry in the language. Uses the default language if no localization exists for the requested language. 562 * 563 * @param languageId the ID of the language 564 * @return the localized description of this asset entry 565 */ 566 public java.lang.String getDescription(java.lang.String languageId) { 567 return _assetEntry.getDescription(languageId); 568 } 569 570 /** 571 * Returns the localized description of this asset entry in the language, optionally using the default language if no localization exists for the requested language. 572 * 573 * @param languageId the ID of the language 574 * @param useDefault whether to use the default language if no localization exists for the requested language 575 * @return the localized description of this asset entry 576 */ 577 public java.lang.String getDescription(java.lang.String languageId, 578 boolean useDefault) { 579 return _assetEntry.getDescription(languageId, useDefault); 580 } 581 582 public java.lang.String getDescriptionCurrentLanguageId() { 583 return _assetEntry.getDescriptionCurrentLanguageId(); 584 } 585 586 public java.lang.String getDescriptionCurrentValue() { 587 return _assetEntry.getDescriptionCurrentValue(); 588 } 589 590 /** 591 * Returns a map of the locales and localized descriptions of this asset entry. 592 * 593 * @return the locales and localized descriptions of this asset entry 594 */ 595 public java.util.Map<java.util.Locale, java.lang.String> getDescriptionMap() { 596 return _assetEntry.getDescriptionMap(); 597 } 598 599 /** 600 * Sets the description of this asset entry. 601 * 602 * @param description the description of this asset entry 603 */ 604 public void setDescription(java.lang.String description) { 605 _assetEntry.setDescription(description); 606 } 607 608 /** 609 * Sets the localized description of this asset entry in the language. 610 * 611 * @param description the localized description of this asset entry 612 * @param locale the locale of the language 613 */ 614 public void setDescription(java.lang.String description, 615 java.util.Locale locale) { 616 _assetEntry.setDescription(description, locale); 617 } 618 619 /** 620 * Sets the localized description of this asset entry in the language, and sets the default locale. 621 * 622 * @param description the localized description of this asset entry 623 * @param locale the locale of the language 624 * @param defaultLocale the default locale 625 */ 626 public void setDescription(java.lang.String description, 627 java.util.Locale locale, java.util.Locale defaultLocale) { 628 _assetEntry.setDescription(description, locale, defaultLocale); 629 } 630 631 public void setDescriptionCurrentLanguageId(java.lang.String languageId) { 632 _assetEntry.setDescriptionCurrentLanguageId(languageId); 633 } 634 635 /** 636 * Sets the localized descriptions of this asset entry from the map of locales and localized descriptions. 637 * 638 * @param descriptionMap the locales and localized descriptions of this asset entry 639 */ 640 public void setDescriptionMap( 641 java.util.Map<java.util.Locale, java.lang.String> descriptionMap) { 642 _assetEntry.setDescriptionMap(descriptionMap); 643 } 644 645 /** 646 * Sets the localized descriptions of this asset entry from the map of locales and localized descriptions, and sets the default locale. 647 * 648 * @param descriptionMap the locales and localized descriptions of this asset entry 649 * @param defaultLocale the default locale 650 */ 651 public void setDescriptionMap( 652 java.util.Map<java.util.Locale, java.lang.String> descriptionMap, 653 java.util.Locale defaultLocale) { 654 _assetEntry.setDescriptionMap(descriptionMap, defaultLocale); 655 } 656 657 /** 658 * Returns the summary of this asset entry. 659 * 660 * @return the summary of this asset entry 661 */ 662 public java.lang.String getSummary() { 663 return _assetEntry.getSummary(); 664 } 665 666 /** 667 * Returns the localized summary of this asset entry in the language. Uses the default language if no localization exists for the requested language. 668 * 669 * @param locale the locale of the language 670 * @return the localized summary of this asset entry 671 */ 672 public java.lang.String getSummary(java.util.Locale locale) { 673 return _assetEntry.getSummary(locale); 674 } 675 676 /** 677 * Returns the localized summary of this asset entry in the language, optionally using the default language if no localization exists for the requested language. 678 * 679 * @param locale the local of the language 680 * @param useDefault whether to use the default language if no localization exists for the requested language 681 * @return the localized summary of this asset entry. If <code>useDefault</code> is <code>false</code> and no localization exists for the requested language, an empty string will be returned. 682 */ 683 public java.lang.String getSummary(java.util.Locale locale, 684 boolean useDefault) { 685 return _assetEntry.getSummary(locale, useDefault); 686 } 687 688 /** 689 * Returns the localized summary of this asset entry in the language. Uses the default language if no localization exists for the requested language. 690 * 691 * @param languageId the ID of the language 692 * @return the localized summary of this asset entry 693 */ 694 public java.lang.String getSummary(java.lang.String languageId) { 695 return _assetEntry.getSummary(languageId); 696 } 697 698 /** 699 * Returns the localized summary of this asset entry in the language, optionally using the default language if no localization exists for the requested language. 700 * 701 * @param languageId the ID of the language 702 * @param useDefault whether to use the default language if no localization exists for the requested language 703 * @return the localized summary of this asset entry 704 */ 705 public java.lang.String getSummary(java.lang.String languageId, 706 boolean useDefault) { 707 return _assetEntry.getSummary(languageId, useDefault); 708 } 709 710 public java.lang.String getSummaryCurrentLanguageId() { 711 return _assetEntry.getSummaryCurrentLanguageId(); 712 } 713 714 public java.lang.String getSummaryCurrentValue() { 715 return _assetEntry.getSummaryCurrentValue(); 716 } 717 718 /** 719 * Returns a map of the locales and localized summaries of this asset entry. 720 * 721 * @return the locales and localized summaries of this asset entry 722 */ 723 public java.util.Map<java.util.Locale, java.lang.String> getSummaryMap() { 724 return _assetEntry.getSummaryMap(); 725 } 726 727 /** 728 * Sets the summary of this asset entry. 729 * 730 * @param summary the summary of this asset entry 731 */ 732 public void setSummary(java.lang.String summary) { 733 _assetEntry.setSummary(summary); 734 } 735 736 /** 737 * Sets the localized summary of this asset entry in the language. 738 * 739 * @param summary the localized summary of this asset entry 740 * @param locale the locale of the language 741 */ 742 public void setSummary(java.lang.String summary, java.util.Locale locale) { 743 _assetEntry.setSummary(summary, locale); 744 } 745 746 /** 747 * Sets the localized summary of this asset entry in the language, and sets the default locale. 748 * 749 * @param summary the localized summary of this asset entry 750 * @param locale the locale of the language 751 * @param defaultLocale the default locale 752 */ 753 public void setSummary(java.lang.String summary, java.util.Locale locale, 754 java.util.Locale defaultLocale) { 755 _assetEntry.setSummary(summary, locale, defaultLocale); 756 } 757 758 public void setSummaryCurrentLanguageId(java.lang.String languageId) { 759 _assetEntry.setSummaryCurrentLanguageId(languageId); 760 } 761 762 /** 763 * Sets the localized summaries of this asset entry from the map of locales and localized summaries. 764 * 765 * @param summaryMap the locales and localized summaries of this asset entry 766 */ 767 public void setSummaryMap( 768 java.util.Map<java.util.Locale, java.lang.String> summaryMap) { 769 _assetEntry.setSummaryMap(summaryMap); 770 } 771 772 /** 773 * Sets the localized summaries of this asset entry from the map of locales and localized summaries, and sets the default locale. 774 * 775 * @param summaryMap the locales and localized summaries of this asset entry 776 * @param defaultLocale the default locale 777 */ 778 public void setSummaryMap( 779 java.util.Map<java.util.Locale, java.lang.String> summaryMap, 780 java.util.Locale defaultLocale) { 781 _assetEntry.setSummaryMap(summaryMap, defaultLocale); 782 } 783 784 /** 785 * Returns the url of this asset entry. 786 * 787 * @return the url of this asset entry 788 */ 789 public java.lang.String getUrl() { 790 return _assetEntry.getUrl(); 791 } 792 793 /** 794 * Sets the url of this asset entry. 795 * 796 * @param url the url of this asset entry 797 */ 798 public void setUrl(java.lang.String url) { 799 _assetEntry.setUrl(url); 800 } 801 802 /** 803 * Returns the layout uuid of this asset entry. 804 * 805 * @return the layout uuid of this asset entry 806 */ 807 public java.lang.String getLayoutUuid() { 808 return _assetEntry.getLayoutUuid(); 809 } 810 811 /** 812 * Sets the layout uuid of this asset entry. 813 * 814 * @param layoutUuid the layout uuid of this asset entry 815 */ 816 public void setLayoutUuid(java.lang.String layoutUuid) { 817 _assetEntry.setLayoutUuid(layoutUuid); 818 } 819 820 /** 821 * Returns the height of this asset entry. 822 * 823 * @return the height of this asset entry 824 */ 825 public int getHeight() { 826 return _assetEntry.getHeight(); 827 } 828 829 /** 830 * Sets the height of this asset entry. 831 * 832 * @param height the height of this asset entry 833 */ 834 public void setHeight(int height) { 835 _assetEntry.setHeight(height); 836 } 837 838 /** 839 * Returns the width of this asset entry. 840 * 841 * @return the width of this asset entry 842 */ 843 public int getWidth() { 844 return _assetEntry.getWidth(); 845 } 846 847 /** 848 * Sets the width of this asset entry. 849 * 850 * @param width the width of this asset entry 851 */ 852 public void setWidth(int width) { 853 _assetEntry.setWidth(width); 854 } 855 856 /** 857 * Returns the priority of this asset entry. 858 * 859 * @return the priority of this asset entry 860 */ 861 public double getPriority() { 862 return _assetEntry.getPriority(); 863 } 864 865 /** 866 * Sets the priority of this asset entry. 867 * 868 * @param priority the priority of this asset entry 869 */ 870 public void setPriority(double priority) { 871 _assetEntry.setPriority(priority); 872 } 873 874 /** 875 * Returns the view count of this asset entry. 876 * 877 * @return the view count of this asset entry 878 */ 879 public int getViewCount() { 880 return _assetEntry.getViewCount(); 881 } 882 883 /** 884 * Sets the view count of this asset entry. 885 * 886 * @param viewCount the view count of this asset entry 887 */ 888 public void setViewCount(int viewCount) { 889 _assetEntry.setViewCount(viewCount); 890 } 891 892 public boolean isNew() { 893 return _assetEntry.isNew(); 894 } 895 896 public void setNew(boolean n) { 897 _assetEntry.setNew(n); 898 } 899 900 public boolean isCachedModel() { 901 return _assetEntry.isCachedModel(); 902 } 903 904 public void setCachedModel(boolean cachedModel) { 905 _assetEntry.setCachedModel(cachedModel); 906 } 907 908 public boolean isEscapedModel() { 909 return _assetEntry.isEscapedModel(); 910 } 911 912 public java.io.Serializable getPrimaryKeyObj() { 913 return _assetEntry.getPrimaryKeyObj(); 914 } 915 916 public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) { 917 _assetEntry.setPrimaryKeyObj(primaryKeyObj); 918 } 919 920 public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() { 921 return _assetEntry.getExpandoBridge(); 922 } 923 924 public void setExpandoBridgeAttributes( 925 com.liferay.portal.service.ServiceContext serviceContext) { 926 _assetEntry.setExpandoBridgeAttributes(serviceContext); 927 } 928 929 @Override 930 public java.lang.Object clone() { 931 return new AssetEntryWrapper((AssetEntry)_assetEntry.clone()); 932 } 933 934 public int compareTo(com.liferay.portlet.asset.model.AssetEntry assetEntry) { 935 return _assetEntry.compareTo(assetEntry); 936 } 937 938 @Override 939 public int hashCode() { 940 return _assetEntry.hashCode(); 941 } 942 943 public com.liferay.portal.model.CacheModel<com.liferay.portlet.asset.model.AssetEntry> toCacheModel() { 944 return _assetEntry.toCacheModel(); 945 } 946 947 public com.liferay.portlet.asset.model.AssetEntry toEscapedModel() { 948 return new AssetEntryWrapper(_assetEntry.toEscapedModel()); 949 } 950 951 @Override 952 public java.lang.String toString() { 953 return _assetEntry.toString(); 954 } 955 956 public java.lang.String toXmlString() { 957 return _assetEntry.toXmlString(); 958 } 959 960 public void persist() 961 throws com.liferay.portal.kernel.exception.SystemException { 962 _assetEntry.persist(); 963 } 964 965 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getCategories() 966 throws com.liferay.portal.kernel.exception.SystemException { 967 return _assetEntry.getCategories(); 968 } 969 970 public long[] getCategoryIds() 971 throws com.liferay.portal.kernel.exception.SystemException { 972 return _assetEntry.getCategoryIds(); 973 } 974 975 public java.lang.String[] getTagNames() 976 throws com.liferay.portal.kernel.exception.SystemException { 977 return _assetEntry.getTagNames(); 978 } 979 980 public java.util.List<com.liferay.portlet.asset.model.AssetTag> getTags() 981 throws com.liferay.portal.kernel.exception.SystemException { 982 return _assetEntry.getTags(); 983 } 984 985 /** 986 * @deprecated Renamed to {@link #getWrappedModel} 987 */ 988 public AssetEntry getWrappedAssetEntry() { 989 return _assetEntry; 990 } 991 992 public AssetEntry getWrappedModel() { 993 return _assetEntry; 994 } 995 996 public void resetOriginalValues() { 997 _assetEntry.resetOriginalValues(); 998 } 999 1000 private AssetEntry _assetEntry; 1001 }