001    /**
002     * Copyright (c) 2000-2011 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    /**
018     * <p>
019     * This class is a wrapper for {@link AssetVocabulary}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       AssetVocabulary
024     * @generated
025     */
026    public class AssetVocabularyWrapper implements AssetVocabulary {
027            public AssetVocabularyWrapper(AssetVocabulary assetVocabulary) {
028                    _assetVocabulary = assetVocabulary;
029            }
030    
031            public Class<?> getModelClass() {
032                    return AssetVocabulary.class;
033            }
034    
035            public String getModelClassName() {
036                    return AssetVocabulary.class.getName();
037            }
038    
039            /**
040            * Returns the primary key of this asset vocabulary.
041            *
042            * @return the primary key of this asset vocabulary
043            */
044            public long getPrimaryKey() {
045                    return _assetVocabulary.getPrimaryKey();
046            }
047    
048            /**
049            * Sets the primary key of this asset vocabulary.
050            *
051            * @param primaryKey the primary key of this asset vocabulary
052            */
053            public void setPrimaryKey(long primaryKey) {
054                    _assetVocabulary.setPrimaryKey(primaryKey);
055            }
056    
057            /**
058            * Returns the uuid of this asset vocabulary.
059            *
060            * @return the uuid of this asset vocabulary
061            */
062            public java.lang.String getUuid() {
063                    return _assetVocabulary.getUuid();
064            }
065    
066            /**
067            * Sets the uuid of this asset vocabulary.
068            *
069            * @param uuid the uuid of this asset vocabulary
070            */
071            public void setUuid(java.lang.String uuid) {
072                    _assetVocabulary.setUuid(uuid);
073            }
074    
075            /**
076            * Returns the vocabulary ID of this asset vocabulary.
077            *
078            * @return the vocabulary ID of this asset vocabulary
079            */
080            public long getVocabularyId() {
081                    return _assetVocabulary.getVocabularyId();
082            }
083    
084            /**
085            * Sets the vocabulary ID of this asset vocabulary.
086            *
087            * @param vocabularyId the vocabulary ID of this asset vocabulary
088            */
089            public void setVocabularyId(long vocabularyId) {
090                    _assetVocabulary.setVocabularyId(vocabularyId);
091            }
092    
093            /**
094            * Returns the group ID of this asset vocabulary.
095            *
096            * @return the group ID of this asset vocabulary
097            */
098            public long getGroupId() {
099                    return _assetVocabulary.getGroupId();
100            }
101    
102            /**
103            * Sets the group ID of this asset vocabulary.
104            *
105            * @param groupId the group ID of this asset vocabulary
106            */
107            public void setGroupId(long groupId) {
108                    _assetVocabulary.setGroupId(groupId);
109            }
110    
111            /**
112            * Returns the company ID of this asset vocabulary.
113            *
114            * @return the company ID of this asset vocabulary
115            */
116            public long getCompanyId() {
117                    return _assetVocabulary.getCompanyId();
118            }
119    
120            /**
121            * Sets the company ID of this asset vocabulary.
122            *
123            * @param companyId the company ID of this asset vocabulary
124            */
125            public void setCompanyId(long companyId) {
126                    _assetVocabulary.setCompanyId(companyId);
127            }
128    
129            /**
130            * Returns the user ID of this asset vocabulary.
131            *
132            * @return the user ID of this asset vocabulary
133            */
134            public long getUserId() {
135                    return _assetVocabulary.getUserId();
136            }
137    
138            /**
139            * Sets the user ID of this asset vocabulary.
140            *
141            * @param userId the user ID of this asset vocabulary
142            */
143            public void setUserId(long userId) {
144                    _assetVocabulary.setUserId(userId);
145            }
146    
147            /**
148            * Returns the user uuid of this asset vocabulary.
149            *
150            * @return the user uuid of this asset vocabulary
151            * @throws SystemException if a system exception occurred
152            */
153            public java.lang.String getUserUuid()
154                    throws com.liferay.portal.kernel.exception.SystemException {
155                    return _assetVocabulary.getUserUuid();
156            }
157    
158            /**
159            * Sets the user uuid of this asset vocabulary.
160            *
161            * @param userUuid the user uuid of this asset vocabulary
162            */
163            public void setUserUuid(java.lang.String userUuid) {
164                    _assetVocabulary.setUserUuid(userUuid);
165            }
166    
167            /**
168            * Returns the user name of this asset vocabulary.
169            *
170            * @return the user name of this asset vocabulary
171            */
172            public java.lang.String getUserName() {
173                    return _assetVocabulary.getUserName();
174            }
175    
176            /**
177            * Sets the user name of this asset vocabulary.
178            *
179            * @param userName the user name of this asset vocabulary
180            */
181            public void setUserName(java.lang.String userName) {
182                    _assetVocabulary.setUserName(userName);
183            }
184    
185            /**
186            * Returns the create date of this asset vocabulary.
187            *
188            * @return the create date of this asset vocabulary
189            */
190            public java.util.Date getCreateDate() {
191                    return _assetVocabulary.getCreateDate();
192            }
193    
194            /**
195            * Sets the create date of this asset vocabulary.
196            *
197            * @param createDate the create date of this asset vocabulary
198            */
199            public void setCreateDate(java.util.Date createDate) {
200                    _assetVocabulary.setCreateDate(createDate);
201            }
202    
203            /**
204            * Returns the modified date of this asset vocabulary.
205            *
206            * @return the modified date of this asset vocabulary
207            */
208            public java.util.Date getModifiedDate() {
209                    return _assetVocabulary.getModifiedDate();
210            }
211    
212            /**
213            * Sets the modified date of this asset vocabulary.
214            *
215            * @param modifiedDate the modified date of this asset vocabulary
216            */
217            public void setModifiedDate(java.util.Date modifiedDate) {
218                    _assetVocabulary.setModifiedDate(modifiedDate);
219            }
220    
221            /**
222            * Returns the name of this asset vocabulary.
223            *
224            * @return the name of this asset vocabulary
225            */
226            public java.lang.String getName() {
227                    return _assetVocabulary.getName();
228            }
229    
230            /**
231            * Sets the name of this asset vocabulary.
232            *
233            * @param name the name of this asset vocabulary
234            */
235            public void setName(java.lang.String name) {
236                    _assetVocabulary.setName(name);
237            }
238    
239            /**
240            * Returns the title of this asset vocabulary.
241            *
242            * @return the title of this asset vocabulary
243            */
244            public java.lang.String getTitle() {
245                    return _assetVocabulary.getTitle();
246            }
247    
248            /**
249            * Returns the localized title of this asset vocabulary in the language. Uses the default language if no localization exists for the requested language.
250            *
251            * @param locale the locale of the language
252            * @return the localized title of this asset vocabulary
253            */
254            public java.lang.String getTitle(java.util.Locale locale) {
255                    return _assetVocabulary.getTitle(locale);
256            }
257    
258            /**
259            * Returns the localized title of this asset vocabulary in the language, optionally using the default language if no localization exists for the requested language.
260            *
261            * @param locale the local of the language
262            * @param useDefault whether to use the default language if no localization exists for the requested language
263            * @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.
264            */
265            public java.lang.String getTitle(java.util.Locale locale, boolean useDefault) {
266                    return _assetVocabulary.getTitle(locale, useDefault);
267            }
268    
269            /**
270            * Returns the localized title of this asset vocabulary in the language. Uses the default language if no localization exists for the requested language.
271            *
272            * @param languageId the ID of the language
273            * @return the localized title of this asset vocabulary
274            */
275            public java.lang.String getTitle(java.lang.String languageId) {
276                    return _assetVocabulary.getTitle(languageId);
277            }
278    
279            /**
280            * Returns the localized title of this asset vocabulary in the language, optionally using the default language if no localization exists for the requested language.
281            *
282            * @param languageId the ID of the language
283            * @param useDefault whether to use the default language if no localization exists for the requested language
284            * @return the localized title of this asset vocabulary
285            */
286            public java.lang.String getTitle(java.lang.String languageId,
287                    boolean useDefault) {
288                    return _assetVocabulary.getTitle(languageId, useDefault);
289            }
290    
291            public java.lang.String getTitleCurrentLanguageId() {
292                    return _assetVocabulary.getTitleCurrentLanguageId();
293            }
294    
295            public java.lang.String getTitleCurrentValue() {
296                    return _assetVocabulary.getTitleCurrentValue();
297            }
298    
299            /**
300            * Returns a map of the locales and localized titles of this asset vocabulary.
301            *
302            * @return the locales and localized titles of this asset vocabulary
303            */
304            public java.util.Map<java.util.Locale, java.lang.String> getTitleMap() {
305                    return _assetVocabulary.getTitleMap();
306            }
307    
308            /**
309            * Sets the title of this asset vocabulary.
310            *
311            * @param title the title of this asset vocabulary
312            */
313            public void setTitle(java.lang.String title) {
314                    _assetVocabulary.setTitle(title);
315            }
316    
317            /**
318            * Sets the localized title of this asset vocabulary in the language.
319            *
320            * @param title the localized title of this asset vocabulary
321            * @param locale the locale of the language
322            */
323            public void setTitle(java.lang.String title, java.util.Locale locale) {
324                    _assetVocabulary.setTitle(title, locale);
325            }
326    
327            /**
328            * Sets the localized title of this asset vocabulary in the language, and sets the default locale.
329            *
330            * @param title the localized title of this asset vocabulary
331            * @param locale the locale of the language
332            * @param defaultLocale the default locale
333            */
334            public void setTitle(java.lang.String title, java.util.Locale locale,
335                    java.util.Locale defaultLocale) {
336                    _assetVocabulary.setTitle(title, locale, defaultLocale);
337            }
338    
339            public void setTitleCurrentLanguageId(java.lang.String languageId) {
340                    _assetVocabulary.setTitleCurrentLanguageId(languageId);
341            }
342    
343            /**
344            * Sets the localized titles of this asset vocabulary from the map of locales and localized titles.
345            *
346            * @param titleMap the locales and localized titles of this asset vocabulary
347            */
348            public void setTitleMap(
349                    java.util.Map<java.util.Locale, java.lang.String> titleMap) {
350                    _assetVocabulary.setTitleMap(titleMap);
351            }
352    
353            /**
354            * Sets the localized titles of this asset vocabulary from the map of locales and localized titles, and sets the default locale.
355            *
356            * @param titleMap the locales and localized titles of this asset vocabulary
357            * @param defaultLocale the default locale
358            */
359            public void setTitleMap(
360                    java.util.Map<java.util.Locale, java.lang.String> titleMap,
361                    java.util.Locale defaultLocale) {
362                    _assetVocabulary.setTitleMap(titleMap, defaultLocale);
363            }
364    
365            /**
366            * Returns the description of this asset vocabulary.
367            *
368            * @return the description of this asset vocabulary
369            */
370            public java.lang.String getDescription() {
371                    return _assetVocabulary.getDescription();
372            }
373    
374            /**
375            * Returns the localized description of this asset vocabulary in the language. Uses the default language if no localization exists for the requested language.
376            *
377            * @param locale the locale of the language
378            * @return the localized description of this asset vocabulary
379            */
380            public java.lang.String getDescription(java.util.Locale locale) {
381                    return _assetVocabulary.getDescription(locale);
382            }
383    
384            /**
385            * Returns the localized description of this asset vocabulary in the language, optionally using the default language if no localization exists for the requested language.
386            *
387            * @param locale the local of the language
388            * @param useDefault whether to use the default language if no localization exists for the requested language
389            * @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.
390            */
391            public java.lang.String getDescription(java.util.Locale locale,
392                    boolean useDefault) {
393                    return _assetVocabulary.getDescription(locale, useDefault);
394            }
395    
396            /**
397            * Returns the localized description of this asset vocabulary in the language. Uses the default language if no localization exists for the requested language.
398            *
399            * @param languageId the ID of the language
400            * @return the localized description of this asset vocabulary
401            */
402            public java.lang.String getDescription(java.lang.String languageId) {
403                    return _assetVocabulary.getDescription(languageId);
404            }
405    
406            /**
407            * Returns the localized description of this asset vocabulary in the language, optionally using the default language if no localization exists for the requested language.
408            *
409            * @param languageId the ID of the language
410            * @param useDefault whether to use the default language if no localization exists for the requested language
411            * @return the localized description of this asset vocabulary
412            */
413            public java.lang.String getDescription(java.lang.String languageId,
414                    boolean useDefault) {
415                    return _assetVocabulary.getDescription(languageId, useDefault);
416            }
417    
418            public java.lang.String getDescriptionCurrentLanguageId() {
419                    return _assetVocabulary.getDescriptionCurrentLanguageId();
420            }
421    
422            public java.lang.String getDescriptionCurrentValue() {
423                    return _assetVocabulary.getDescriptionCurrentValue();
424            }
425    
426            /**
427            * Returns a map of the locales and localized descriptions of this asset vocabulary.
428            *
429            * @return the locales and localized descriptions of this asset vocabulary
430            */
431            public java.util.Map<java.util.Locale, java.lang.String> getDescriptionMap() {
432                    return _assetVocabulary.getDescriptionMap();
433            }
434    
435            /**
436            * Sets the description of this asset vocabulary.
437            *
438            * @param description the description of this asset vocabulary
439            */
440            public void setDescription(java.lang.String description) {
441                    _assetVocabulary.setDescription(description);
442            }
443    
444            /**
445            * Sets the localized description of this asset vocabulary in the language.
446            *
447            * @param description the localized description of this asset vocabulary
448            * @param locale the locale of the language
449            */
450            public void setDescription(java.lang.String description,
451                    java.util.Locale locale) {
452                    _assetVocabulary.setDescription(description, locale);
453            }
454    
455            /**
456            * Sets the localized description of this asset vocabulary in the language, and sets the default locale.
457            *
458            * @param description the localized description of this asset vocabulary
459            * @param locale the locale of the language
460            * @param defaultLocale the default locale
461            */
462            public void setDescription(java.lang.String description,
463                    java.util.Locale locale, java.util.Locale defaultLocale) {
464                    _assetVocabulary.setDescription(description, locale, defaultLocale);
465            }
466    
467            public void setDescriptionCurrentLanguageId(java.lang.String languageId) {
468                    _assetVocabulary.setDescriptionCurrentLanguageId(languageId);
469            }
470    
471            /**
472            * Sets the localized descriptions of this asset vocabulary from the map of locales and localized descriptions.
473            *
474            * @param descriptionMap the locales and localized descriptions of this asset vocabulary
475            */
476            public void setDescriptionMap(
477                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap) {
478                    _assetVocabulary.setDescriptionMap(descriptionMap);
479            }
480    
481            /**
482            * Sets the localized descriptions of this asset vocabulary from the map of locales and localized descriptions, and sets the default locale.
483            *
484            * @param descriptionMap the locales and localized descriptions of this asset vocabulary
485            * @param defaultLocale the default locale
486            */
487            public void setDescriptionMap(
488                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
489                    java.util.Locale defaultLocale) {
490                    _assetVocabulary.setDescriptionMap(descriptionMap, defaultLocale);
491            }
492    
493            /**
494            * Returns the settings of this asset vocabulary.
495            *
496            * @return the settings of this asset vocabulary
497            */
498            public java.lang.String getSettings() {
499                    return _assetVocabulary.getSettings();
500            }
501    
502            /**
503            * Sets the settings of this asset vocabulary.
504            *
505            * @param settings the settings of this asset vocabulary
506            */
507            public void setSettings(java.lang.String settings) {
508                    _assetVocabulary.setSettings(settings);
509            }
510    
511            public boolean isNew() {
512                    return _assetVocabulary.isNew();
513            }
514    
515            public void setNew(boolean n) {
516                    _assetVocabulary.setNew(n);
517            }
518    
519            public boolean isCachedModel() {
520                    return _assetVocabulary.isCachedModel();
521            }
522    
523            public void setCachedModel(boolean cachedModel) {
524                    _assetVocabulary.setCachedModel(cachedModel);
525            }
526    
527            public boolean isEscapedModel() {
528                    return _assetVocabulary.isEscapedModel();
529            }
530    
531            public java.io.Serializable getPrimaryKeyObj() {
532                    return _assetVocabulary.getPrimaryKeyObj();
533            }
534    
535            public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
536                    _assetVocabulary.setPrimaryKeyObj(primaryKeyObj);
537            }
538    
539            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
540                    return _assetVocabulary.getExpandoBridge();
541            }
542    
543            public void setExpandoBridgeAttributes(
544                    com.liferay.portal.service.ServiceContext serviceContext) {
545                    _assetVocabulary.setExpandoBridgeAttributes(serviceContext);
546            }
547    
548            @Override
549            public java.lang.Object clone() {
550                    return new AssetVocabularyWrapper((AssetVocabulary)_assetVocabulary.clone());
551            }
552    
553            public int compareTo(
554                    com.liferay.portlet.asset.model.AssetVocabulary assetVocabulary) {
555                    return _assetVocabulary.compareTo(assetVocabulary);
556            }
557    
558            @Override
559            public int hashCode() {
560                    return _assetVocabulary.hashCode();
561            }
562    
563            public com.liferay.portal.model.CacheModel<com.liferay.portlet.asset.model.AssetVocabulary> toCacheModel() {
564                    return _assetVocabulary.toCacheModel();
565            }
566    
567            public com.liferay.portlet.asset.model.AssetVocabulary toEscapedModel() {
568                    return new AssetVocabularyWrapper(_assetVocabulary.toEscapedModel());
569            }
570    
571            @Override
572            public java.lang.String toString() {
573                    return _assetVocabulary.toString();
574            }
575    
576            public java.lang.String toXmlString() {
577                    return _assetVocabulary.toXmlString();
578            }
579    
580            public void persist()
581                    throws com.liferay.portal.kernel.exception.SystemException {
582                    _assetVocabulary.persist();
583            }
584    
585            public com.liferay.portal.kernel.util.UnicodeProperties getSettingsProperties() {
586                    return _assetVocabulary.getSettingsProperties();
587            }
588    
589            public boolean isMultiValued() {
590                    return _assetVocabulary.isMultiValued();
591            }
592    
593            public boolean isRequired(long classNameId) {
594                    return _assetVocabulary.isRequired(classNameId);
595            }
596    
597            public void setSettingsProperties(
598                    com.liferay.portal.kernel.util.UnicodeProperties settingsProperties) {
599                    _assetVocabulary.setSettingsProperties(settingsProperties);
600            }
601    
602            public AssetVocabulary getWrappedAssetVocabulary() {
603                    return _assetVocabulary;
604            }
605    
606            public void resetOriginalValues() {
607                    _assetVocabulary.resetOriginalValues();
608            }
609    
610            private AssetVocabulary _assetVocabulary;
611    }