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