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 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            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Gets the class name of the model instance this asset entry is polymorphically associated with.
205            *
206            * @return the class name of the model instance this asset entry is polymorphically associated with
207            */
208            public java.lang.String getClassName() {
209                    return _assetEntry.getClassName();
210            }
211    
212            /**
213            * Gets 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            * Gets 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            * Gets 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            * Gets the visible of this asset entry.
268            *
269            * @return the visible of this asset entry
270            */
271            public boolean getVisible() {
272                    return _assetEntry.getVisible();
273            }
274    
275            /**
276            * Determines if this asset entry is visible.
277            *
278            * @return <code>true</code> if this asset entry is visible; <code>false</code> otherwise
279            */
280            public boolean isVisible() {
281                    return _assetEntry.isVisible();
282            }
283    
284            /**
285            * Sets whether this asset entry is visible.
286            *
287            * @param visible the visible of this asset entry
288            */
289            public void setVisible(boolean visible) {
290                    _assetEntry.setVisible(visible);
291            }
292    
293            /**
294            * Gets the start date of this asset entry.
295            *
296            * @return the start date of this asset entry
297            */
298            public java.util.Date getStartDate() {
299                    return _assetEntry.getStartDate();
300            }
301    
302            /**
303            * Sets the start date of this asset entry.
304            *
305            * @param startDate the start date of this asset entry
306            */
307            public void setStartDate(java.util.Date startDate) {
308                    _assetEntry.setStartDate(startDate);
309            }
310    
311            /**
312            * Gets the end date of this asset entry.
313            *
314            * @return the end date of this asset entry
315            */
316            public java.util.Date getEndDate() {
317                    return _assetEntry.getEndDate();
318            }
319    
320            /**
321            * Sets the end date of this asset entry.
322            *
323            * @param endDate the end date of this asset entry
324            */
325            public void setEndDate(java.util.Date endDate) {
326                    _assetEntry.setEndDate(endDate);
327            }
328    
329            /**
330            * Gets the publish date of this asset entry.
331            *
332            * @return the publish date of this asset entry
333            */
334            public java.util.Date getPublishDate() {
335                    return _assetEntry.getPublishDate();
336            }
337    
338            /**
339            * Sets the publish date of this asset entry.
340            *
341            * @param publishDate the publish date of this asset entry
342            */
343            public void setPublishDate(java.util.Date publishDate) {
344                    _assetEntry.setPublishDate(publishDate);
345            }
346    
347            /**
348            * Gets the expiration date of this asset entry.
349            *
350            * @return the expiration date of this asset entry
351            */
352            public java.util.Date getExpirationDate() {
353                    return _assetEntry.getExpirationDate();
354            }
355    
356            /**
357            * Sets the expiration date of this asset entry.
358            *
359            * @param expirationDate the expiration date of this asset entry
360            */
361            public void setExpirationDate(java.util.Date expirationDate) {
362                    _assetEntry.setExpirationDate(expirationDate);
363            }
364    
365            /**
366            * Gets the mime type of this asset entry.
367            *
368            * @return the mime type of this asset entry
369            */
370            public java.lang.String getMimeType() {
371                    return _assetEntry.getMimeType();
372            }
373    
374            /**
375            * Sets the mime type of this asset entry.
376            *
377            * @param mimeType the mime type of this asset entry
378            */
379            public void setMimeType(java.lang.String mimeType) {
380                    _assetEntry.setMimeType(mimeType);
381            }
382    
383            /**
384            * Gets the title of this asset entry.
385            *
386            * @return the title of this asset entry
387            */
388            public java.lang.String getTitle() {
389                    return _assetEntry.getTitle();
390            }
391    
392            /**
393            * Gets the localized title of this asset entry. Uses the default language if no localization exists for the requested language.
394            *
395            * @param locale the locale to get the localized title for
396            * @return the localized title of this asset entry
397            */
398            public java.lang.String getTitle(java.util.Locale locale) {
399                    return _assetEntry.getTitle(locale);
400            }
401    
402            /**
403            * Gets the localized title of this asset entry, optionally using the default language if no localization exists for the requested language.
404            *
405            * @param locale the local to get the localized title for
406            * @param useDefault whether to use the default language if no localization exists for the requested language
407            * @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.
408            */
409            public java.lang.String getTitle(java.util.Locale locale, boolean useDefault) {
410                    return _assetEntry.getTitle(locale, useDefault);
411            }
412    
413            /**
414            * Gets the localized title of this asset entry. Uses the default language if no localization exists for the requested language.
415            *
416            * @param languageId the id of the language to get the localized title for
417            * @return the localized title of this asset entry
418            */
419            public java.lang.String getTitle(java.lang.String languageId) {
420                    return _assetEntry.getTitle(languageId);
421            }
422    
423            /**
424            * Gets the localized title of this asset entry, optionally using the default language if no localization exists for the requested language.
425            *
426            * @param languageId the id of the language to get the localized title for
427            * @param useDefault whether to use the default language if no localization exists for the requested language
428            * @return the localized title of this asset entry
429            */
430            public java.lang.String getTitle(java.lang.String languageId,
431                    boolean useDefault) {
432                    return _assetEntry.getTitle(languageId, useDefault);
433            }
434    
435            /**
436            * Gets a map of the locales and localized title of this asset entry.
437            *
438            * @return the locales and localized title
439            */
440            public java.util.Map<java.util.Locale, java.lang.String> getTitleMap() {
441                    return _assetEntry.getTitleMap();
442            }
443    
444            /**
445            * Sets the title of this asset entry.
446            *
447            * @param title the title of this asset entry
448            */
449            public void setTitle(java.lang.String title) {
450                    _assetEntry.setTitle(title);
451            }
452    
453            /**
454            * Sets the localized title of this asset entry.
455            *
456            * @param locale the locale to set the localized title for
457            * @param title the localized title of this asset entry
458            */
459            public void setTitle(java.util.Locale locale, java.lang.String title) {
460                    _assetEntry.setTitle(locale, title);
461            }
462    
463            /**
464            * Sets the localized titles of this asset entry from the map of locales and localized titles.
465            *
466            * @param titleMap the locales and localized titles of this asset entry
467            */
468            public void setTitleMap(
469                    java.util.Map<java.util.Locale, java.lang.String> titleMap) {
470                    _assetEntry.setTitleMap(titleMap);
471            }
472    
473            /**
474            * Gets the description of this asset entry.
475            *
476            * @return the description of this asset entry
477            */
478            public java.lang.String getDescription() {
479                    return _assetEntry.getDescription();
480            }
481    
482            /**
483            * Sets the description of this asset entry.
484            *
485            * @param description the description of this asset entry
486            */
487            public void setDescription(java.lang.String description) {
488                    _assetEntry.setDescription(description);
489            }
490    
491            /**
492            * Gets the summary of this asset entry.
493            *
494            * @return the summary of this asset entry
495            */
496            public java.lang.String getSummary() {
497                    return _assetEntry.getSummary();
498            }
499    
500            /**
501            * Sets the summary of this asset entry.
502            *
503            * @param summary the summary of this asset entry
504            */
505            public void setSummary(java.lang.String summary) {
506                    _assetEntry.setSummary(summary);
507            }
508    
509            /**
510            * Gets the url of this asset entry.
511            *
512            * @return the url of this asset entry
513            */
514            public java.lang.String getUrl() {
515                    return _assetEntry.getUrl();
516            }
517    
518            /**
519            * Sets the url of this asset entry.
520            *
521            * @param url the url of this asset entry
522            */
523            public void setUrl(java.lang.String url) {
524                    _assetEntry.setUrl(url);
525            }
526    
527            /**
528            * Gets the height of this asset entry.
529            *
530            * @return the height of this asset entry
531            */
532            public int getHeight() {
533                    return _assetEntry.getHeight();
534            }
535    
536            /**
537            * Sets the height of this asset entry.
538            *
539            * @param height the height of this asset entry
540            */
541            public void setHeight(int height) {
542                    _assetEntry.setHeight(height);
543            }
544    
545            /**
546            * Gets the width of this asset entry.
547            *
548            * @return the width of this asset entry
549            */
550            public int getWidth() {
551                    return _assetEntry.getWidth();
552            }
553    
554            /**
555            * Sets the width of this asset entry.
556            *
557            * @param width the width of this asset entry
558            */
559            public void setWidth(int width) {
560                    _assetEntry.setWidth(width);
561            }
562    
563            /**
564            * Gets the priority of this asset entry.
565            *
566            * @return the priority of this asset entry
567            */
568            public double getPriority() {
569                    return _assetEntry.getPriority();
570            }
571    
572            /**
573            * Sets the priority of this asset entry.
574            *
575            * @param priority the priority of this asset entry
576            */
577            public void setPriority(double priority) {
578                    _assetEntry.setPriority(priority);
579            }
580    
581            /**
582            * Gets the view count of this asset entry.
583            *
584            * @return the view count of this asset entry
585            */
586            public int getViewCount() {
587                    return _assetEntry.getViewCount();
588            }
589    
590            /**
591            * Sets the view count of this asset entry.
592            *
593            * @param viewCount the view count of this asset entry
594            */
595            public void setViewCount(int viewCount) {
596                    _assetEntry.setViewCount(viewCount);
597            }
598    
599            public boolean isNew() {
600                    return _assetEntry.isNew();
601            }
602    
603            public void setNew(boolean n) {
604                    _assetEntry.setNew(n);
605            }
606    
607            public boolean isCachedModel() {
608                    return _assetEntry.isCachedModel();
609            }
610    
611            public void setCachedModel(boolean cachedModel) {
612                    _assetEntry.setCachedModel(cachedModel);
613            }
614    
615            public boolean isEscapedModel() {
616                    return _assetEntry.isEscapedModel();
617            }
618    
619            public void setEscapedModel(boolean escapedModel) {
620                    _assetEntry.setEscapedModel(escapedModel);
621            }
622    
623            public java.io.Serializable getPrimaryKeyObj() {
624                    return _assetEntry.getPrimaryKeyObj();
625            }
626    
627            public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
628                    _assetEntry.setPrimaryKeyObj(primaryKeyObj);
629            }
630    
631            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
632                    return _assetEntry.getExpandoBridge();
633            }
634    
635            public void setExpandoBridgeAttributes(
636                    com.liferay.portal.service.ServiceContext serviceContext) {
637                    _assetEntry.setExpandoBridgeAttributes(serviceContext);
638            }
639    
640            @Override
641            public java.lang.Object clone() {
642                    return new AssetEntryWrapper((AssetEntry)_assetEntry.clone());
643            }
644    
645            public int compareTo(com.liferay.portlet.asset.model.AssetEntry assetEntry) {
646                    return _assetEntry.compareTo(assetEntry);
647            }
648    
649            @Override
650            public int hashCode() {
651                    return _assetEntry.hashCode();
652            }
653    
654            public com.liferay.portal.model.CacheModel<com.liferay.portlet.asset.model.AssetEntry> toCacheModel() {
655                    return _assetEntry.toCacheModel();
656            }
657    
658            public com.liferay.portlet.asset.model.AssetEntry toEscapedModel() {
659                    return new AssetEntryWrapper(_assetEntry.toEscapedModel());
660            }
661    
662            @Override
663            public java.lang.String toString() {
664                    return _assetEntry.toString();
665            }
666    
667            public java.lang.String toXmlString() {
668                    return _assetEntry.toXmlString();
669            }
670    
671            public void persist()
672                    throws com.liferay.portal.kernel.exception.SystemException {
673                    _assetEntry.persist();
674            }
675    
676            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getCategories()
677                    throws com.liferay.portal.kernel.exception.SystemException {
678                    return _assetEntry.getCategories();
679            }
680    
681            public long[] getCategoryIds()
682                    throws com.liferay.portal.kernel.exception.SystemException {
683                    return _assetEntry.getCategoryIds();
684            }
685    
686            public double getSocialInformationEquity() {
687                    return _assetEntry.getSocialInformationEquity();
688            }
689    
690            public java.lang.String[] getTagNames()
691                    throws com.liferay.portal.kernel.exception.SystemException {
692                    return _assetEntry.getTagNames();
693            }
694    
695            public java.util.List<com.liferay.portlet.asset.model.AssetTag> getTags()
696                    throws com.liferay.portal.kernel.exception.SystemException {
697                    return _assetEntry.getTags();
698            }
699    
700            public void updateSocialInformationEquity(double value) {
701                    _assetEntry.updateSocialInformationEquity(value);
702            }
703    
704            public AssetEntry getWrappedAssetEntry() {
705                    return _assetEntry;
706            }
707    
708            public void resetOriginalValues() {
709                    _assetEntry.resetOriginalValues();
710            }
711    
712            private AssetEntry _assetEntry;
713    }