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