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