001    /**
002     * Copyright (c) 2000-2011 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            public Class<?> getModelClass() {
032                    return AssetVocabulary.class;
033            }
034    
035            public String getModelClassName() {
036                    return AssetVocabulary.class.getName();
037            }
038    
039            /**
040            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Gets the localized title of this asset vocabulary. Uses the default language if no localization exists for the requested language.
250            *
251            * @param locale the locale to get the localized title for
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            * Gets the localized title of this asset vocabulary, optionally using the default language if no localization exists for the requested language.
260            *
261            * @param locale the local to get the localized title for
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            * Gets the localized title of this asset vocabulary. Uses the default language if no localization exists for the requested language.
271            *
272            * @param languageId the id of the language to get the localized title for
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            * Gets the localized title of this asset vocabulary, optionally using the default language if no localization exists for the requested language.
281            *
282            * @param languageId the id of the language to get the localized title for
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            /**
292            * Gets a map of the locales and localized title of this asset vocabulary.
293            *
294            * @return the locales and localized title
295            */
296            public java.util.Map<java.util.Locale, java.lang.String> getTitleMap() {
297                    return _assetVocabulary.getTitleMap();
298            }
299    
300            /**
301            * Sets the title of this asset vocabulary.
302            *
303            * @param title the title of this asset vocabulary
304            */
305            public void setTitle(java.lang.String title) {
306                    _assetVocabulary.setTitle(title);
307            }
308    
309            /**
310            * Sets the localized title of this asset vocabulary.
311            *
312            * @param locale the locale to set the localized title for
313            * @param title the localized title of this asset vocabulary
314            */
315            public void setTitle(java.util.Locale locale, java.lang.String title) {
316                    _assetVocabulary.setTitle(locale, title);
317            }
318    
319            /**
320            * Sets the localized titles of this asset vocabulary from the map of locales and localized titles.
321            *
322            * @param titleMap the locales and localized titles of this asset vocabulary
323            */
324            public void setTitleMap(
325                    java.util.Map<java.util.Locale, java.lang.String> titleMap) {
326                    _assetVocabulary.setTitleMap(titleMap);
327            }
328    
329            /**
330            * Gets the description of this asset vocabulary.
331            *
332            * @return the description of this asset vocabulary
333            */
334            public java.lang.String getDescription() {
335                    return _assetVocabulary.getDescription();
336            }
337    
338            /**
339            * Gets the localized description of this asset vocabulary. Uses the default language if no localization exists for the requested language.
340            *
341            * @param locale the locale to get the localized description for
342            * @return the localized description of this asset vocabulary
343            */
344            public java.lang.String getDescription(java.util.Locale locale) {
345                    return _assetVocabulary.getDescription(locale);
346            }
347    
348            /**
349            * Gets the localized description of this asset vocabulary, optionally using the default language if no localization exists for the requested language.
350            *
351            * @param locale the local to get the localized description for
352            * @param useDefault whether to use the default language if no localization exists for the requested language
353            * @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.
354            */
355            public java.lang.String getDescription(java.util.Locale locale,
356                    boolean useDefault) {
357                    return _assetVocabulary.getDescription(locale, useDefault);
358            }
359    
360            /**
361            * Gets the localized description of this asset vocabulary. Uses the default language if no localization exists for the requested language.
362            *
363            * @param languageId the id of the language to get the localized description for
364            * @return the localized description of this asset vocabulary
365            */
366            public java.lang.String getDescription(java.lang.String languageId) {
367                    return _assetVocabulary.getDescription(languageId);
368            }
369    
370            /**
371            * Gets the localized description of this asset vocabulary, optionally using the default language if no localization exists for the requested language.
372            *
373            * @param languageId the id of the language to get the localized description for
374            * @param useDefault whether to use the default language if no localization exists for the requested language
375            * @return the localized description of this asset vocabulary
376            */
377            public java.lang.String getDescription(java.lang.String languageId,
378                    boolean useDefault) {
379                    return _assetVocabulary.getDescription(languageId, useDefault);
380            }
381    
382            /**
383            * Gets a map of the locales and localized description of this asset vocabulary.
384            *
385            * @return the locales and localized description
386            */
387            public java.util.Map<java.util.Locale, java.lang.String> getDescriptionMap() {
388                    return _assetVocabulary.getDescriptionMap();
389            }
390    
391            /**
392            * Sets the description of this asset vocabulary.
393            *
394            * @param description the description of this asset vocabulary
395            */
396            public void setDescription(java.lang.String description) {
397                    _assetVocabulary.setDescription(description);
398            }
399    
400            /**
401            * Sets the localized description of this asset vocabulary.
402            *
403            * @param locale the locale to set the localized description for
404            * @param description the localized description of this asset vocabulary
405            */
406            public void setDescription(java.util.Locale locale,
407                    java.lang.String description) {
408                    _assetVocabulary.setDescription(locale, description);
409            }
410    
411            /**
412            * Sets the localized descriptions of this asset vocabulary from the map of locales and localized descriptions.
413            *
414            * @param descriptionMap the locales and localized descriptions of this asset vocabulary
415            */
416            public void setDescriptionMap(
417                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap) {
418                    _assetVocabulary.setDescriptionMap(descriptionMap);
419            }
420    
421            /**
422            * Gets the settings of this asset vocabulary.
423            *
424            * @return the settings of this asset vocabulary
425            */
426            public java.lang.String getSettings() {
427                    return _assetVocabulary.getSettings();
428            }
429    
430            /**
431            * Sets the settings of this asset vocabulary.
432            *
433            * @param settings the settings of this asset vocabulary
434            */
435            public void setSettings(java.lang.String settings) {
436                    _assetVocabulary.setSettings(settings);
437            }
438    
439            public boolean isNew() {
440                    return _assetVocabulary.isNew();
441            }
442    
443            public void setNew(boolean n) {
444                    _assetVocabulary.setNew(n);
445            }
446    
447            public boolean isCachedModel() {
448                    return _assetVocabulary.isCachedModel();
449            }
450    
451            public void setCachedModel(boolean cachedModel) {
452                    _assetVocabulary.setCachedModel(cachedModel);
453            }
454    
455            public boolean isEscapedModel() {
456                    return _assetVocabulary.isEscapedModel();
457            }
458    
459            public void setEscapedModel(boolean escapedModel) {
460                    _assetVocabulary.setEscapedModel(escapedModel);
461            }
462    
463            public java.io.Serializable getPrimaryKeyObj() {
464                    return _assetVocabulary.getPrimaryKeyObj();
465            }
466    
467            public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
468                    _assetVocabulary.setPrimaryKeyObj(primaryKeyObj);
469            }
470    
471            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
472                    return _assetVocabulary.getExpandoBridge();
473            }
474    
475            public void setExpandoBridgeAttributes(
476                    com.liferay.portal.service.ServiceContext serviceContext) {
477                    _assetVocabulary.setExpandoBridgeAttributes(serviceContext);
478            }
479    
480            @Override
481            public java.lang.Object clone() {
482                    return new AssetVocabularyWrapper((AssetVocabulary)_assetVocabulary.clone());
483            }
484    
485            public int compareTo(
486                    com.liferay.portlet.asset.model.AssetVocabulary assetVocabulary) {
487                    return _assetVocabulary.compareTo(assetVocabulary);
488            }
489    
490            @Override
491            public int hashCode() {
492                    return _assetVocabulary.hashCode();
493            }
494    
495            public com.liferay.portal.model.CacheModel<com.liferay.portlet.asset.model.AssetVocabulary> toCacheModel() {
496                    return _assetVocabulary.toCacheModel();
497            }
498    
499            public com.liferay.portlet.asset.model.AssetVocabulary toEscapedModel() {
500                    return new AssetVocabularyWrapper(_assetVocabulary.toEscapedModel());
501            }
502    
503            @Override
504            public java.lang.String toString() {
505                    return _assetVocabulary.toString();
506            }
507    
508            public java.lang.String toXmlString() {
509                    return _assetVocabulary.toXmlString();
510            }
511    
512            public void persist()
513                    throws com.liferay.portal.kernel.exception.SystemException {
514                    _assetVocabulary.persist();
515            }
516    
517            public AssetVocabulary getWrappedAssetVocabulary() {
518                    return _assetVocabulary;
519            }
520    
521            public void resetOriginalValues() {
522                    _assetVocabulary.resetOriginalValues();
523            }
524    
525            private AssetVocabulary _assetVocabulary;
526    }