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