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 AssetCategory}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       AssetCategory
024     * @generated
025     */
026    public class AssetCategoryWrapper implements AssetCategory {
027            public AssetCategoryWrapper(AssetCategory assetCategory) {
028                    _assetCategory = assetCategory;
029            }
030    
031            /**
032            * Gets the primary key of this asset category.
033            *
034            * @return the primary key of this asset category
035            */
036            public long getPrimaryKey() {
037                    return _assetCategory.getPrimaryKey();
038            }
039    
040            /**
041            * Sets the primary key of this asset category
042            *
043            * @param pk the primary key of this asset category
044            */
045            public void setPrimaryKey(long pk) {
046                    _assetCategory.setPrimaryKey(pk);
047            }
048    
049            /**
050            * Gets the uuid of this asset category.
051            *
052            * @return the uuid of this asset category
053            */
054            public java.lang.String getUuid() {
055                    return _assetCategory.getUuid();
056            }
057    
058            /**
059            * Sets the uuid of this asset category.
060            *
061            * @param uuid the uuid of this asset category
062            */
063            public void setUuid(java.lang.String uuid) {
064                    _assetCategory.setUuid(uuid);
065            }
066    
067            /**
068            * Gets the category id of this asset category.
069            *
070            * @return the category id of this asset category
071            */
072            public long getCategoryId() {
073                    return _assetCategory.getCategoryId();
074            }
075    
076            /**
077            * Sets the category id of this asset category.
078            *
079            * @param categoryId the category id of this asset category
080            */
081            public void setCategoryId(long categoryId) {
082                    _assetCategory.setCategoryId(categoryId);
083            }
084    
085            /**
086            * Gets the group id of this asset category.
087            *
088            * @return the group id of this asset category
089            */
090            public long getGroupId() {
091                    return _assetCategory.getGroupId();
092            }
093    
094            /**
095            * Sets the group id of this asset category.
096            *
097            * @param groupId the group id of this asset category
098            */
099            public void setGroupId(long groupId) {
100                    _assetCategory.setGroupId(groupId);
101            }
102    
103            /**
104            * Gets the company id of this asset category.
105            *
106            * @return the company id of this asset category
107            */
108            public long getCompanyId() {
109                    return _assetCategory.getCompanyId();
110            }
111    
112            /**
113            * Sets the company id of this asset category.
114            *
115            * @param companyId the company id of this asset category
116            */
117            public void setCompanyId(long companyId) {
118                    _assetCategory.setCompanyId(companyId);
119            }
120    
121            /**
122            * Gets the user id of this asset category.
123            *
124            * @return the user id of this asset category
125            */
126            public long getUserId() {
127                    return _assetCategory.getUserId();
128            }
129    
130            /**
131            * Sets the user id of this asset category.
132            *
133            * @param userId the user id of this asset category
134            */
135            public void setUserId(long userId) {
136                    _assetCategory.setUserId(userId);
137            }
138    
139            /**
140            * Gets the user uuid of this asset category.
141            *
142            * @return the user uuid of this asset category
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 _assetCategory.getUserUuid();
148            }
149    
150            /**
151            * Sets the user uuid of this asset category.
152            *
153            * @param userUuid the user uuid of this asset category
154            */
155            public void setUserUuid(java.lang.String userUuid) {
156                    _assetCategory.setUserUuid(userUuid);
157            }
158    
159            /**
160            * Gets the user name of this asset category.
161            *
162            * @return the user name of this asset category
163            */
164            public java.lang.String getUserName() {
165                    return _assetCategory.getUserName();
166            }
167    
168            /**
169            * Sets the user name of this asset category.
170            *
171            * @param userName the user name of this asset category
172            */
173            public void setUserName(java.lang.String userName) {
174                    _assetCategory.setUserName(userName);
175            }
176    
177            /**
178            * Gets the create date of this asset category.
179            *
180            * @return the create date of this asset category
181            */
182            public java.util.Date getCreateDate() {
183                    return _assetCategory.getCreateDate();
184            }
185    
186            /**
187            * Sets the create date of this asset category.
188            *
189            * @param createDate the create date of this asset category
190            */
191            public void setCreateDate(java.util.Date createDate) {
192                    _assetCategory.setCreateDate(createDate);
193            }
194    
195            /**
196            * Gets the modified date of this asset category.
197            *
198            * @return the modified date of this asset category
199            */
200            public java.util.Date getModifiedDate() {
201                    return _assetCategory.getModifiedDate();
202            }
203    
204            /**
205            * Sets the modified date of this asset category.
206            *
207            * @param modifiedDate the modified date of this asset category
208            */
209            public void setModifiedDate(java.util.Date modifiedDate) {
210                    _assetCategory.setModifiedDate(modifiedDate);
211            }
212    
213            /**
214            * Gets the parent category id of this asset category.
215            *
216            * @return the parent category id of this asset category
217            */
218            public long getParentCategoryId() {
219                    return _assetCategory.getParentCategoryId();
220            }
221    
222            /**
223            * Sets the parent category id of this asset category.
224            *
225            * @param parentCategoryId the parent category id of this asset category
226            */
227            public void setParentCategoryId(long parentCategoryId) {
228                    _assetCategory.setParentCategoryId(parentCategoryId);
229            }
230    
231            /**
232            * Gets the left category id of this asset category.
233            *
234            * @return the left category id of this asset category
235            */
236            public long getLeftCategoryId() {
237                    return _assetCategory.getLeftCategoryId();
238            }
239    
240            /**
241            * Sets the left category id of this asset category.
242            *
243            * @param leftCategoryId the left category id of this asset category
244            */
245            public void setLeftCategoryId(long leftCategoryId) {
246                    _assetCategory.setLeftCategoryId(leftCategoryId);
247            }
248    
249            /**
250            * Gets the right category id of this asset category.
251            *
252            * @return the right category id of this asset category
253            */
254            public long getRightCategoryId() {
255                    return _assetCategory.getRightCategoryId();
256            }
257    
258            /**
259            * Sets the right category id of this asset category.
260            *
261            * @param rightCategoryId the right category id of this asset category
262            */
263            public void setRightCategoryId(long rightCategoryId) {
264                    _assetCategory.setRightCategoryId(rightCategoryId);
265            }
266    
267            /**
268            * Gets the name of this asset category.
269            *
270            * @return the name of this asset category
271            */
272            public java.lang.String getName() {
273                    return _assetCategory.getName();
274            }
275    
276            /**
277            * Sets the name of this asset category.
278            *
279            * @param name the name of this asset category
280            */
281            public void setName(java.lang.String name) {
282                    _assetCategory.setName(name);
283            }
284    
285            /**
286            * Gets the title of this asset category.
287            *
288            * @return the title of this asset category
289            */
290            public java.lang.String getTitle() {
291                    return _assetCategory.getTitle();
292            }
293    
294            /**
295            * Gets the localized title of this asset category. Uses the default language if no localization exists for the requested language.
296            *
297            * @param locale the locale to get the localized title for
298            * @return the localized title of this asset category
299            */
300            public java.lang.String getTitle(java.util.Locale locale) {
301                    return _assetCategory.getTitle(locale);
302            }
303    
304            /**
305            * Gets the localized title of this asset category, optionally using the default language if no localization exists for the requested language.
306            *
307            * @param locale the local to get the localized title for
308            * @param useDefault whether to use the default language if no localization exists for the requested language
309            * @return the localized title of this asset category. If <code>useDefault</code> is <code>false</code> and no localization exists for the requested language, an empty string will be returned.
310            */
311            public java.lang.String getTitle(java.util.Locale locale, boolean useDefault) {
312                    return _assetCategory.getTitle(locale, useDefault);
313            }
314    
315            /**
316            * Gets the localized title of this asset category. Uses the default language if no localization exists for the requested language.
317            *
318            * @param languageId the id of the language to get the localized title for
319            * @return the localized title of this asset category
320            */
321            public java.lang.String getTitle(java.lang.String languageId) {
322                    return _assetCategory.getTitle(languageId);
323            }
324    
325            /**
326            * Gets the localized title of this asset category, optionally using the default language if no localization exists for the requested language.
327            *
328            * @param languageId the id of the language to get the localized title for
329            * @param useDefault whether to use the default language if no localization exists for the requested language
330            * @return the localized title of this asset category
331            */
332            public java.lang.String getTitle(java.lang.String languageId,
333                    boolean useDefault) {
334                    return _assetCategory.getTitle(languageId, useDefault);
335            }
336    
337            /**
338            * Gets a map of the locales and localized title of this asset category.
339            *
340            * @return the locales and localized title
341            */
342            public java.util.Map<java.util.Locale, java.lang.String> getTitleMap() {
343                    return _assetCategory.getTitleMap();
344            }
345    
346            /**
347            * Sets the title of this asset category.
348            *
349            * @param title the title of this asset category
350            */
351            public void setTitle(java.lang.String title) {
352                    _assetCategory.setTitle(title);
353            }
354    
355            /**
356            * Sets the localized title of this asset category.
357            *
358            * @param locale the locale to set the localized title for
359            * @param title the localized title of this asset category
360            */
361            public void setTitle(java.util.Locale locale, java.lang.String title) {
362                    _assetCategory.setTitle(locale, title);
363            }
364    
365            /**
366            * Sets the localized titles of this asset category from the map of locales and localized titles.
367            *
368            * @param titleMap the locales and localized titles of this asset category
369            */
370            public void setTitleMap(
371                    java.util.Map<java.util.Locale, java.lang.String> titleMap) {
372                    _assetCategory.setTitleMap(titleMap);
373            }
374    
375            /**
376            * Gets the vocabulary id of this asset category.
377            *
378            * @return the vocabulary id of this asset category
379            */
380            public long getVocabularyId() {
381                    return _assetCategory.getVocabularyId();
382            }
383    
384            /**
385            * Sets the vocabulary id of this asset category.
386            *
387            * @param vocabularyId the vocabulary id of this asset category
388            */
389            public void setVocabularyId(long vocabularyId) {
390                    _assetCategory.setVocabularyId(vocabularyId);
391            }
392    
393            public boolean isNew() {
394                    return _assetCategory.isNew();
395            }
396    
397            public void setNew(boolean n) {
398                    _assetCategory.setNew(n);
399            }
400    
401            public boolean isCachedModel() {
402                    return _assetCategory.isCachedModel();
403            }
404    
405            public void setCachedModel(boolean cachedModel) {
406                    _assetCategory.setCachedModel(cachedModel);
407            }
408    
409            public boolean isEscapedModel() {
410                    return _assetCategory.isEscapedModel();
411            }
412    
413            public void setEscapedModel(boolean escapedModel) {
414                    _assetCategory.setEscapedModel(escapedModel);
415            }
416    
417            public java.io.Serializable getPrimaryKeyObj() {
418                    return _assetCategory.getPrimaryKeyObj();
419            }
420    
421            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
422                    return _assetCategory.getExpandoBridge();
423            }
424    
425            public void setExpandoBridgeAttributes(
426                    com.liferay.portal.service.ServiceContext serviceContext) {
427                    _assetCategory.setExpandoBridgeAttributes(serviceContext);
428            }
429    
430            public java.lang.Object clone() {
431                    return _assetCategory.clone();
432            }
433    
434            public int compareTo(
435                    com.liferay.portlet.asset.model.AssetCategory assetCategory) {
436                    return _assetCategory.compareTo(assetCategory);
437            }
438    
439            public int hashCode() {
440                    return _assetCategory.hashCode();
441            }
442    
443            public com.liferay.portlet.asset.model.AssetCategory toEscapedModel() {
444                    return _assetCategory.toEscapedModel();
445            }
446    
447            public java.lang.String toString() {
448                    return _assetCategory.toString();
449            }
450    
451            public java.lang.String toXmlString() {
452                    return _assetCategory.toXmlString();
453            }
454    
455            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getAncestors()
456                    throws com.liferay.portal.kernel.exception.PortalException,
457                            com.liferay.portal.kernel.exception.SystemException {
458                    return _assetCategory.getAncestors();
459            }
460    
461            public boolean isRootCategory() {
462                    return _assetCategory.isRootCategory();
463            }
464    
465            public AssetCategory getWrappedAssetCategory() {
466                    return _assetCategory;
467            }
468    
469            private AssetCategory _assetCategory;
470    }