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