001    /**
002     * Copyright (c) 2000-2012 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.model.ModelWrapper;
018    
019    import java.util.Date;
020    import java.util.HashMap;
021    import java.util.Map;
022    
023    /**
024     * <p>
025     * This class is a wrapper for {@link DLFileVersion}.
026     * </p>
027     *
028     * @author    Brian Wing Shun Chan
029     * @see       DLFileVersion
030     * @generated
031     */
032    public class DLFileVersionWrapper implements DLFileVersion,
033            ModelWrapper<DLFileVersion> {
034            public DLFileVersionWrapper(DLFileVersion dlFileVersion) {
035                    _dlFileVersion = dlFileVersion;
036            }
037    
038            public Class<?> getModelClass() {
039                    return DLFileVersion.class;
040            }
041    
042            public String getModelClassName() {
043                    return DLFileVersion.class.getName();
044            }
045    
046            public Map<String, Object> getModelAttributes() {
047                    Map<String, Object> attributes = new HashMap<String, Object>();
048    
049                    attributes.put("uuid", getUuid());
050                    attributes.put("fileVersionId", getFileVersionId());
051                    attributes.put("groupId", getGroupId());
052                    attributes.put("companyId", getCompanyId());
053                    attributes.put("userId", getUserId());
054                    attributes.put("userName", getUserName());
055                    attributes.put("createDate", getCreateDate());
056                    attributes.put("modifiedDate", getModifiedDate());
057                    attributes.put("repositoryId", getRepositoryId());
058                    attributes.put("folderId", getFolderId());
059                    attributes.put("fileEntryId", getFileEntryId());
060                    attributes.put("extension", getExtension());
061                    attributes.put("mimeType", getMimeType());
062                    attributes.put("title", getTitle());
063                    attributes.put("description", getDescription());
064                    attributes.put("changeLog", getChangeLog());
065                    attributes.put("extraSettings", getExtraSettings());
066                    attributes.put("fileEntryTypeId", getFileEntryTypeId());
067                    attributes.put("version", getVersion());
068                    attributes.put("size", getSize());
069                    attributes.put("checksum", getChecksum());
070                    attributes.put("status", getStatus());
071                    attributes.put("statusByUserId", getStatusByUserId());
072                    attributes.put("statusByUserName", getStatusByUserName());
073                    attributes.put("statusDate", getStatusDate());
074    
075                    return attributes;
076            }
077    
078            public void setModelAttributes(Map<String, Object> attributes) {
079                    String uuid = (String)attributes.get("uuid");
080    
081                    if (uuid != null) {
082                            setUuid(uuid);
083                    }
084    
085                    Long fileVersionId = (Long)attributes.get("fileVersionId");
086    
087                    if (fileVersionId != null) {
088                            setFileVersionId(fileVersionId);
089                    }
090    
091                    Long groupId = (Long)attributes.get("groupId");
092    
093                    if (groupId != null) {
094                            setGroupId(groupId);
095                    }
096    
097                    Long companyId = (Long)attributes.get("companyId");
098    
099                    if (companyId != null) {
100                            setCompanyId(companyId);
101                    }
102    
103                    Long userId = (Long)attributes.get("userId");
104    
105                    if (userId != null) {
106                            setUserId(userId);
107                    }
108    
109                    String userName = (String)attributes.get("userName");
110    
111                    if (userName != null) {
112                            setUserName(userName);
113                    }
114    
115                    Date createDate = (Date)attributes.get("createDate");
116    
117                    if (createDate != null) {
118                            setCreateDate(createDate);
119                    }
120    
121                    Date modifiedDate = (Date)attributes.get("modifiedDate");
122    
123                    if (modifiedDate != null) {
124                            setModifiedDate(modifiedDate);
125                    }
126    
127                    Long repositoryId = (Long)attributes.get("repositoryId");
128    
129                    if (repositoryId != null) {
130                            setRepositoryId(repositoryId);
131                    }
132    
133                    Long folderId = (Long)attributes.get("folderId");
134    
135                    if (folderId != null) {
136                            setFolderId(folderId);
137                    }
138    
139                    Long fileEntryId = (Long)attributes.get("fileEntryId");
140    
141                    if (fileEntryId != null) {
142                            setFileEntryId(fileEntryId);
143                    }
144    
145                    String extension = (String)attributes.get("extension");
146    
147                    if (extension != null) {
148                            setExtension(extension);
149                    }
150    
151                    String mimeType = (String)attributes.get("mimeType");
152    
153                    if (mimeType != null) {
154                            setMimeType(mimeType);
155                    }
156    
157                    String title = (String)attributes.get("title");
158    
159                    if (title != null) {
160                            setTitle(title);
161                    }
162    
163                    String description = (String)attributes.get("description");
164    
165                    if (description != null) {
166                            setDescription(description);
167                    }
168    
169                    String changeLog = (String)attributes.get("changeLog");
170    
171                    if (changeLog != null) {
172                            setChangeLog(changeLog);
173                    }
174    
175                    String extraSettings = (String)attributes.get("extraSettings");
176    
177                    if (extraSettings != null) {
178                            setExtraSettings(extraSettings);
179                    }
180    
181                    Long fileEntryTypeId = (Long)attributes.get("fileEntryTypeId");
182    
183                    if (fileEntryTypeId != null) {
184                            setFileEntryTypeId(fileEntryTypeId);
185                    }
186    
187                    String version = (String)attributes.get("version");
188    
189                    if (version != null) {
190                            setVersion(version);
191                    }
192    
193                    Long size = (Long)attributes.get("size");
194    
195                    if (size != null) {
196                            setSize(size);
197                    }
198    
199                    String checksum = (String)attributes.get("checksum");
200    
201                    if (checksum != null) {
202                            setChecksum(checksum);
203                    }
204    
205                    Integer status = (Integer)attributes.get("status");
206    
207                    if (status != null) {
208                            setStatus(status);
209                    }
210    
211                    Long statusByUserId = (Long)attributes.get("statusByUserId");
212    
213                    if (statusByUserId != null) {
214                            setStatusByUserId(statusByUserId);
215                    }
216    
217                    String statusByUserName = (String)attributes.get("statusByUserName");
218    
219                    if (statusByUserName != null) {
220                            setStatusByUserName(statusByUserName);
221                    }
222    
223                    Date statusDate = (Date)attributes.get("statusDate");
224    
225                    if (statusDate != null) {
226                            setStatusDate(statusDate);
227                    }
228            }
229    
230            /**
231            * Returns the primary key of this document library file version.
232            *
233            * @return the primary key of this document library file version
234            */
235            public long getPrimaryKey() {
236                    return _dlFileVersion.getPrimaryKey();
237            }
238    
239            /**
240            * Sets the primary key of this document library file version.
241            *
242            * @param primaryKey the primary key of this document library file version
243            */
244            public void setPrimaryKey(long primaryKey) {
245                    _dlFileVersion.setPrimaryKey(primaryKey);
246            }
247    
248            /**
249            * Returns the uuid of this document library file version.
250            *
251            * @return the uuid of this document library file version
252            */
253            public java.lang.String getUuid() {
254                    return _dlFileVersion.getUuid();
255            }
256    
257            /**
258            * Sets the uuid of this document library file version.
259            *
260            * @param uuid the uuid of this document library file version
261            */
262            public void setUuid(java.lang.String uuid) {
263                    _dlFileVersion.setUuid(uuid);
264            }
265    
266            /**
267            * Returns the file version ID of this document library file version.
268            *
269            * @return the file version ID of this document library file version
270            */
271            public long getFileVersionId() {
272                    return _dlFileVersion.getFileVersionId();
273            }
274    
275            /**
276            * Sets the file version ID of this document library file version.
277            *
278            * @param fileVersionId the file version ID of this document library file version
279            */
280            public void setFileVersionId(long fileVersionId) {
281                    _dlFileVersion.setFileVersionId(fileVersionId);
282            }
283    
284            /**
285            * Returns the group ID of this document library file version.
286            *
287            * @return the group ID of this document library file version
288            */
289            public long getGroupId() {
290                    return _dlFileVersion.getGroupId();
291            }
292    
293            /**
294            * Sets the group ID of this document library file version.
295            *
296            * @param groupId the group ID of this document library file version
297            */
298            public void setGroupId(long groupId) {
299                    _dlFileVersion.setGroupId(groupId);
300            }
301    
302            /**
303            * Returns the company ID of this document library file version.
304            *
305            * @return the company ID of this document library file version
306            */
307            public long getCompanyId() {
308                    return _dlFileVersion.getCompanyId();
309            }
310    
311            /**
312            * Sets the company ID of this document library file version.
313            *
314            * @param companyId the company ID of this document library file version
315            */
316            public void setCompanyId(long companyId) {
317                    _dlFileVersion.setCompanyId(companyId);
318            }
319    
320            /**
321            * Returns the user ID of this document library file version.
322            *
323            * @return the user ID of this document library file version
324            */
325            public long getUserId() {
326                    return _dlFileVersion.getUserId();
327            }
328    
329            /**
330            * Sets the user ID of this document library file version.
331            *
332            * @param userId the user ID of this document library file version
333            */
334            public void setUserId(long userId) {
335                    _dlFileVersion.setUserId(userId);
336            }
337    
338            /**
339            * Returns the user uuid of this document library file version.
340            *
341            * @return the user uuid of this document library file version
342            * @throws SystemException if a system exception occurred
343            */
344            public java.lang.String getUserUuid()
345                    throws com.liferay.portal.kernel.exception.SystemException {
346                    return _dlFileVersion.getUserUuid();
347            }
348    
349            /**
350            * Sets the user uuid of this document library file version.
351            *
352            * @param userUuid the user uuid of this document library file version
353            */
354            public void setUserUuid(java.lang.String userUuid) {
355                    _dlFileVersion.setUserUuid(userUuid);
356            }
357    
358            /**
359            * Returns the user name of this document library file version.
360            *
361            * @return the user name of this document library file version
362            */
363            public java.lang.String getUserName() {
364                    return _dlFileVersion.getUserName();
365            }
366    
367            /**
368            * Sets the user name of this document library file version.
369            *
370            * @param userName the user name of this document library file version
371            */
372            public void setUserName(java.lang.String userName) {
373                    _dlFileVersion.setUserName(userName);
374            }
375    
376            /**
377            * Returns the create date of this document library file version.
378            *
379            * @return the create date of this document library file version
380            */
381            public java.util.Date getCreateDate() {
382                    return _dlFileVersion.getCreateDate();
383            }
384    
385            /**
386            * Sets the create date of this document library file version.
387            *
388            * @param createDate the create date of this document library file version
389            */
390            public void setCreateDate(java.util.Date createDate) {
391                    _dlFileVersion.setCreateDate(createDate);
392            }
393    
394            /**
395            * Returns the modified date of this document library file version.
396            *
397            * @return the modified date of this document library file version
398            */
399            public java.util.Date getModifiedDate() {
400                    return _dlFileVersion.getModifiedDate();
401            }
402    
403            /**
404            * Sets the modified date of this document library file version.
405            *
406            * @param modifiedDate the modified date of this document library file version
407            */
408            public void setModifiedDate(java.util.Date modifiedDate) {
409                    _dlFileVersion.setModifiedDate(modifiedDate);
410            }
411    
412            /**
413            * Returns the repository ID of this document library file version.
414            *
415            * @return the repository ID of this document library file version
416            */
417            public long getRepositoryId() {
418                    return _dlFileVersion.getRepositoryId();
419            }
420    
421            /**
422            * Sets the repository ID of this document library file version.
423            *
424            * @param repositoryId the repository ID of this document library file version
425            */
426            public void setRepositoryId(long repositoryId) {
427                    _dlFileVersion.setRepositoryId(repositoryId);
428            }
429    
430            /**
431            * Returns the folder ID of this document library file version.
432            *
433            * @return the folder ID of this document library file version
434            */
435            public long getFolderId() {
436                    return _dlFileVersion.getFolderId();
437            }
438    
439            /**
440            * Sets the folder ID of this document library file version.
441            *
442            * @param folderId the folder ID of this document library file version
443            */
444            public void setFolderId(long folderId) {
445                    _dlFileVersion.setFolderId(folderId);
446            }
447    
448            /**
449            * Returns the file entry ID of this document library file version.
450            *
451            * @return the file entry ID of this document library file version
452            */
453            public long getFileEntryId() {
454                    return _dlFileVersion.getFileEntryId();
455            }
456    
457            /**
458            * Sets the file entry ID of this document library file version.
459            *
460            * @param fileEntryId the file entry ID of this document library file version
461            */
462            public void setFileEntryId(long fileEntryId) {
463                    _dlFileVersion.setFileEntryId(fileEntryId);
464            }
465    
466            /**
467            * Returns the extension of this document library file version.
468            *
469            * @return the extension of this document library file version
470            */
471            public java.lang.String getExtension() {
472                    return _dlFileVersion.getExtension();
473            }
474    
475            /**
476            * Sets the extension of this document library file version.
477            *
478            * @param extension the extension of this document library file version
479            */
480            public void setExtension(java.lang.String extension) {
481                    _dlFileVersion.setExtension(extension);
482            }
483    
484            /**
485            * Returns the mime type of this document library file version.
486            *
487            * @return the mime type of this document library file version
488            */
489            public java.lang.String getMimeType() {
490                    return _dlFileVersion.getMimeType();
491            }
492    
493            /**
494            * Sets the mime type of this document library file version.
495            *
496            * @param mimeType the mime type of this document library file version
497            */
498            public void setMimeType(java.lang.String mimeType) {
499                    _dlFileVersion.setMimeType(mimeType);
500            }
501    
502            /**
503            * Returns the title of this document library file version.
504            *
505            * @return the title of this document library file version
506            */
507            public java.lang.String getTitle() {
508                    return _dlFileVersion.getTitle();
509            }
510    
511            /**
512            * Sets the title of this document library file version.
513            *
514            * @param title the title of this document library file version
515            */
516            public void setTitle(java.lang.String title) {
517                    _dlFileVersion.setTitle(title);
518            }
519    
520            /**
521            * Returns the description of this document library file version.
522            *
523            * @return the description of this document library file version
524            */
525            public java.lang.String getDescription() {
526                    return _dlFileVersion.getDescription();
527            }
528    
529            /**
530            * Sets the description of this document library file version.
531            *
532            * @param description the description of this document library file version
533            */
534            public void setDescription(java.lang.String description) {
535                    _dlFileVersion.setDescription(description);
536            }
537    
538            /**
539            * Returns the change log of this document library file version.
540            *
541            * @return the change log of this document library file version
542            */
543            public java.lang.String getChangeLog() {
544                    return _dlFileVersion.getChangeLog();
545            }
546    
547            /**
548            * Sets the change log of this document library file version.
549            *
550            * @param changeLog the change log of this document library file version
551            */
552            public void setChangeLog(java.lang.String changeLog) {
553                    _dlFileVersion.setChangeLog(changeLog);
554            }
555    
556            /**
557            * Returns the extra settings of this document library file version.
558            *
559            * @return the extra settings of this document library file version
560            */
561            public java.lang.String getExtraSettings() {
562                    return _dlFileVersion.getExtraSettings();
563            }
564    
565            /**
566            * Sets the extra settings of this document library file version.
567            *
568            * @param extraSettings the extra settings of this document library file version
569            */
570            public void setExtraSettings(java.lang.String extraSettings) {
571                    _dlFileVersion.setExtraSettings(extraSettings);
572            }
573    
574            /**
575            * Returns the file entry type ID of this document library file version.
576            *
577            * @return the file entry type ID of this document library file version
578            */
579            public long getFileEntryTypeId() {
580                    return _dlFileVersion.getFileEntryTypeId();
581            }
582    
583            /**
584            * Sets the file entry type ID of this document library file version.
585            *
586            * @param fileEntryTypeId the file entry type ID of this document library file version
587            */
588            public void setFileEntryTypeId(long fileEntryTypeId) {
589                    _dlFileVersion.setFileEntryTypeId(fileEntryTypeId);
590            }
591    
592            /**
593            * Returns the version of this document library file version.
594            *
595            * @return the version of this document library file version
596            */
597            public java.lang.String getVersion() {
598                    return _dlFileVersion.getVersion();
599            }
600    
601            /**
602            * Sets the version of this document library file version.
603            *
604            * @param version the version of this document library file version
605            */
606            public void setVersion(java.lang.String version) {
607                    _dlFileVersion.setVersion(version);
608            }
609    
610            /**
611            * Returns the size of this document library file version.
612            *
613            * @return the size of this document library file version
614            */
615            public long getSize() {
616                    return _dlFileVersion.getSize();
617            }
618    
619            /**
620            * Sets the size of this document library file version.
621            *
622            * @param size the size of this document library file version
623            */
624            public void setSize(long size) {
625                    _dlFileVersion.setSize(size);
626            }
627    
628            /**
629            * Returns the checksum of this document library file version.
630            *
631            * @return the checksum of this document library file version
632            */
633            public java.lang.String getChecksum() {
634                    return _dlFileVersion.getChecksum();
635            }
636    
637            /**
638            * Sets the checksum of this document library file version.
639            *
640            * @param checksum the checksum of this document library file version
641            */
642            public void setChecksum(java.lang.String checksum) {
643                    _dlFileVersion.setChecksum(checksum);
644            }
645    
646            /**
647            * Returns the status of this document library file version.
648            *
649            * @return the status of this document library file version
650            */
651            public int getStatus() {
652                    return _dlFileVersion.getStatus();
653            }
654    
655            /**
656            * Sets the status of this document library file version.
657            *
658            * @param status the status of this document library file version
659            */
660            public void setStatus(int status) {
661                    _dlFileVersion.setStatus(status);
662            }
663    
664            /**
665            * Returns the status by user ID of this document library file version.
666            *
667            * @return the status by user ID of this document library file version
668            */
669            public long getStatusByUserId() {
670                    return _dlFileVersion.getStatusByUserId();
671            }
672    
673            /**
674            * Sets the status by user ID of this document library file version.
675            *
676            * @param statusByUserId the status by user ID of this document library file version
677            */
678            public void setStatusByUserId(long statusByUserId) {
679                    _dlFileVersion.setStatusByUserId(statusByUserId);
680            }
681    
682            /**
683            * Returns the status by user uuid of this document library file version.
684            *
685            * @return the status by user uuid of this document library file version
686            * @throws SystemException if a system exception occurred
687            */
688            public java.lang.String getStatusByUserUuid()
689                    throws com.liferay.portal.kernel.exception.SystemException {
690                    return _dlFileVersion.getStatusByUserUuid();
691            }
692    
693            /**
694            * Sets the status by user uuid of this document library file version.
695            *
696            * @param statusByUserUuid the status by user uuid of this document library file version
697            */
698            public void setStatusByUserUuid(java.lang.String statusByUserUuid) {
699                    _dlFileVersion.setStatusByUserUuid(statusByUserUuid);
700            }
701    
702            /**
703            * Returns the status by user name of this document library file version.
704            *
705            * @return the status by user name of this document library file version
706            */
707            public java.lang.String getStatusByUserName() {
708                    return _dlFileVersion.getStatusByUserName();
709            }
710    
711            /**
712            * Sets the status by user name of this document library file version.
713            *
714            * @param statusByUserName the status by user name of this document library file version
715            */
716            public void setStatusByUserName(java.lang.String statusByUserName) {
717                    _dlFileVersion.setStatusByUserName(statusByUserName);
718            }
719    
720            /**
721            * Returns the status date of this document library file version.
722            *
723            * @return the status date of this document library file version
724            */
725            public java.util.Date getStatusDate() {
726                    return _dlFileVersion.getStatusDate();
727            }
728    
729            /**
730            * Sets the status date of this document library file version.
731            *
732            * @param statusDate the status date of this document library file version
733            */
734            public void setStatusDate(java.util.Date statusDate) {
735                    _dlFileVersion.setStatusDate(statusDate);
736            }
737    
738            /**
739            * @deprecated Renamed to {@link #isApproved()}
740            */
741            public boolean getApproved() {
742                    return _dlFileVersion.getApproved();
743            }
744    
745            /**
746            * Returns <code>true</code> if this document library file version is approved.
747            *
748            * @return <code>true</code> if this document library file version is approved; <code>false</code> otherwise
749            */
750            public boolean isApproved() {
751                    return _dlFileVersion.isApproved();
752            }
753    
754            /**
755            * Returns <code>true</code> if this document library file version is denied.
756            *
757            * @return <code>true</code> if this document library file version is denied; <code>false</code> otherwise
758            */
759            public boolean isDenied() {
760                    return _dlFileVersion.isDenied();
761            }
762    
763            /**
764            * Returns <code>true</code> if this document library file version is a draft.
765            *
766            * @return <code>true</code> if this document library file version is a draft; <code>false</code> otherwise
767            */
768            public boolean isDraft() {
769                    return _dlFileVersion.isDraft();
770            }
771    
772            /**
773            * Returns <code>true</code> if this document library file version is expired.
774            *
775            * @return <code>true</code> if this document library file version is expired; <code>false</code> otherwise
776            */
777            public boolean isExpired() {
778                    return _dlFileVersion.isExpired();
779            }
780    
781            /**
782            * Returns <code>true</code> if this document library file version is inactive.
783            *
784            * @return <code>true</code> if this document library file version is inactive; <code>false</code> otherwise
785            */
786            public boolean isInactive() {
787                    return _dlFileVersion.isInactive();
788            }
789    
790            /**
791            * Returns <code>true</code> if this document library file version is incomplete.
792            *
793            * @return <code>true</code> if this document library file version is incomplete; <code>false</code> otherwise
794            */
795            public boolean isIncomplete() {
796                    return _dlFileVersion.isIncomplete();
797            }
798    
799            /**
800            * Returns <code>true</code> if this document library file version is in the Recycle Bin.
801            *
802            * @return <code>true</code> if this document library file version is in the Recycle Bin; <code>false</code> otherwise
803            */
804            public boolean isInTrash() {
805                    return _dlFileVersion.isInTrash();
806            }
807    
808            /**
809            * Returns <code>true</code> if this document library file version is pending.
810            *
811            * @return <code>true</code> if this document library file version is pending; <code>false</code> otherwise
812            */
813            public boolean isPending() {
814                    return _dlFileVersion.isPending();
815            }
816    
817            /**
818            * Returns <code>true</code> if this document library file version is scheduled.
819            *
820            * @return <code>true</code> if this document library file version is scheduled; <code>false</code> otherwise
821            */
822            public boolean isScheduled() {
823                    return _dlFileVersion.isScheduled();
824            }
825    
826            public boolean isNew() {
827                    return _dlFileVersion.isNew();
828            }
829    
830            public void setNew(boolean n) {
831                    _dlFileVersion.setNew(n);
832            }
833    
834            public boolean isCachedModel() {
835                    return _dlFileVersion.isCachedModel();
836            }
837    
838            public void setCachedModel(boolean cachedModel) {
839                    _dlFileVersion.setCachedModel(cachedModel);
840            }
841    
842            public boolean isEscapedModel() {
843                    return _dlFileVersion.isEscapedModel();
844            }
845    
846            public java.io.Serializable getPrimaryKeyObj() {
847                    return _dlFileVersion.getPrimaryKeyObj();
848            }
849    
850            public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
851                    _dlFileVersion.setPrimaryKeyObj(primaryKeyObj);
852            }
853    
854            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
855                    return _dlFileVersion.getExpandoBridge();
856            }
857    
858            public void setExpandoBridgeAttributes(
859                    com.liferay.portal.service.ServiceContext serviceContext) {
860                    _dlFileVersion.setExpandoBridgeAttributes(serviceContext);
861            }
862    
863            @Override
864            public java.lang.Object clone() {
865                    return new DLFileVersionWrapper((DLFileVersion)_dlFileVersion.clone());
866            }
867    
868            public int compareTo(
869                    com.liferay.portlet.documentlibrary.model.DLFileVersion dlFileVersion) {
870                    return _dlFileVersion.compareTo(dlFileVersion);
871            }
872    
873            @Override
874            public int hashCode() {
875                    return _dlFileVersion.hashCode();
876            }
877    
878            public com.liferay.portal.model.CacheModel<com.liferay.portlet.documentlibrary.model.DLFileVersion> toCacheModel() {
879                    return _dlFileVersion.toCacheModel();
880            }
881    
882            public com.liferay.portlet.documentlibrary.model.DLFileVersion toEscapedModel() {
883                    return new DLFileVersionWrapper(_dlFileVersion.toEscapedModel());
884            }
885    
886            @Override
887            public java.lang.String toString() {
888                    return _dlFileVersion.toString();
889            }
890    
891            public java.lang.String toXmlString() {
892                    return _dlFileVersion.toXmlString();
893            }
894    
895            public void persist()
896                    throws com.liferay.portal.kernel.exception.SystemException {
897                    _dlFileVersion.persist();
898            }
899    
900            public java.io.InputStream getContentStream(boolean incrementCounter)
901                    throws com.liferay.portal.kernel.exception.PortalException,
902                            com.liferay.portal.kernel.exception.SystemException {
903                    return _dlFileVersion.getContentStream(incrementCounter);
904            }
905    
906            public com.liferay.portal.kernel.util.UnicodeProperties getExtraSettingsProperties() {
907                    return _dlFileVersion.getExtraSettingsProperties();
908            }
909    
910            public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntry()
911                    throws com.liferay.portal.kernel.exception.PortalException,
912                            com.liferay.portal.kernel.exception.SystemException {
913                    return _dlFileVersion.getFileEntry();
914            }
915    
916            public com.liferay.portlet.documentlibrary.model.DLFolder getFolder() {
917                    return _dlFileVersion.getFolder();
918            }
919    
920            public java.lang.String getIcon() {
921                    return _dlFileVersion.getIcon();
922            }
923    
924            public com.liferay.portlet.documentlibrary.model.DLFolder getTrashFolder() {
925                    return _dlFileVersion.getTrashFolder();
926            }
927    
928            public boolean isInTrashFolder() {
929                    return _dlFileVersion.isInTrashFolder();
930            }
931    
932            public void setExtraSettingsProperties(
933                    com.liferay.portal.kernel.util.UnicodeProperties extraSettingsProperties) {
934                    _dlFileVersion.setExtraSettingsProperties(extraSettingsProperties);
935            }
936    
937            /**
938             * @deprecated Renamed to {@link #getWrappedModel}
939             */
940            public DLFileVersion getWrappedDLFileVersion() {
941                    return _dlFileVersion;
942            }
943    
944            public DLFileVersion getWrappedModel() {
945                    return _dlFileVersion;
946            }
947    
948            public void resetOriginalValues() {
949                    _dlFileVersion.resetOriginalValues();
950            }
951    
952            private DLFileVersion _dlFileVersion;
953    }