001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
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            /**
032            * Gets the primary key of this asset vocabulary.
033            *
034            * @return the primary key of this asset vocabulary
035            */
036            public long getPrimaryKey() {
037                    return _assetVocabulary.getPrimaryKey();
038            }
039    
040            /**
041            * Sets the primary key of this asset vocabulary
042            *
043            * @param pk the primary key of this asset vocabulary
044            */
045            public void setPrimaryKey(long pk) {
046                    _assetVocabulary.setPrimaryKey(pk);
047            }
048    
049            /**
050            * Gets the uuid of this asset vocabulary.
051            *
052            * @return the uuid of this asset vocabulary
053            */
054            public java.lang.String getUuid() {
055                    return _assetVocabulary.getUuid();
056            }
057    
058            /**
059            * Sets the uuid of this asset vocabulary.
060            *
061            * @param uuid the uuid of this asset vocabulary
062            */
063            public void setUuid(java.lang.String uuid) {
064                    _assetVocabulary.setUuid(uuid);
065            }
066    
067            /**
068            * Gets the vocabulary id of this asset vocabulary.
069            *
070            * @return the vocabulary id of this asset vocabulary
071            */
072            public long getVocabularyId() {
073                    return _assetVocabulary.getVocabularyId();
074            }
075    
076            /**
077            * Sets the vocabulary id of this asset vocabulary.
078            *
079            * @param vocabularyId the vocabulary id of this asset vocabulary
080            */
081            public void setVocabularyId(long vocabularyId) {
082                    _assetVocabulary.setVocabularyId(vocabularyId);
083            }
084    
085            /**
086            * Gets the group id of this asset vocabulary.
087            *
088            * @return the group id of this asset vocabulary
089            */
090            public long getGroupId() {
091                    return _assetVocabulary.getGroupId();
092            }
093    
094            /**
095            * Sets the group id of this asset vocabulary.
096            *
097            * @param groupId the group id of this asset vocabulary
098            */
099            public void setGroupId(long groupId) {
100                    _assetVocabulary.setGroupId(groupId);
101            }
102    
103            /**
104            * Gets the company id of this asset vocabulary.
105            *
106            * @return the company id of this asset vocabulary
107            */
108            public long getCompanyId() {
109                    return _assetVocabulary.getCompanyId();
110            }
111    
112            /**
113            * Sets the company id of this asset vocabulary.
114            *
115            * @param companyId the company id of this asset vocabulary
116            */
117            public void setCompanyId(long companyId) {
118                    _assetVocabulary.setCompanyId(companyId);
119            }
120    
121            /**
122            * Gets the user id of this asset vocabulary.
123            *
124            * @return the user id of this asset vocabulary
125            */
126            public long getUserId() {
127                    return _assetVocabulary.getUserId();
128            }
129    
130            /**
131            * Sets the user id of this asset vocabulary.
132            *
133            * @param userId the user id of this asset vocabulary
134            */
135            public void setUserId(long userId) {
136                    _assetVocabulary.setUserId(userId);
137            }
138    
139            /**
140            * Gets the user uuid of this asset vocabulary.
141            *
142            * @return the user uuid of this asset vocabulary
143            * @throws SystemException if a system exception occurred
144            */
145            public java.lang.String getUserUuid()
146                    throws com.liferay.portal.kernel.exception.SystemException {
147                    return _assetVocabulary.getUserUuid();
148            }
149    
150            /**
151            * Sets the user uuid of this asset vocabulary.
152            *
153            * @param userUuid the user uuid of this asset vocabulary
154            */
155            public void setUserUuid(java.lang.String userUuid) {
156                    _assetVocabulary.setUserUuid(userUuid);
157            }
158    
159            /**
160            * Gets the user name of this asset vocabulary.
161            *
162            * @return the user name of this asset vocabulary
163            */
164            public java.lang.String getUserName() {
165                    return _assetVocabulary.getUserName();
166            }
167    
168            /**
169            * Sets the user name of this asset vocabulary.
170            *
171            * @param userName the user name of this asset vocabulary
172            */
173            public void setUserName(java.lang.String userName) {
174                    _assetVocabulary.setUserName(userName);
175            }
176    
177            /**
178            * Gets the create date of this asset vocabulary.
179            *
180            * @return the create date of this asset vocabulary
181            */
182            public java.util.Date getCreateDate() {
183                    return _assetVocabulary.getCreateDate();
184            }
185    
186            /**
187            * Sets the create date of this asset vocabulary.
188            *
189            * @param createDate the create date of this asset vocabulary
190            */
191            public void setCreateDate(java.util.Date createDate) {
192                    _assetVocabulary.setCreateDate(createDate);
193            }
194    
195            /**
196            * Gets the modified date of this asset vocabulary.
197            *
198            * @return the modified date of this asset vocabulary
199            */
200            public java.util.Date getModifiedDate() {
201                    return _assetVocabulary.getModifiedDate();
202            }
203    
204            /**
205            * Sets the modified date of this asset vocabulary.
206            *
207            * @param modifiedDate the modified date of this asset vocabulary
208            */
209            public void setModifiedDate(java.util.Date modifiedDate) {
210                    _assetVocabulary.setModifiedDate(modifiedDate);
211            }
212    
213            /**
214            * Gets the name of this asset vocabulary.
215            *
216            * @return the name of this asset vocabulary
217            */
218            public java.lang.String getName() {
219                    return _assetVocabulary.getName();
220            }
221    
222            /**
223            * Sets the name of this asset vocabulary.
224            *
225            * @param name the name of this asset vocabulary
226            */
227            public void setName(java.lang.String name) {
228                    _assetVocabulary.setName(name);
229            }
230    
231            /**
232            * Gets the title of this asset vocabulary.
233            *
234            * @return the title of this asset vocabulary
235            */
236            public java.lang.String getTitle() {
237                    return _assetVocabulary.getTitle();
238            }
239    
240            /**
241            * Gets the localized title of this asset vocabulary. Uses the default language if no localization exists for the requested language.
242            *
243            * @param locale the locale to get the localized title for
244            * @return the localized title of this asset vocabulary
245            */
246            public java.lang.String getTitle(java.util.Locale locale) {
247                    return _assetVocabulary.getTitle(locale);
248            }
249    
250            /**
251            * Gets the localized title of this asset vocabulary, optionally using the default language if no localization exists for the requested language.
252            *
253            * @param locale the local to get the localized title for
254            * @param useDefault whether to use the default language if no localization exists for the requested language
255            * @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.
256            */
257            public java.lang.String getTitle(java.util.Locale locale, boolean useDefault) {
258                    return _assetVocabulary.getTitle(locale, useDefault);
259            }
260    
261            /**
262            * Gets the localized title of this asset vocabulary. Uses the default language if no localization exists for the requested language.
263            *
264            * @param languageId the id of the language to get the localized title for
265            * @return the localized title of this asset vocabulary
266            */
267            public java.lang.String getTitle(java.lang.String languageId) {
268                    return _assetVocabulary.getTitle(languageId);
269            }
270    
271            /**
272            * Gets the localized title of this asset vocabulary, optionally using the default language if no localization exists for the requested language.
273            *
274            * @param languageId the id of the language to get the localized title for
275            * @param useDefault whether to use the default language if no localization exists for the requested language
276            * @return the localized title of this asset vocabulary
277            */
278            public java.lang.String getTitle(java.lang.String languageId,
279                    boolean useDefault) {
280                    return _assetVocabulary.getTitle(languageId, useDefault);
281            }
282    
283            /**
284            * Gets a map of the locales and localized title of this asset vocabulary.
285            *
286            * @return the locales and localized title
287            */
288            public java.util.Map<java.util.Locale, java.lang.String> getTitleMap() {
289                    return _assetVocabulary.getTitleMap();
290            }
291    
292            /**
293            * Sets the title of this asset vocabulary.
294            *
295            * @param title the title of this asset vocabulary
296            */
297            public void setTitle(java.lang.String title) {
298                    _assetVocabulary.setTitle(title);
299            }
300    
301            /**
302            * Sets the localized title of this asset vocabulary.
303            *
304            * @param locale the locale to set the localized title for
305            * @param title the localized title of this asset vocabulary
306            */
307            public void setTitle(java.util.Locale locale, java.lang.String title) {
308                    _assetVocabulary.setTitle(locale, title);
309            }
310    
311            /**
312            * Sets the localized titles of this asset vocabulary from the map of locales and localized titles.
313            *
314            * @param titleMap the locales and localized titles of this asset vocabulary
315            */
316            public void setTitleMap(
317                    java.util.Map<java.util.Locale, java.lang.String> titleMap) {
318                    _assetVocabulary.setTitleMap(titleMap);
319            }
320    
321            /**
322            * Gets the description of this asset vocabulary.
323            *
324            * @return the description of this asset vocabulary
325            */
326            public java.lang.String getDescription() {
327                    return _assetVocabulary.getDescription();
328            }
329    
330            /**
331            * Gets the localized description of this asset vocabulary. Uses the default language if no localization exists for the requested language.
332            *
333            * @param locale the locale to get the localized description for
334            * @return the localized description of this asset vocabulary
335            */
336            public java.lang.String getDescription(java.util.Locale locale) {
337                    return _assetVocabulary.getDescription(locale);
338            }
339    
340            /**
341            * Gets the localized description of this asset vocabulary, optionally using the default language if no localization exists for the requested language.
342            *
343            * @param locale the local to get the localized description for
344            * @param useDefault whether to use the default language if no localization exists for the requested language
345            * @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.
346            */
347            public java.lang.String getDescription(java.util.Locale locale,
348                    boolean useDefault) {
349                    return _assetVocabulary.getDescription(locale, useDefault);
350            }
351    
352            /**
353            * Gets the localized description of this asset vocabulary. Uses the default language if no localization exists for the requested language.
354            *
355            * @param languageId the id of the language to get the localized description for
356            * @return the localized description of this asset vocabulary
357            */
358            public java.lang.String getDescription(java.lang.String languageId) {
359                    return _assetVocabulary.getDescription(languageId);
360            }
361    
362            /**
363            * Gets the localized description of this asset vocabulary, optionally using the default language if no localization exists for the requested language.
364            *
365            * @param languageId the id of the language to get the localized description for
366            * @param useDefault whether to use the default language if no localization exists for the requested language
367            * @return the localized description of this asset vocabulary
368            */
369            public java.lang.String getDescription(java.lang.String languageId,
370                    boolean useDefault) {
371                    return _assetVocabulary.getDescription(languageId, useDefault);
372            }
373    
374            /**
375            * Gets a map of the locales and localized description of this asset vocabulary.
376            *
377            * @return the locales and localized description
378            */
379            public java.util.Map<java.util.Locale, java.lang.String> getDescriptionMap() {
380                    return _assetVocabulary.getDescriptionMap();
381            }
382    
383            /**
384            * Sets the description of this asset vocabulary.
385            *
386            * @param description the description of this asset vocabulary
387            */
388            public void setDescription(java.lang.String description) {
389                    _assetVocabulary.setDescription(description);
390            }
391    
392            /**
393            * Sets the localized description of this asset vocabulary.
394            *
395            * @param locale the locale to set the localized description for
396            * @param description the localized description of this asset vocabulary
397            */
398            public void setDescription(java.util.Locale locale,
399                    java.lang.String description) {
400                    _assetVocabulary.setDescription(locale, description);
401            }
402    
403            /**
404            * Sets the localized descriptions of this asset vocabulary from the map of locales and localized descriptions.
405            *
406            * @param descriptionMap the locales and localized descriptions of this asset vocabulary
407            */
408            public void setDescriptionMap(
409                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap) {
410                    _assetVocabulary.setDescriptionMap(descriptionMap);
411            }
412    
413            /**
414            * Gets the settings of this asset vocabulary.
415            *
416            * @return the settings of this asset vocabulary
417            */
418            public java.lang.String getSettings() {
419                    return _assetVocabulary.getSettings();
420            }
421    
422            /**
423            * Sets the settings of this asset vocabulary.
424            *
425            * @param settings the settings of this asset vocabulary
426            */
427            public void setSettings(java.lang.String settings) {
428                    _assetVocabulary.setSettings(settings);
429            }
430    
431            public boolean isNew() {
432                    return _assetVocabulary.isNew();
433            }
434    
435            public void setNew(boolean n) {
436                    _assetVocabulary.setNew(n);
437            }
438    
439            public boolean isCachedModel() {
440                    return _assetVocabulary.isCachedModel();
441            }
442    
443            public void setCachedModel(boolean cachedModel) {
444                    _assetVocabulary.setCachedModel(cachedModel);
445            }
446    
447            public boolean isEscapedModel() {
448                    return _assetVocabulary.isEscapedModel();
449            }
450    
451            public void setEscapedModel(boolean escapedModel) {
452                    _assetVocabulary.setEscapedModel(escapedModel);
453            }
454    
455            public java.io.Serializable getPrimaryKeyObj() {
456                    return _assetVocabulary.getPrimaryKeyObj();
457            }
458    
459            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
460                    return _assetVocabulary.getExpandoBridge();
461            }
462    
463            public void setExpandoBridgeAttributes(
464                    com.liferay.portal.service.ServiceContext serviceContext) {
465                    _assetVocabulary.setExpandoBridgeAttributes(serviceContext);
466            }
467    
468            public java.lang.Object clone() {
469                    return _assetVocabulary.clone();
470            }
471    
472            public int compareTo(
473                    com.liferay.portlet.asset.model.AssetVocabulary assetVocabulary) {
474                    return _assetVocabulary.compareTo(assetVocabulary);
475            }
476    
477            public int hashCode() {
478                    return _assetVocabulary.hashCode();
479            }
480    
481            public com.liferay.portlet.asset.model.AssetVocabulary toEscapedModel() {
482                    return _assetVocabulary.toEscapedModel();
483            }
484    
485            public java.lang.String toString() {
486                    return _assetVocabulary.toString();
487            }
488    
489            public java.lang.String toXmlString() {
490                    return _assetVocabulary.toXmlString();
491            }
492    
493            public AssetVocabulary getWrappedAssetVocabulary() {
494                    return _assetVocabulary;
495            }
496    
497            private AssetVocabulary _assetVocabulary;
498    }