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