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