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