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