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