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