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