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