001    /**
002     * Copyright (c) 2000-2013 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    import aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.kernel.util.Validator;
020    import com.liferay.portal.model.ModelWrapper;
021    
022    import java.util.Date;
023    import java.util.HashMap;
024    import java.util.Map;
025    
026    /**
027     * <p>
028     * This class is a wrapper for {@link AssetEntry}.
029     * </p>
030     *
031     * @author Brian Wing Shun Chan
032     * @see AssetEntry
033     * @generated
034     */
035    @ProviderType
036    public class AssetEntryWrapper implements AssetEntry, ModelWrapper<AssetEntry> {
037            public AssetEntryWrapper(AssetEntry assetEntry) {
038                    _assetEntry = assetEntry;
039            }
040    
041            @Override
042            public Class<?> getModelClass() {
043                    return AssetEntry.class;
044            }
045    
046            @Override
047            public String getModelClassName() {
048                    return AssetEntry.class.getName();
049            }
050    
051            @Override
052            public Map<String, Object> getModelAttributes() {
053                    Map<String, Object> attributes = new HashMap<String, Object>();
054    
055                    attributes.put("entryId", getEntryId());
056                    attributes.put("groupId", getGroupId());
057                    attributes.put("companyId", getCompanyId());
058                    attributes.put("userId", getUserId());
059                    attributes.put("userName", getUserName());
060                    attributes.put("createDate", getCreateDate());
061                    attributes.put("modifiedDate", getModifiedDate());
062                    attributes.put("classNameId", getClassNameId());
063                    attributes.put("classPK", getClassPK());
064                    attributes.put("classUuid", getClassUuid());
065                    attributes.put("classTypeId", getClassTypeId());
066                    attributes.put("visible", getVisible());
067                    attributes.put("startDate", getStartDate());
068                    attributes.put("endDate", getEndDate());
069                    attributes.put("publishDate", getPublishDate());
070                    attributes.put("expirationDate", getExpirationDate());
071                    attributes.put("mimeType", getMimeType());
072                    attributes.put("title", getTitle());
073                    attributes.put("description", getDescription());
074                    attributes.put("summary", getSummary());
075                    attributes.put("url", getUrl());
076                    attributes.put("layoutUuid", getLayoutUuid());
077                    attributes.put("height", getHeight());
078                    attributes.put("width", getWidth());
079                    attributes.put("priority", getPriority());
080                    attributes.put("viewCount", getViewCount());
081    
082                    return attributes;
083            }
084    
085            @Override
086            public void setModelAttributes(Map<String, Object> attributes) {
087                    Long entryId = (Long)attributes.get("entryId");
088    
089                    if (entryId != null) {
090                            setEntryId(entryId);
091                    }
092    
093                    Long groupId = (Long)attributes.get("groupId");
094    
095                    if (groupId != null) {
096                            setGroupId(groupId);
097                    }
098    
099                    Long companyId = (Long)attributes.get("companyId");
100    
101                    if (companyId != null) {
102                            setCompanyId(companyId);
103                    }
104    
105                    Long userId = (Long)attributes.get("userId");
106    
107                    if (userId != null) {
108                            setUserId(userId);
109                    }
110    
111                    String userName = (String)attributes.get("userName");
112    
113                    if (userName != null) {
114                            setUserName(userName);
115                    }
116    
117                    Date createDate = (Date)attributes.get("createDate");
118    
119                    if (createDate != null) {
120                            setCreateDate(createDate);
121                    }
122    
123                    Date modifiedDate = (Date)attributes.get("modifiedDate");
124    
125                    if (modifiedDate != null) {
126                            setModifiedDate(modifiedDate);
127                    }
128    
129                    Long classNameId = (Long)attributes.get("classNameId");
130    
131                    if (classNameId != null) {
132                            setClassNameId(classNameId);
133                    }
134    
135                    Long classPK = (Long)attributes.get("classPK");
136    
137                    if (classPK != null) {
138                            setClassPK(classPK);
139                    }
140    
141                    String classUuid = (String)attributes.get("classUuid");
142    
143                    if (classUuid != null) {
144                            setClassUuid(classUuid);
145                    }
146    
147                    Long classTypeId = (Long)attributes.get("classTypeId");
148    
149                    if (classTypeId != null) {
150                            setClassTypeId(classTypeId);
151                    }
152    
153                    Boolean visible = (Boolean)attributes.get("visible");
154    
155                    if (visible != null) {
156                            setVisible(visible);
157                    }
158    
159                    Date startDate = (Date)attributes.get("startDate");
160    
161                    if (startDate != null) {
162                            setStartDate(startDate);
163                    }
164    
165                    Date endDate = (Date)attributes.get("endDate");
166    
167                    if (endDate != null) {
168                            setEndDate(endDate);
169                    }
170    
171                    Date publishDate = (Date)attributes.get("publishDate");
172    
173                    if (publishDate != null) {
174                            setPublishDate(publishDate);
175                    }
176    
177                    Date expirationDate = (Date)attributes.get("expirationDate");
178    
179                    if (expirationDate != null) {
180                            setExpirationDate(expirationDate);
181                    }
182    
183                    String mimeType = (String)attributes.get("mimeType");
184    
185                    if (mimeType != null) {
186                            setMimeType(mimeType);
187                    }
188    
189                    String title = (String)attributes.get("title");
190    
191                    if (title != null) {
192                            setTitle(title);
193                    }
194    
195                    String description = (String)attributes.get("description");
196    
197                    if (description != null) {
198                            setDescription(description);
199                    }
200    
201                    String summary = (String)attributes.get("summary");
202    
203                    if (summary != null) {
204                            setSummary(summary);
205                    }
206    
207                    String url = (String)attributes.get("url");
208    
209                    if (url != null) {
210                            setUrl(url);
211                    }
212    
213                    String layoutUuid = (String)attributes.get("layoutUuid");
214    
215                    if (layoutUuid != null) {
216                            setLayoutUuid(layoutUuid);
217                    }
218    
219                    Integer height = (Integer)attributes.get("height");
220    
221                    if (height != null) {
222                            setHeight(height);
223                    }
224    
225                    Integer width = (Integer)attributes.get("width");
226    
227                    if (width != null) {
228                            setWidth(width);
229                    }
230    
231                    Double priority = (Double)attributes.get("priority");
232    
233                    if (priority != null) {
234                            setPriority(priority);
235                    }
236    
237                    Integer viewCount = (Integer)attributes.get("viewCount");
238    
239                    if (viewCount != null) {
240                            setViewCount(viewCount);
241                    }
242            }
243    
244            /**
245            * Returns the primary key of this asset entry.
246            *
247            * @return the primary key of this asset entry
248            */
249            @Override
250            public long getPrimaryKey() {
251                    return _assetEntry.getPrimaryKey();
252            }
253    
254            /**
255            * Sets the primary key of this asset entry.
256            *
257            * @param primaryKey the primary key of this asset entry
258            */
259            @Override
260            public void setPrimaryKey(long primaryKey) {
261                    _assetEntry.setPrimaryKey(primaryKey);
262            }
263    
264            /**
265            * Returns the entry ID of this asset entry.
266            *
267            * @return the entry ID of this asset entry
268            */
269            @Override
270            public long getEntryId() {
271                    return _assetEntry.getEntryId();
272            }
273    
274            /**
275            * Sets the entry ID of this asset entry.
276            *
277            * @param entryId the entry ID of this asset entry
278            */
279            @Override
280            public void setEntryId(long entryId) {
281                    _assetEntry.setEntryId(entryId);
282            }
283    
284            /**
285            * Returns the group ID of this asset entry.
286            *
287            * @return the group ID of this asset entry
288            */
289            @Override
290            public long getGroupId() {
291                    return _assetEntry.getGroupId();
292            }
293    
294            /**
295            * Sets the group ID of this asset entry.
296            *
297            * @param groupId the group ID of this asset entry
298            */
299            @Override
300            public void setGroupId(long groupId) {
301                    _assetEntry.setGroupId(groupId);
302            }
303    
304            /**
305            * Returns the company ID of this asset entry.
306            *
307            * @return the company ID of this asset entry
308            */
309            @Override
310            public long getCompanyId() {
311                    return _assetEntry.getCompanyId();
312            }
313    
314            /**
315            * Sets the company ID of this asset entry.
316            *
317            * @param companyId the company ID of this asset entry
318            */
319            @Override
320            public void setCompanyId(long companyId) {
321                    _assetEntry.setCompanyId(companyId);
322            }
323    
324            /**
325            * Returns the user ID of this asset entry.
326            *
327            * @return the user ID of this asset entry
328            */
329            @Override
330            public long getUserId() {
331                    return _assetEntry.getUserId();
332            }
333    
334            /**
335            * Sets the user ID of this asset entry.
336            *
337            * @param userId the user ID of this asset entry
338            */
339            @Override
340            public void setUserId(long userId) {
341                    _assetEntry.setUserId(userId);
342            }
343    
344            /**
345            * Returns the user uuid of this asset entry.
346            *
347            * @return the user uuid of this asset entry
348            * @throws SystemException if a system exception occurred
349            */
350            @Override
351            public java.lang.String getUserUuid()
352                    throws com.liferay.portal.kernel.exception.SystemException {
353                    return _assetEntry.getUserUuid();
354            }
355    
356            /**
357            * Sets the user uuid of this asset entry.
358            *
359            * @param userUuid the user uuid of this asset entry
360            */
361            @Override
362            public void setUserUuid(java.lang.String userUuid) {
363                    _assetEntry.setUserUuid(userUuid);
364            }
365    
366            /**
367            * Returns the user name of this asset entry.
368            *
369            * @return the user name of this asset entry
370            */
371            @Override
372            public java.lang.String getUserName() {
373                    return _assetEntry.getUserName();
374            }
375    
376            /**
377            * Sets the user name of this asset entry.
378            *
379            * @param userName the user name of this asset entry
380            */
381            @Override
382            public void setUserName(java.lang.String userName) {
383                    _assetEntry.setUserName(userName);
384            }
385    
386            /**
387            * Returns the create date of this asset entry.
388            *
389            * @return the create date of this asset entry
390            */
391            @Override
392            public java.util.Date getCreateDate() {
393                    return _assetEntry.getCreateDate();
394            }
395    
396            /**
397            * Sets the create date of this asset entry.
398            *
399            * @param createDate the create date of this asset entry
400            */
401            @Override
402            public void setCreateDate(java.util.Date createDate) {
403                    _assetEntry.setCreateDate(createDate);
404            }
405    
406            /**
407            * Returns the modified date of this asset entry.
408            *
409            * @return the modified date of this asset entry
410            */
411            @Override
412            public java.util.Date getModifiedDate() {
413                    return _assetEntry.getModifiedDate();
414            }
415    
416            /**
417            * Sets the modified date of this asset entry.
418            *
419            * @param modifiedDate the modified date of this asset entry
420            */
421            @Override
422            public void setModifiedDate(java.util.Date modifiedDate) {
423                    _assetEntry.setModifiedDate(modifiedDate);
424            }
425    
426            /**
427            * Returns the fully qualified class name of this asset entry.
428            *
429            * @return the fully qualified class name of this asset entry
430            */
431            @Override
432            public java.lang.String getClassName() {
433                    return _assetEntry.getClassName();
434            }
435    
436            @Override
437            public void setClassName(java.lang.String className) {
438                    _assetEntry.setClassName(className);
439            }
440    
441            /**
442            * Returns the class name ID of this asset entry.
443            *
444            * @return the class name ID of this asset entry
445            */
446            @Override
447            public long getClassNameId() {
448                    return _assetEntry.getClassNameId();
449            }
450    
451            /**
452            * Sets the class name ID of this asset entry.
453            *
454            * @param classNameId the class name ID of this asset entry
455            */
456            @Override
457            public void setClassNameId(long classNameId) {
458                    _assetEntry.setClassNameId(classNameId);
459            }
460    
461            /**
462            * Returns the class p k of this asset entry.
463            *
464            * @return the class p k of this asset entry
465            */
466            @Override
467            public long getClassPK() {
468                    return _assetEntry.getClassPK();
469            }
470    
471            /**
472            * Sets the class p k of this asset entry.
473            *
474            * @param classPK the class p k of this asset entry
475            */
476            @Override
477            public void setClassPK(long classPK) {
478                    _assetEntry.setClassPK(classPK);
479            }
480    
481            /**
482            * Returns the class uuid of this asset entry.
483            *
484            * @return the class uuid of this asset entry
485            */
486            @Override
487            public java.lang.String getClassUuid() {
488                    return _assetEntry.getClassUuid();
489            }
490    
491            /**
492            * Sets the class uuid of this asset entry.
493            *
494            * @param classUuid the class uuid of this asset entry
495            */
496            @Override
497            public void setClassUuid(java.lang.String classUuid) {
498                    _assetEntry.setClassUuid(classUuid);
499            }
500    
501            /**
502            * Returns the class type ID of this asset entry.
503            *
504            * @return the class type ID of this asset entry
505            */
506            @Override
507            public long getClassTypeId() {
508                    return _assetEntry.getClassTypeId();
509            }
510    
511            /**
512            * Sets the class type ID of this asset entry.
513            *
514            * @param classTypeId the class type ID of this asset entry
515            */
516            @Override
517            public void setClassTypeId(long classTypeId) {
518                    _assetEntry.setClassTypeId(classTypeId);
519            }
520    
521            /**
522            * Returns the visible of this asset entry.
523            *
524            * @return the visible of this asset entry
525            */
526            @Override
527            public boolean getVisible() {
528                    return _assetEntry.getVisible();
529            }
530    
531            /**
532            * Returns <code>true</code> if this asset entry is visible.
533            *
534            * @return <code>true</code> if this asset entry is visible; <code>false</code> otherwise
535            */
536            @Override
537            public boolean isVisible() {
538                    return _assetEntry.isVisible();
539            }
540    
541            /**
542            * Sets whether this asset entry is visible.
543            *
544            * @param visible the visible of this asset entry
545            */
546            @Override
547            public void setVisible(boolean visible) {
548                    _assetEntry.setVisible(visible);
549            }
550    
551            /**
552            * Returns the start date of this asset entry.
553            *
554            * @return the start date of this asset entry
555            */
556            @Override
557            public java.util.Date getStartDate() {
558                    return _assetEntry.getStartDate();
559            }
560    
561            /**
562            * Sets the start date of this asset entry.
563            *
564            * @param startDate the start date of this asset entry
565            */
566            @Override
567            public void setStartDate(java.util.Date startDate) {
568                    _assetEntry.setStartDate(startDate);
569            }
570    
571            /**
572            * Returns the end date of this asset entry.
573            *
574            * @return the end date of this asset entry
575            */
576            @Override
577            public java.util.Date getEndDate() {
578                    return _assetEntry.getEndDate();
579            }
580    
581            /**
582            * Sets the end date of this asset entry.
583            *
584            * @param endDate the end date of this asset entry
585            */
586            @Override
587            public void setEndDate(java.util.Date endDate) {
588                    _assetEntry.setEndDate(endDate);
589            }
590    
591            /**
592            * Returns the publish date of this asset entry.
593            *
594            * @return the publish date of this asset entry
595            */
596            @Override
597            public java.util.Date getPublishDate() {
598                    return _assetEntry.getPublishDate();
599            }
600    
601            /**
602            * Sets the publish date of this asset entry.
603            *
604            * @param publishDate the publish date of this asset entry
605            */
606            @Override
607            public void setPublishDate(java.util.Date publishDate) {
608                    _assetEntry.setPublishDate(publishDate);
609            }
610    
611            /**
612            * Returns the expiration date of this asset entry.
613            *
614            * @return the expiration date of this asset entry
615            */
616            @Override
617            public java.util.Date getExpirationDate() {
618                    return _assetEntry.getExpirationDate();
619            }
620    
621            /**
622            * Sets the expiration date of this asset entry.
623            *
624            * @param expirationDate the expiration date of this asset entry
625            */
626            @Override
627            public void setExpirationDate(java.util.Date expirationDate) {
628                    _assetEntry.setExpirationDate(expirationDate);
629            }
630    
631            /**
632            * Returns the mime type of this asset entry.
633            *
634            * @return the mime type of this asset entry
635            */
636            @Override
637            public java.lang.String getMimeType() {
638                    return _assetEntry.getMimeType();
639            }
640    
641            /**
642            * Sets the mime type of this asset entry.
643            *
644            * @param mimeType the mime type of this asset entry
645            */
646            @Override
647            public void setMimeType(java.lang.String mimeType) {
648                    _assetEntry.setMimeType(mimeType);
649            }
650    
651            /**
652            * Returns the title of this asset entry.
653            *
654            * @return the title of this asset entry
655            */
656            @Override
657            public java.lang.String getTitle() {
658                    return _assetEntry.getTitle();
659            }
660    
661            /**
662            * Returns the localized title of this asset entry in the language. Uses the default language if no localization exists for the requested language.
663            *
664            * @param locale the locale of the language
665            * @return the localized title of this asset entry
666            */
667            @Override
668            public java.lang.String getTitle(java.util.Locale locale) {
669                    return _assetEntry.getTitle(locale);
670            }
671    
672            /**
673            * Returns the localized title of this asset entry in the language, optionally using the default language if no localization exists for the requested language.
674            *
675            * @param locale the local of the language
676            * @param useDefault whether to use the default language if no localization exists for the requested language
677            * @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.
678            */
679            @Override
680            public java.lang.String getTitle(java.util.Locale locale, boolean useDefault) {
681                    return _assetEntry.getTitle(locale, useDefault);
682            }
683    
684            /**
685            * Returns the localized title of this asset entry in the language. Uses the default language if no localization exists for the requested language.
686            *
687            * @param languageId the ID of the language
688            * @return the localized title of this asset entry
689            */
690            @Override
691            public java.lang.String getTitle(java.lang.String languageId) {
692                    return _assetEntry.getTitle(languageId);
693            }
694    
695            /**
696            * Returns the localized title of this asset entry in the language, optionally using the default language if no localization exists for the requested language.
697            *
698            * @param languageId the ID of the language
699            * @param useDefault whether to use the default language if no localization exists for the requested language
700            * @return the localized title of this asset entry
701            */
702            @Override
703            public java.lang.String getTitle(java.lang.String languageId,
704                    boolean useDefault) {
705                    return _assetEntry.getTitle(languageId, useDefault);
706            }
707    
708            @Override
709            public java.lang.String getTitleCurrentLanguageId() {
710                    return _assetEntry.getTitleCurrentLanguageId();
711            }
712    
713            @Override
714            public java.lang.String getTitleCurrentValue() {
715                    return _assetEntry.getTitleCurrentValue();
716            }
717    
718            /**
719            * Returns a map of the locales and localized titles of this asset entry.
720            *
721            * @return the locales and localized titles of this asset entry
722            */
723            @Override
724            public java.util.Map<java.util.Locale, java.lang.String> getTitleMap() {
725                    return _assetEntry.getTitleMap();
726            }
727    
728            /**
729            * Sets the title of this asset entry.
730            *
731            * @param title the title of this asset entry
732            */
733            @Override
734            public void setTitle(java.lang.String title) {
735                    _assetEntry.setTitle(title);
736            }
737    
738            /**
739            * Sets the localized title of this asset entry in the language.
740            *
741            * @param title the localized title of this asset entry
742            * @param locale the locale of the language
743            */
744            @Override
745            public void setTitle(java.lang.String title, java.util.Locale locale) {
746                    _assetEntry.setTitle(title, locale);
747            }
748    
749            /**
750            * Sets the localized title of this asset entry in the language, and sets the default locale.
751            *
752            * @param title the localized title of this asset entry
753            * @param locale the locale of the language
754            * @param defaultLocale the default locale
755            */
756            @Override
757            public void setTitle(java.lang.String title, java.util.Locale locale,
758                    java.util.Locale defaultLocale) {
759                    _assetEntry.setTitle(title, locale, defaultLocale);
760            }
761    
762            @Override
763            public void setTitleCurrentLanguageId(java.lang.String languageId) {
764                    _assetEntry.setTitleCurrentLanguageId(languageId);
765            }
766    
767            /**
768            * Sets the localized titles of this asset entry from the map of locales and localized titles.
769            *
770            * @param titleMap the locales and localized titles of this asset entry
771            */
772            @Override
773            public void setTitleMap(
774                    java.util.Map<java.util.Locale, java.lang.String> titleMap) {
775                    _assetEntry.setTitleMap(titleMap);
776            }
777    
778            /**
779            * Sets the localized titles of this asset entry from the map of locales and localized titles, and sets the default locale.
780            *
781            * @param titleMap the locales and localized titles of this asset entry
782            * @param defaultLocale the default locale
783            */
784            @Override
785            public void setTitleMap(
786                    java.util.Map<java.util.Locale, java.lang.String> titleMap,
787                    java.util.Locale defaultLocale) {
788                    _assetEntry.setTitleMap(titleMap, defaultLocale);
789            }
790    
791            /**
792            * Returns the description of this asset entry.
793            *
794            * @return the description of this asset entry
795            */
796            @Override
797            public java.lang.String getDescription() {
798                    return _assetEntry.getDescription();
799            }
800    
801            /**
802            * Returns the localized description of this asset entry in the language. Uses the default language if no localization exists for the requested language.
803            *
804            * @param locale the locale of the language
805            * @return the localized description of this asset entry
806            */
807            @Override
808            public java.lang.String getDescription(java.util.Locale locale) {
809                    return _assetEntry.getDescription(locale);
810            }
811    
812            /**
813            * Returns the localized description of this asset entry in the language, optionally using the default language if no localization exists for the requested language.
814            *
815            * @param locale the local of the language
816            * @param useDefault whether to use the default language if no localization exists for the requested language
817            * @return the localized description 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.
818            */
819            @Override
820            public java.lang.String getDescription(java.util.Locale locale,
821                    boolean useDefault) {
822                    return _assetEntry.getDescription(locale, useDefault);
823            }
824    
825            /**
826            * Returns the localized description of this asset entry in the language. Uses the default language if no localization exists for the requested language.
827            *
828            * @param languageId the ID of the language
829            * @return the localized description of this asset entry
830            */
831            @Override
832            public java.lang.String getDescription(java.lang.String languageId) {
833                    return _assetEntry.getDescription(languageId);
834            }
835    
836            /**
837            * Returns the localized description of this asset entry in the language, optionally using the default language if no localization exists for the requested language.
838            *
839            * @param languageId the ID of the language
840            * @param useDefault whether to use the default language if no localization exists for the requested language
841            * @return the localized description of this asset entry
842            */
843            @Override
844            public java.lang.String getDescription(java.lang.String languageId,
845                    boolean useDefault) {
846                    return _assetEntry.getDescription(languageId, useDefault);
847            }
848    
849            @Override
850            public java.lang.String getDescriptionCurrentLanguageId() {
851                    return _assetEntry.getDescriptionCurrentLanguageId();
852            }
853    
854            @Override
855            public java.lang.String getDescriptionCurrentValue() {
856                    return _assetEntry.getDescriptionCurrentValue();
857            }
858    
859            /**
860            * Returns a map of the locales and localized descriptions of this asset entry.
861            *
862            * @return the locales and localized descriptions of this asset entry
863            */
864            @Override
865            public java.util.Map<java.util.Locale, java.lang.String> getDescriptionMap() {
866                    return _assetEntry.getDescriptionMap();
867            }
868    
869            /**
870            * Sets the description of this asset entry.
871            *
872            * @param description the description of this asset entry
873            */
874            @Override
875            public void setDescription(java.lang.String description) {
876                    _assetEntry.setDescription(description);
877            }
878    
879            /**
880            * Sets the localized description of this asset entry in the language.
881            *
882            * @param description the localized description of this asset entry
883            * @param locale the locale of the language
884            */
885            @Override
886            public void setDescription(java.lang.String description,
887                    java.util.Locale locale) {
888                    _assetEntry.setDescription(description, locale);
889            }
890    
891            /**
892            * Sets the localized description of this asset entry in the language, and sets the default locale.
893            *
894            * @param description the localized description of this asset entry
895            * @param locale the locale of the language
896            * @param defaultLocale the default locale
897            */
898            @Override
899            public void setDescription(java.lang.String description,
900                    java.util.Locale locale, java.util.Locale defaultLocale) {
901                    _assetEntry.setDescription(description, locale, defaultLocale);
902            }
903    
904            @Override
905            public void setDescriptionCurrentLanguageId(java.lang.String languageId) {
906                    _assetEntry.setDescriptionCurrentLanguageId(languageId);
907            }
908    
909            /**
910            * Sets the localized descriptions of this asset entry from the map of locales and localized descriptions.
911            *
912            * @param descriptionMap the locales and localized descriptions of this asset entry
913            */
914            @Override
915            public void setDescriptionMap(
916                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap) {
917                    _assetEntry.setDescriptionMap(descriptionMap);
918            }
919    
920            /**
921            * Sets the localized descriptions of this asset entry from the map of locales and localized descriptions, and sets the default locale.
922            *
923            * @param descriptionMap the locales and localized descriptions of this asset entry
924            * @param defaultLocale the default locale
925            */
926            @Override
927            public void setDescriptionMap(
928                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
929                    java.util.Locale defaultLocale) {
930                    _assetEntry.setDescriptionMap(descriptionMap, defaultLocale);
931            }
932    
933            /**
934            * Returns the summary of this asset entry.
935            *
936            * @return the summary of this asset entry
937            */
938            @Override
939            public java.lang.String getSummary() {
940                    return _assetEntry.getSummary();
941            }
942    
943            /**
944            * Returns the localized summary of this asset entry in the language. Uses the default language if no localization exists for the requested language.
945            *
946            * @param locale the locale of the language
947            * @return the localized summary of this asset entry
948            */
949            @Override
950            public java.lang.String getSummary(java.util.Locale locale) {
951                    return _assetEntry.getSummary(locale);
952            }
953    
954            /**
955            * Returns the localized summary of this asset entry in the language, optionally using the default language if no localization exists for the requested language.
956            *
957            * @param locale the local of the language
958            * @param useDefault whether to use the default language if no localization exists for the requested language
959            * @return the localized summary 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.
960            */
961            @Override
962            public java.lang.String getSummary(java.util.Locale locale,
963                    boolean useDefault) {
964                    return _assetEntry.getSummary(locale, useDefault);
965            }
966    
967            /**
968            * Returns the localized summary of this asset entry in the language. Uses the default language if no localization exists for the requested language.
969            *
970            * @param languageId the ID of the language
971            * @return the localized summary of this asset entry
972            */
973            @Override
974            public java.lang.String getSummary(java.lang.String languageId) {
975                    return _assetEntry.getSummary(languageId);
976            }
977    
978            /**
979            * Returns the localized summary of this asset entry in the language, optionally using the default language if no localization exists for the requested language.
980            *
981            * @param languageId the ID of the language
982            * @param useDefault whether to use the default language if no localization exists for the requested language
983            * @return the localized summary of this asset entry
984            */
985            @Override
986            public java.lang.String getSummary(java.lang.String languageId,
987                    boolean useDefault) {
988                    return _assetEntry.getSummary(languageId, useDefault);
989            }
990    
991            @Override
992            public java.lang.String getSummaryCurrentLanguageId() {
993                    return _assetEntry.getSummaryCurrentLanguageId();
994            }
995    
996            @Override
997            public java.lang.String getSummaryCurrentValue() {
998                    return _assetEntry.getSummaryCurrentValue();
999            }
1000    
1001            /**
1002            * Returns a map of the locales and localized summaries of this asset entry.
1003            *
1004            * @return the locales and localized summaries of this asset entry
1005            */
1006            @Override
1007            public java.util.Map<java.util.Locale, java.lang.String> getSummaryMap() {
1008                    return _assetEntry.getSummaryMap();
1009            }
1010    
1011            /**
1012            * Sets the summary of this asset entry.
1013            *
1014            * @param summary the summary of this asset entry
1015            */
1016            @Override
1017            public void setSummary(java.lang.String summary) {
1018                    _assetEntry.setSummary(summary);
1019            }
1020    
1021            /**
1022            * Sets the localized summary of this asset entry in the language.
1023            *
1024            * @param summary the localized summary of this asset entry
1025            * @param locale the locale of the language
1026            */
1027            @Override
1028            public void setSummary(java.lang.String summary, java.util.Locale locale) {
1029                    _assetEntry.setSummary(summary, locale);
1030            }
1031    
1032            /**
1033            * Sets the localized summary of this asset entry in the language, and sets the default locale.
1034            *
1035            * @param summary the localized summary of this asset entry
1036            * @param locale the locale of the language
1037            * @param defaultLocale the default locale
1038            */
1039            @Override
1040            public void setSummary(java.lang.String summary, java.util.Locale locale,
1041                    java.util.Locale defaultLocale) {
1042                    _assetEntry.setSummary(summary, locale, defaultLocale);
1043            }
1044    
1045            @Override
1046            public void setSummaryCurrentLanguageId(java.lang.String languageId) {
1047                    _assetEntry.setSummaryCurrentLanguageId(languageId);
1048            }
1049    
1050            /**
1051            * Sets the localized summaries of this asset entry from the map of locales and localized summaries.
1052            *
1053            * @param summaryMap the locales and localized summaries of this asset entry
1054            */
1055            @Override
1056            public void setSummaryMap(
1057                    java.util.Map<java.util.Locale, java.lang.String> summaryMap) {
1058                    _assetEntry.setSummaryMap(summaryMap);
1059            }
1060    
1061            /**
1062            * Sets the localized summaries of this asset entry from the map of locales and localized summaries, and sets the default locale.
1063            *
1064            * @param summaryMap the locales and localized summaries of this asset entry
1065            * @param defaultLocale the default locale
1066            */
1067            @Override
1068            public void setSummaryMap(
1069                    java.util.Map<java.util.Locale, java.lang.String> summaryMap,
1070                    java.util.Locale defaultLocale) {
1071                    _assetEntry.setSummaryMap(summaryMap, defaultLocale);
1072            }
1073    
1074            /**
1075            * Returns the url of this asset entry.
1076            *
1077            * @return the url of this asset entry
1078            */
1079            @Override
1080            public java.lang.String getUrl() {
1081                    return _assetEntry.getUrl();
1082            }
1083    
1084            /**
1085            * Sets the url of this asset entry.
1086            *
1087            * @param url the url of this asset entry
1088            */
1089            @Override
1090            public void setUrl(java.lang.String url) {
1091                    _assetEntry.setUrl(url);
1092            }
1093    
1094            /**
1095            * Returns the layout uuid of this asset entry.
1096            *
1097            * @return the layout uuid of this asset entry
1098            */
1099            @Override
1100            public java.lang.String getLayoutUuid() {
1101                    return _assetEntry.getLayoutUuid();
1102            }
1103    
1104            /**
1105            * Sets the layout uuid of this asset entry.
1106            *
1107            * @param layoutUuid the layout uuid of this asset entry
1108            */
1109            @Override
1110            public void setLayoutUuid(java.lang.String layoutUuid) {
1111                    _assetEntry.setLayoutUuid(layoutUuid);
1112            }
1113    
1114            /**
1115            * Returns the height of this asset entry.
1116            *
1117            * @return the height of this asset entry
1118            */
1119            @Override
1120            public int getHeight() {
1121                    return _assetEntry.getHeight();
1122            }
1123    
1124            /**
1125            * Sets the height of this asset entry.
1126            *
1127            * @param height the height of this asset entry
1128            */
1129            @Override
1130            public void setHeight(int height) {
1131                    _assetEntry.setHeight(height);
1132            }
1133    
1134            /**
1135            * Returns the width of this asset entry.
1136            *
1137            * @return the width of this asset entry
1138            */
1139            @Override
1140            public int getWidth() {
1141                    return _assetEntry.getWidth();
1142            }
1143    
1144            /**
1145            * Sets the width of this asset entry.
1146            *
1147            * @param width the width of this asset entry
1148            */
1149            @Override
1150            public void setWidth(int width) {
1151                    _assetEntry.setWidth(width);
1152            }
1153    
1154            /**
1155            * Returns the priority of this asset entry.
1156            *
1157            * @return the priority of this asset entry
1158            */
1159            @Override
1160            public double getPriority() {
1161                    return _assetEntry.getPriority();
1162            }
1163    
1164            /**
1165            * Sets the priority of this asset entry.
1166            *
1167            * @param priority the priority of this asset entry
1168            */
1169            @Override
1170            public void setPriority(double priority) {
1171                    _assetEntry.setPriority(priority);
1172            }
1173    
1174            /**
1175            * Returns the view count of this asset entry.
1176            *
1177            * @return the view count of this asset entry
1178            */
1179            @Override
1180            public int getViewCount() {
1181                    return _assetEntry.getViewCount();
1182            }
1183    
1184            /**
1185            * Sets the view count of this asset entry.
1186            *
1187            * @param viewCount the view count of this asset entry
1188            */
1189            @Override
1190            public void setViewCount(int viewCount) {
1191                    _assetEntry.setViewCount(viewCount);
1192            }
1193    
1194            @Override
1195            public boolean isNew() {
1196                    return _assetEntry.isNew();
1197            }
1198    
1199            @Override
1200            public void setNew(boolean n) {
1201                    _assetEntry.setNew(n);
1202            }
1203    
1204            @Override
1205            public boolean isCachedModel() {
1206                    return _assetEntry.isCachedModel();
1207            }
1208    
1209            @Override
1210            public void setCachedModel(boolean cachedModel) {
1211                    _assetEntry.setCachedModel(cachedModel);
1212            }
1213    
1214            @Override
1215            public boolean isEscapedModel() {
1216                    return _assetEntry.isEscapedModel();
1217            }
1218    
1219            @Override
1220            public java.io.Serializable getPrimaryKeyObj() {
1221                    return _assetEntry.getPrimaryKeyObj();
1222            }
1223    
1224            @Override
1225            public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
1226                    _assetEntry.setPrimaryKeyObj(primaryKeyObj);
1227            }
1228    
1229            @Override
1230            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
1231                    return _assetEntry.getExpandoBridge();
1232            }
1233    
1234            @Override
1235            public void setExpandoBridgeAttributes(
1236                    com.liferay.portal.model.BaseModel<?> baseModel) {
1237                    _assetEntry.setExpandoBridgeAttributes(baseModel);
1238            }
1239    
1240            @Override
1241            public void setExpandoBridgeAttributes(
1242                    com.liferay.portlet.expando.model.ExpandoBridge expandoBridge) {
1243                    _assetEntry.setExpandoBridgeAttributes(expandoBridge);
1244            }
1245    
1246            @Override
1247            public void setExpandoBridgeAttributes(
1248                    com.liferay.portal.service.ServiceContext serviceContext) {
1249                    _assetEntry.setExpandoBridgeAttributes(serviceContext);
1250            }
1251    
1252            @Override
1253            public java.lang.String[] getAvailableLanguageIds() {
1254                    return _assetEntry.getAvailableLanguageIds();
1255            }
1256    
1257            @Override
1258            public java.lang.String getDefaultLanguageId() {
1259                    return _assetEntry.getDefaultLanguageId();
1260            }
1261    
1262            @Override
1263            public void prepareLocalizedFieldsForImport()
1264                    throws com.liferay.portal.LocaleException {
1265                    _assetEntry.prepareLocalizedFieldsForImport();
1266            }
1267    
1268            @Override
1269            public void prepareLocalizedFieldsForImport(
1270                    java.util.Locale defaultImportLocale)
1271                    throws com.liferay.portal.LocaleException {
1272                    _assetEntry.prepareLocalizedFieldsForImport(defaultImportLocale);
1273            }
1274    
1275            @Override
1276            public java.lang.Object clone() {
1277                    return new AssetEntryWrapper((AssetEntry)_assetEntry.clone());
1278            }
1279    
1280            @Override
1281            public int compareTo(com.liferay.portlet.asset.model.AssetEntry assetEntry) {
1282                    return _assetEntry.compareTo(assetEntry);
1283            }
1284    
1285            @Override
1286            public int hashCode() {
1287                    return _assetEntry.hashCode();
1288            }
1289    
1290            @Override
1291            public com.liferay.portal.model.CacheModel<com.liferay.portlet.asset.model.AssetEntry> toCacheModel() {
1292                    return _assetEntry.toCacheModel();
1293            }
1294    
1295            @Override
1296            public com.liferay.portlet.asset.model.AssetEntry toEscapedModel() {
1297                    return new AssetEntryWrapper(_assetEntry.toEscapedModel());
1298            }
1299    
1300            @Override
1301            public com.liferay.portlet.asset.model.AssetEntry toUnescapedModel() {
1302                    return new AssetEntryWrapper(_assetEntry.toUnescapedModel());
1303            }
1304    
1305            @Override
1306            public java.lang.String toString() {
1307                    return _assetEntry.toString();
1308            }
1309    
1310            @Override
1311            public java.lang.String toXmlString() {
1312                    return _assetEntry.toXmlString();
1313            }
1314    
1315            @Override
1316            public void persist()
1317                    throws com.liferay.portal.kernel.exception.SystemException {
1318                    _assetEntry.persist();
1319            }
1320    
1321            @Override
1322            public com.liferay.portlet.asset.model.AssetRenderer getAssetRenderer() {
1323                    return _assetEntry.getAssetRenderer();
1324            }
1325    
1326            @Override
1327            public com.liferay.portlet.asset.model.AssetRendererFactory getAssetRendererFactory() {
1328                    return _assetEntry.getAssetRendererFactory();
1329            }
1330    
1331            @Override
1332            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getCategories()
1333                    throws com.liferay.portal.kernel.exception.SystemException {
1334                    return _assetEntry.getCategories();
1335            }
1336    
1337            @Override
1338            public long[] getCategoryIds()
1339                    throws com.liferay.portal.kernel.exception.SystemException {
1340                    return _assetEntry.getCategoryIds();
1341            }
1342    
1343            @Override
1344            public java.lang.String[] getTagNames()
1345                    throws com.liferay.portal.kernel.exception.SystemException {
1346                    return _assetEntry.getTagNames();
1347            }
1348    
1349            @Override
1350            public java.util.List<com.liferay.portlet.asset.model.AssetTag> getTags()
1351                    throws com.liferay.portal.kernel.exception.SystemException {
1352                    return _assetEntry.getTags();
1353            }
1354    
1355            @Override
1356            public boolean equals(Object obj) {
1357                    if (this == obj) {
1358                            return true;
1359                    }
1360    
1361                    if (!(obj instanceof AssetEntryWrapper)) {
1362                            return false;
1363                    }
1364    
1365                    AssetEntryWrapper assetEntryWrapper = (AssetEntryWrapper)obj;
1366    
1367                    if (Validator.equals(_assetEntry, assetEntryWrapper._assetEntry)) {
1368                            return true;
1369                    }
1370    
1371                    return false;
1372            }
1373    
1374            /**
1375             * @deprecated As of 6.1.0, replaced by {@link #getWrappedModel}
1376             */
1377            public AssetEntry getWrappedAssetEntry() {
1378                    return _assetEntry;
1379            }
1380    
1381            @Override
1382            public AssetEntry getWrappedModel() {
1383                    return _assetEntry;
1384            }
1385    
1386            @Override
1387            public void resetOriginalValues() {
1388                    _assetEntry.resetOriginalValues();
1389            }
1390    
1391            private AssetEntry _assetEntry;
1392    }