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