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 AssetEntry}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       AssetEntry
024     * @generated
025     */
026    public class AssetEntryWrapper implements AssetEntry {
027            public AssetEntryWrapper(AssetEntry assetEntry) {
028                    _assetEntry = assetEntry;
029            }
030    
031            public Class<?> getModelClass() {
032                    return AssetEntry.class;
033            }
034    
035            public String getModelClassName() {
036                    return AssetEntry.class.getName();
037            }
038    
039            /**
040            * Returns the primary key of this asset entry.
041            *
042            * @return the primary key of this asset entry
043            */
044            public long getPrimaryKey() {
045                    return _assetEntry.getPrimaryKey();
046            }
047    
048            /**
049            * Sets the primary key of this asset entry.
050            *
051            * @param primaryKey the primary key of this asset entry
052            */
053            public void setPrimaryKey(long primaryKey) {
054                    _assetEntry.setPrimaryKey(primaryKey);
055            }
056    
057            /**
058            * Returns the entry ID of this asset entry.
059            *
060            * @return the entry ID of this asset entry
061            */
062            public long getEntryId() {
063                    return _assetEntry.getEntryId();
064            }
065    
066            /**
067            * Sets the entry ID of this asset entry.
068            *
069            * @param entryId the entry ID of this asset entry
070            */
071            public void setEntryId(long entryId) {
072                    _assetEntry.setEntryId(entryId);
073            }
074    
075            /**
076            * Returns the group ID of this asset entry.
077            *
078            * @return the group ID of this asset entry
079            */
080            public long getGroupId() {
081                    return _assetEntry.getGroupId();
082            }
083    
084            /**
085            * Sets the group ID of this asset entry.
086            *
087            * @param groupId the group ID of this asset entry
088            */
089            public void setGroupId(long groupId) {
090                    _assetEntry.setGroupId(groupId);
091            }
092    
093            /**
094            * Returns the company ID of this asset entry.
095            *
096            * @return the company ID of this asset entry
097            */
098            public long getCompanyId() {
099                    return _assetEntry.getCompanyId();
100            }
101    
102            /**
103            * Sets the company ID of this asset entry.
104            *
105            * @param companyId the company ID of this asset entry
106            */
107            public void setCompanyId(long companyId) {
108                    _assetEntry.setCompanyId(companyId);
109            }
110    
111            /**
112            * Returns the user ID of this asset entry.
113            *
114            * @return the user ID of this asset entry
115            */
116            public long getUserId() {
117                    return _assetEntry.getUserId();
118            }
119    
120            /**
121            * Sets the user ID of this asset entry.
122            *
123            * @param userId the user ID of this asset entry
124            */
125            public void setUserId(long userId) {
126                    _assetEntry.setUserId(userId);
127            }
128    
129            /**
130            * Returns the user uuid of this asset entry.
131            *
132            * @return the user uuid of this asset entry
133            * @throws SystemException if a system exception occurred
134            */
135            public java.lang.String getUserUuid()
136                    throws com.liferay.portal.kernel.exception.SystemException {
137                    return _assetEntry.getUserUuid();
138            }
139    
140            /**
141            * Sets the user uuid of this asset entry.
142            *
143            * @param userUuid the user uuid of this asset entry
144            */
145            public void setUserUuid(java.lang.String userUuid) {
146                    _assetEntry.setUserUuid(userUuid);
147            }
148    
149            /**
150            * Returns the user name of this asset entry.
151            *
152            * @return the user name of this asset entry
153            */
154            public java.lang.String getUserName() {
155                    return _assetEntry.getUserName();
156            }
157    
158            /**
159            * Sets the user name of this asset entry.
160            *
161            * @param userName the user name of this asset entry
162            */
163            public void setUserName(java.lang.String userName) {
164                    _assetEntry.setUserName(userName);
165            }
166    
167            /**
168            * Returns the create date of this asset entry.
169            *
170            * @return the create date of this asset entry
171            */
172            public java.util.Date getCreateDate() {
173                    return _assetEntry.getCreateDate();
174            }
175    
176            /**
177            * Sets the create date of this asset entry.
178            *
179            * @param createDate the create date of this asset entry
180            */
181            public void setCreateDate(java.util.Date createDate) {
182                    _assetEntry.setCreateDate(createDate);
183            }
184    
185            /**
186            * Returns the modified date of this asset entry.
187            *
188            * @return the modified date of this asset entry
189            */
190            public java.util.Date getModifiedDate() {
191                    return _assetEntry.getModifiedDate();
192            }
193    
194            /**
195            * Sets the modified date of this asset entry.
196            *
197            * @param modifiedDate the modified date of this asset entry
198            */
199            public void setModifiedDate(java.util.Date modifiedDate) {
200                    _assetEntry.setModifiedDate(modifiedDate);
201            }
202    
203            /**
204            * Returns the fully qualified class name of this asset entry.
205            *
206            * @return the fully qualified class name of this asset entry
207            */
208            public java.lang.String getClassName() {
209                    return _assetEntry.getClassName();
210            }
211    
212            /**
213            * Returns the class name ID of this asset entry.
214            *
215            * @return the class name ID of this asset entry
216            */
217            public long getClassNameId() {
218                    return _assetEntry.getClassNameId();
219            }
220    
221            /**
222            * Sets the class name ID of this asset entry.
223            *
224            * @param classNameId the class name ID of this asset entry
225            */
226            public void setClassNameId(long classNameId) {
227                    _assetEntry.setClassNameId(classNameId);
228            }
229    
230            /**
231            * Returns the class p k of this asset entry.
232            *
233            * @return the class p k of this asset entry
234            */
235            public long getClassPK() {
236                    return _assetEntry.getClassPK();
237            }
238    
239            /**
240            * Sets the class p k of this asset entry.
241            *
242            * @param classPK the class p k of this asset entry
243            */
244            public void setClassPK(long classPK) {
245                    _assetEntry.setClassPK(classPK);
246            }
247    
248            /**
249            * Returns the class uuid of this asset entry.
250            *
251            * @return the class uuid of this asset entry
252            */
253            public java.lang.String getClassUuid() {
254                    return _assetEntry.getClassUuid();
255            }
256    
257            /**
258            * Sets the class uuid of this asset entry.
259            *
260            * @param classUuid the class uuid of this asset entry
261            */
262            public void setClassUuid(java.lang.String classUuid) {
263                    _assetEntry.setClassUuid(classUuid);
264            }
265    
266            /**
267            * Returns the class type ID of this asset entry.
268            *
269            * @return the class type ID of this asset entry
270            */
271            public long getClassTypeId() {
272                    return _assetEntry.getClassTypeId();
273            }
274    
275            /**
276            * Sets the class type ID of this asset entry.
277            *
278            * @param classTypeId the class type ID of this asset entry
279            */
280            public void setClassTypeId(long classTypeId) {
281                    _assetEntry.setClassTypeId(classTypeId);
282            }
283    
284            /**
285            * Returns the visible of this asset entry.
286            *
287            * @return the visible of this asset entry
288            */
289            public boolean getVisible() {
290                    return _assetEntry.getVisible();
291            }
292    
293            /**
294            * Returns <code>true</code> if this asset entry is visible.
295            *
296            * @return <code>true</code> if this asset entry is visible; <code>false</code> otherwise
297            */
298            public boolean isVisible() {
299                    return _assetEntry.isVisible();
300            }
301    
302            /**
303            * Sets whether this asset entry is visible.
304            *
305            * @param visible the visible of this asset entry
306            */
307            public void setVisible(boolean visible) {
308                    _assetEntry.setVisible(visible);
309            }
310    
311            /**
312            * Returns the start date of this asset entry.
313            *
314            * @return the start date of this asset entry
315            */
316            public java.util.Date getStartDate() {
317                    return _assetEntry.getStartDate();
318            }
319    
320            /**
321            * Sets the start date of this asset entry.
322            *
323            * @param startDate the start date of this asset entry
324            */
325            public void setStartDate(java.util.Date startDate) {
326                    _assetEntry.setStartDate(startDate);
327            }
328    
329            /**
330            * Returns the end date of this asset entry.
331            *
332            * @return the end date of this asset entry
333            */
334            public java.util.Date getEndDate() {
335                    return _assetEntry.getEndDate();
336            }
337    
338            /**
339            * Sets the end date of this asset entry.
340            *
341            * @param endDate the end date of this asset entry
342            */
343            public void setEndDate(java.util.Date endDate) {
344                    _assetEntry.setEndDate(endDate);
345            }
346    
347            /**
348            * Returns the publish date of this asset entry.
349            *
350            * @return the publish date of this asset entry
351            */
352            public java.util.Date getPublishDate() {
353                    return _assetEntry.getPublishDate();
354            }
355    
356            /**
357            * Sets the publish date of this asset entry.
358            *
359            * @param publishDate the publish date of this asset entry
360            */
361            public void setPublishDate(java.util.Date publishDate) {
362                    _assetEntry.setPublishDate(publishDate);
363            }
364    
365            /**
366            * Returns the expiration date of this asset entry.
367            *
368            * @return the expiration date of this asset entry
369            */
370            public java.util.Date getExpirationDate() {
371                    return _assetEntry.getExpirationDate();
372            }
373    
374            /**
375            * Sets the expiration date of this asset entry.
376            *
377            * @param expirationDate the expiration date of this asset entry
378            */
379            public void setExpirationDate(java.util.Date expirationDate) {
380                    _assetEntry.setExpirationDate(expirationDate);
381            }
382    
383            /**
384            * Returns the mime type of this asset entry.
385            *
386            * @return the mime type of this asset entry
387            */
388            public java.lang.String getMimeType() {
389                    return _assetEntry.getMimeType();
390            }
391    
392            /**
393            * Sets the mime type of this asset entry.
394            *
395            * @param mimeType the mime type of this asset entry
396            */
397            public void setMimeType(java.lang.String mimeType) {
398                    _assetEntry.setMimeType(mimeType);
399            }
400    
401            /**
402            * Returns the title of this asset entry.
403            *
404            * @return the title of this asset entry
405            */
406            public java.lang.String getTitle() {
407                    return _assetEntry.getTitle();
408            }
409    
410            /**
411            * Returns the localized title of this asset entry in the language. Uses the default language if no localization exists for the requested language.
412            *
413            * @param locale the locale of the language
414            * @return the localized title of this asset entry
415            */
416            public java.lang.String getTitle(java.util.Locale locale) {
417                    return _assetEntry.getTitle(locale);
418            }
419    
420            /**
421            * Returns the localized title of this asset entry in the language, optionally using the default language if no localization exists for the requested language.
422            *
423            * @param locale the local of the language
424            * @param useDefault whether to use the default language if no localization exists for the requested language
425            * @return the localized title of this asset entry. If <code>useDefault</code> is <code>false</code> and no localization exists for the requested language, an empty string will be returned.
426            */
427            public java.lang.String getTitle(java.util.Locale locale, boolean useDefault) {
428                    return _assetEntry.getTitle(locale, useDefault);
429            }
430    
431            /**
432            * Returns the localized title of this asset entry in the language. Uses the default language if no localization exists for the requested language.
433            *
434            * @param languageId the ID of the language
435            * @return the localized title of this asset entry
436            */
437            public java.lang.String getTitle(java.lang.String languageId) {
438                    return _assetEntry.getTitle(languageId);
439            }
440    
441            /**
442            * Returns the localized title of this asset entry in the language, optionally using the default language if no localization exists for the requested language.
443            *
444            * @param languageId the ID of the language
445            * @param useDefault whether to use the default language if no localization exists for the requested language
446            * @return the localized title of this asset entry
447            */
448            public java.lang.String getTitle(java.lang.String languageId,
449                    boolean useDefault) {
450                    return _assetEntry.getTitle(languageId, useDefault);
451            }
452    
453            public java.lang.String getTitleCurrentLanguageId() {
454                    return _assetEntry.getTitleCurrentLanguageId();
455            }
456    
457            public java.lang.String getTitleCurrentValue() {
458                    return _assetEntry.getTitleCurrentValue();
459            }
460    
461            /**
462            * Returns a map of the locales and localized titles of this asset entry.
463            *
464            * @return the locales and localized titles of this asset entry
465            */
466            public java.util.Map<java.util.Locale, java.lang.String> getTitleMap() {
467                    return _assetEntry.getTitleMap();
468            }
469    
470            /**
471            * Sets the title of this asset entry.
472            *
473            * @param title the title of this asset entry
474            */
475            public void setTitle(java.lang.String title) {
476                    _assetEntry.setTitle(title);
477            }
478    
479            /**
480            * Sets the localized title of this asset entry in the language.
481            *
482            * @param title the localized title of this asset entry
483            * @param locale the locale of the language
484            */
485            public void setTitle(java.lang.String title, java.util.Locale locale) {
486                    _assetEntry.setTitle(title, locale);
487            }
488    
489            /**
490            * Sets the localized title of this asset entry in the language, and sets the default locale.
491            *
492            * @param title the localized title of this asset entry
493            * @param locale the locale of the language
494            * @param defaultLocale the default locale
495            */
496            public void setTitle(java.lang.String title, java.util.Locale locale,
497                    java.util.Locale defaultLocale) {
498                    _assetEntry.setTitle(title, locale, defaultLocale);
499            }
500    
501            public void setTitleCurrentLanguageId(java.lang.String languageId) {
502                    _assetEntry.setTitleCurrentLanguageId(languageId);
503            }
504    
505            /**
506            * Sets the localized titles of this asset entry from the map of locales and localized titles.
507            *
508            * @param titleMap the locales and localized titles of this asset entry
509            */
510            public void setTitleMap(
511                    java.util.Map<java.util.Locale, java.lang.String> titleMap) {
512                    _assetEntry.setTitleMap(titleMap);
513            }
514    
515            /**
516            * Sets the localized titles of this asset entry from the map of locales and localized titles, and sets the default locale.
517            *
518            * @param titleMap the locales and localized titles of this asset entry
519            * @param defaultLocale the default locale
520            */
521            public void setTitleMap(
522                    java.util.Map<java.util.Locale, java.lang.String> titleMap,
523                    java.util.Locale defaultLocale) {
524                    _assetEntry.setTitleMap(titleMap, defaultLocale);
525            }
526    
527            /**
528            * Returns the description of this asset entry.
529            *
530            * @return the description of this asset entry
531            */
532            public java.lang.String getDescription() {
533                    return _assetEntry.getDescription();
534            }
535    
536            /**
537            * Sets the description of this asset entry.
538            *
539            * @param description the description of this asset entry
540            */
541            public void setDescription(java.lang.String description) {
542                    _assetEntry.setDescription(description);
543            }
544    
545            /**
546            * Returns the summary of this asset entry.
547            *
548            * @return the summary of this asset entry
549            */
550            public java.lang.String getSummary() {
551                    return _assetEntry.getSummary();
552            }
553    
554            /**
555            * Sets the summary of this asset entry.
556            *
557            * @param summary the summary of this asset entry
558            */
559            public void setSummary(java.lang.String summary) {
560                    _assetEntry.setSummary(summary);
561            }
562    
563            /**
564            * Returns the url of this asset entry.
565            *
566            * @return the url of this asset entry
567            */
568            public java.lang.String getUrl() {
569                    return _assetEntry.getUrl();
570            }
571    
572            /**
573            * Sets the url of this asset entry.
574            *
575            * @param url the url of this asset entry
576            */
577            public void setUrl(java.lang.String url) {
578                    _assetEntry.setUrl(url);
579            }
580    
581            /**
582            * Returns the layout uuid of this asset entry.
583            *
584            * @return the layout uuid of this asset entry
585            */
586            public java.lang.String getLayoutUuid() {
587                    return _assetEntry.getLayoutUuid();
588            }
589    
590            /**
591            * Sets the layout uuid of this asset entry.
592            *
593            * @param layoutUuid the layout uuid of this asset entry
594            */
595            public void setLayoutUuid(java.lang.String layoutUuid) {
596                    _assetEntry.setLayoutUuid(layoutUuid);
597            }
598    
599            /**
600            * Returns the height of this asset entry.
601            *
602            * @return the height of this asset entry
603            */
604            public int getHeight() {
605                    return _assetEntry.getHeight();
606            }
607    
608            /**
609            * Sets the height of this asset entry.
610            *
611            * @param height the height of this asset entry
612            */
613            public void setHeight(int height) {
614                    _assetEntry.setHeight(height);
615            }
616    
617            /**
618            * Returns the width of this asset entry.
619            *
620            * @return the width of this asset entry
621            */
622            public int getWidth() {
623                    return _assetEntry.getWidth();
624            }
625    
626            /**
627            * Sets the width of this asset entry.
628            *
629            * @param width the width of this asset entry
630            */
631            public void setWidth(int width) {
632                    _assetEntry.setWidth(width);
633            }
634    
635            /**
636            * Returns the priority of this asset entry.
637            *
638            * @return the priority of this asset entry
639            */
640            public double getPriority() {
641                    return _assetEntry.getPriority();
642            }
643    
644            /**
645            * Sets the priority of this asset entry.
646            *
647            * @param priority the priority of this asset entry
648            */
649            public void setPriority(double priority) {
650                    _assetEntry.setPriority(priority);
651            }
652    
653            /**
654            * Returns the view count of this asset entry.
655            *
656            * @return the view count of this asset entry
657            */
658            public int getViewCount() {
659                    return _assetEntry.getViewCount();
660            }
661    
662            /**
663            * Sets the view count of this asset entry.
664            *
665            * @param viewCount the view count of this asset entry
666            */
667            public void setViewCount(int viewCount) {
668                    _assetEntry.setViewCount(viewCount);
669            }
670    
671            public boolean isNew() {
672                    return _assetEntry.isNew();
673            }
674    
675            public void setNew(boolean n) {
676                    _assetEntry.setNew(n);
677            }
678    
679            public boolean isCachedModel() {
680                    return _assetEntry.isCachedModel();
681            }
682    
683            public void setCachedModel(boolean cachedModel) {
684                    _assetEntry.setCachedModel(cachedModel);
685            }
686    
687            public boolean isEscapedModel() {
688                    return _assetEntry.isEscapedModel();
689            }
690    
691            public java.io.Serializable getPrimaryKeyObj() {
692                    return _assetEntry.getPrimaryKeyObj();
693            }
694    
695            public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
696                    _assetEntry.setPrimaryKeyObj(primaryKeyObj);
697            }
698    
699            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
700                    return _assetEntry.getExpandoBridge();
701            }
702    
703            public void setExpandoBridgeAttributes(
704                    com.liferay.portal.service.ServiceContext serviceContext) {
705                    _assetEntry.setExpandoBridgeAttributes(serviceContext);
706            }
707    
708            @Override
709            public java.lang.Object clone() {
710                    return new AssetEntryWrapper((AssetEntry)_assetEntry.clone());
711            }
712    
713            public int compareTo(com.liferay.portlet.asset.model.AssetEntry assetEntry) {
714                    return _assetEntry.compareTo(assetEntry);
715            }
716    
717            @Override
718            public int hashCode() {
719                    return _assetEntry.hashCode();
720            }
721    
722            public com.liferay.portal.model.CacheModel<com.liferay.portlet.asset.model.AssetEntry> toCacheModel() {
723                    return _assetEntry.toCacheModel();
724            }
725    
726            public com.liferay.portlet.asset.model.AssetEntry toEscapedModel() {
727                    return new AssetEntryWrapper(_assetEntry.toEscapedModel());
728            }
729    
730            @Override
731            public java.lang.String toString() {
732                    return _assetEntry.toString();
733            }
734    
735            public java.lang.String toXmlString() {
736                    return _assetEntry.toXmlString();
737            }
738    
739            public void persist()
740                    throws com.liferay.portal.kernel.exception.SystemException {
741                    _assetEntry.persist();
742            }
743    
744            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getCategories()
745                    throws com.liferay.portal.kernel.exception.SystemException {
746                    return _assetEntry.getCategories();
747            }
748    
749            public long[] getCategoryIds()
750                    throws com.liferay.portal.kernel.exception.SystemException {
751                    return _assetEntry.getCategoryIds();
752            }
753    
754            public double getSocialInformationEquity() {
755                    return _assetEntry.getSocialInformationEquity();
756            }
757    
758            public java.lang.String[] getTagNames()
759                    throws com.liferay.portal.kernel.exception.SystemException {
760                    return _assetEntry.getTagNames();
761            }
762    
763            public java.util.List<com.liferay.portlet.asset.model.AssetTag> getTags()
764                    throws com.liferay.portal.kernel.exception.SystemException {
765                    return _assetEntry.getTags();
766            }
767    
768            public void updateSocialInformationEquity(double value) {
769                    _assetEntry.updateSocialInformationEquity(value);
770            }
771    
772            public AssetEntry getWrappedAssetEntry() {
773                    return _assetEntry;
774            }
775    
776            public void resetOriginalValues() {
777                    _assetEntry.resetOriginalValues();
778            }
779    
780            private AssetEntry _assetEntry;
781    }