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