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