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