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